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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Position[3] | r | Position vector from world frame to actual point, resolved in world frame |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Acceleration[3] | gravity | Gravity acceleration at position r, resolved in world frame |