Utility classes used by elementary multi-body example models
This package contains utility models and functions used by some of the elementary example models from the multi-body package.
Extends from Modelica.Icons.UtilitiesPackage (Icon for utility packages).
Name | Description |
---|---|
theoreticalNormalGravityWGS84 | WGS84 normal gravity over earth ellipsoid in negative y-direction |
sineSurface | Function defining the characteristic of a moving sine in three dimensions |
WGS84 normal gravity over earth ellipsoid in negative y-direction
Function that computes the theoretical gravity of the WGS84 ellipsoid earth model at and close to the earth ellipsoid surface, for the given "geodeticLatitude" and the given "height=r[2]" over the ellipsoid surface.
Extends from Modelica.Mechanics.MultiBody.Interfaces.partialGravityAcceleration (Interface for the gravity function used in the World object).
Name | Description |
---|---|
r[3] | Position vector from world frame to actual point, resolved in world frame [m] |
phi | Geodetic latitude [deg] |
Name | Description |
---|---|
gravity[3] | Gravity acceleration at position r, resolved in world frame [m/s2] |
Function defining the characteristic of a moving sine in three dimensions
Function defining the characteristics of a moving sine in three dimensions. This function is used in example Elementary.Surfaces.
Extends from Modelica.Mechanics.MultiBody.Interfaces.partialSurfaceCharacteristic (Interface for a function returning surface characteristics).
Name | Description |
---|---|
nu | Number of points in u-Dimension |
nv | Number of points in v-Dimension |
multiColoredSurface | = true: Color is defined for each surface point |
x_min | Minimum value of x |
x_max | Maximum value of x |
y_min | Minimum value of y |
y_max | Maximum value of y |
z_min | Minimum value of z |
z_max | Maximum value of z |
wz | Factor for angular frequency |
Name | Description |
---|---|
X[nu, nv] | [nu,nv] positions of points in x-Direction resolved in surface frame [m] |
Y[nu, nv] | [nu,nv] positions of points in y-Direction resolved in surface frame [m] |
Z[nu, nv] | [nu,nv] positions of points in z-Direction resolved in surface frame [m] |
C[if multiColoredSurface then nu else 0, if multiColoredSurface then nv else 0, 3] | [nu,nv,3] Color array, defining the color for each surface point |