WOLFRAM SYSTEMMODELER

standardGravityAcceleration

Standard gravity fields (no/parallel/point field)

Wolfram Language

In[1]:=
SystemModel["Modelica.Mechanics.MultiBody.Forces.Internal.standardGravityAcceleration"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This function defines the standard gravity fields for the World object.

gravityType gravity [m/s2] description
Types.GravityType.NoGravity = {0,0,0} No gravity
Types.GravityType.UniformGravity = g Constant parallel gravity field
Types.GravityType.PointGravity = -(mue/(r*r))*r/|r| Point gravity field with spherical mass

Syntax

gravity = standardGravityAcceleration(r, gravityType, g, mue)

Inputs (4)

r

Type: Position[3] (m)

Description: Position vector from world frame to actual point, resolved in world frame

gravityType

Type: GravityTypes

Description: Type of gravity field

g

Type: Acceleration[3] (m/s²)

Description: Constant gravity acceleration, resolved in world frame, if gravityType=UniformGravity

mue

Type: Real (m³/s²)

Description: Field constant of point gravity field, if gravityType=PointGravity

Outputs (1)

gravity

Type: Acceleration[3] (m/s²)

Description: Gravity acceleration at position r, resolved in world frame

Extended by (1)

gravityAcceleration

Modelica.Mechanics.MultiBody.World

Function to compute the gravity acceleration, resolved in world frame