functionpartialGravityAcceleration

Interface for the gravity function used in the World object

Extends from Modelica.Icons.Function (Icon for functions).

Information

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.

Inputs

TypeNameDefaultDescription
SI.Position[3]rPosition vector from world frame to actual point, resolved in world frame

Outputs

TypeNameDefaultDescription
SI.Acceleration[3]gravityGravity acceleration at position r, resolved in world frame