WOLFRAM SYSTEM MODELER
PointGravityWithPointMasses2Rigidly connected point masses in a point gravity field |
SystemModel["Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This model demonstrates the usage of model Parts.PointMass in a point gravity field. 6 point masses are connected rigidly together. Translating such a model results in an error, because point masses do not define an orientation object. The example demonstrates that in such a case (when the orientation object is not defined by an object that is connected to a point mass), a "MultiBody.Joints.FreeMotion" joint has to be used, to define the degrees of freedom of this structure.
In order to demonstrate that this approach is correct, in model "referenceSystem", the same system is again provided, but this time modeled with a generic body (Parts.Body) where the inertia tensor is set to zero. In this case, no FreeMotion object is needed because every body provides its absolute translational and rotational position and velocity as potential states.
The two systems should move exactly in the same way. The system with the PointMasses object visualizes the point masses in "red", whereas the "referenceSystem" shows its bodies in "blue".
pointMass1 |
Type: PointMass Description: Point mass used at all places of this example |
|
---|---|---|
pointMass2 |
Type: PointMass Description: Point mass used at all places of this example |
|
pointMass3 |
Type: PointMass Description: Point mass used at all places of this example |
|
pointMass4 |
Type: PointMass Description: Point mass used at all places of this example |
|
pointMass5 |
Type: PointMass Description: Point mass used at all places of this example |
|
pointMass6 |
Type: PointMass Description: Point mass used at all places of this example |
|
fixedTranslation |
Type: FixedTranslation Description: Fixed translation of frame_b with respect to frame_a |
|
fixedTranslation1 |
Type: FixedTranslation Description: Fixed translation of frame_b with respect to frame_a |
|
fixedTranslation2 |
Type: FixedTranslation Description: Fixed translation of frame_b with respect to frame_a |
|
fixedTranslation3 |
Type: FixedTranslation Description: Fixed translation of frame_b with respect to frame_a |
|
fixedTranslation4 |
Type: FixedTranslation Description: Fixed translation of frame_b with respect to frame_a |
|
fixedTranslation5 |
Type: FixedTranslation Description: Fixed translation of frame_b with respect to frame_a |
|
world |
Type: World Description: World coordinate system + gravity field + default animation definition |
|
freeMotion |
Type: FreeMotion Description: Free motion joint (6 degrees-of-freedom, 12 potential states) |
|
referenceSystem |
Type: SystemWithStandardBodies Description: For comparison purposes, an equivalent model with Bodies instead of PointMasses |