WOLFRAM SYSTEM MODELER
BallPlanarMechanics body with eqations for potential and kinetic energy calculations |
SystemModel["EducationExamples.Physics.NewtonsCradle.Components.Ball"]
Extension of the PlanarMechanics Body model. Contains equations for calculating the potential and kinetic energies of the bodies.
animate |
Value: true Type: Boolean Description: = true, if animation shall be enabled |
---|---|
stateSelect |
Value: StateSelect.default Type: StateSelect Description: Priority to use phi, w and a as states |
m |
Value: Type: Mass (kg) Description: Mass of the body |
I |
Value: Type: Inertia (kg⋅m²) Description: Inertia of the body with respect to the origin of frame_a along the z-axis of frame_a |
zPosition |
Value: planarWorld.defaultZPosition Type: Length (m) Description: Position z of the body |
sphereDiameter |
Value: planarWorld.defaultBodyDiameter Type: Diameter (m) Description: Diameter of sphere |
enableGravity |
Value: true Type: Boolean Description: = true, if gravity effects should be taken into account |
yoffset |
Value: 0.3 Type: Real Description: Height offset for potential energy calculation |
sphereColor |
Default Value: Types.Defaults.BodyColor Type: Color Description: Color of sphere |
---|---|
specularCoefficient |
Default Value: planarWorld.defaultSpecularCoefficient Type: SpecularCoefficient Description: Reflection of ambient light (= 0: light is completely absorbed) |
frame_a |
Type: Frame_a Description: Coordinate system (2-dim.) fixed to the component with one cut-force and cut-torque (blue icon) |
---|
planarWorld |
Type: PlanarWorld Description: planar world model |
|
---|---|---|
sphere |
Type: Shape Description: Visualizing an elementary object with variable size; all data have to be set as modifiers (see info layer) |
EducationExamples.Physics.NewtonsCradle Newton's cradle example setup using PlanarMechanics |