.Modelica.Mechanics.MultiBody.Forces.Internal.standardGravityAcceleration

Information

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

Interface

function standardGravityAcceleration
  extends Modelica.Icons.Function;
  extends Modelica.Mechanics.MultiBody.Interfaces.partialGravityAcceleration;
  import Modelica.Mechanics.MultiBody.Types.GravityTypes;
  input GravityTypes gravityType "Type of gravity field" annotation(
    Dialog);
  input Modelica.SIunits.Acceleration g[3] "Constant gravity acceleration, resolved in world frame, if gravityType=UniformGravity" annotation(
    Dialog);
  input Real mue(unit = "m3/s2") "Field constant of point gravity field, if gravityType=PointGravity" annotation(
    Dialog);
end standardGravityAcceleration;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39