partialGravityAccelerationInterface for the gravity function used in the World object |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This partial function defines the interface to the gravity function used in the World object. All gravity field functions must inherit from this function. The input to the function is the absolute position vector of a point in the gravity field, whereas the output is the gravity acceleration at this point, resolved in the world frame.
r |
Type: Position[3] (m) Description: Position vector from world frame to actual point, resolved in world frame |
---|
gravity |
Type: Acceleration[3] (m/s²) Description: Gravity acceleration at position r, resolved in world frame |
---|
Modelica.Mechanics.MultiBody.Forces.Internal Standard gravity fields (no/parallel/point field) |
|
Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities WGS84 normal gravity over earth ellipsoid in negative y-direction |