Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities

Utility models and functions used by MultiBody.Examples.Elementary

Information

This package contains utility functions used by some of the example models.

Extends from Modelica.Icons.UtilitiesPackage (Icon for utility packages).

Package Content

Name Description
Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities.theoreticalNormalGravityWGS84 theoreticalNormalGravityWGS84 WGS84 normal gravity over earth ellipsoid in negative y-direction
Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities.sineSurface sineSurface Function defining the characteristic of a moving sine in three dimensions

Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities.theoreticalNormalGravityWGS84 Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities.theoreticalNormalGravityWGS84

WGS84 normal gravity over earth ellipsoid in negative y-direction

Information

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.

Inputs

NameDescription
r[3]Position vector from world frame to actual point, resolved in world frame [m]
phiGeodetic latitude [deg]

Outputs

NameDescription
gravity[3]Gravity acceleration at position r, resolved in world frame [m/s2]

Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities.sineSurface Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities.sineSurface

Function defining the characteristic of a moving sine in three dimensions

Information

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.

Inputs

NameDescription
nuNumber of points in u-Dimension
nvNumber of points in v-Dimension
multiColoredSurface= true: Color is defined for each surface point
x_minMinimum value of x
x_maxMaximum value of x
y_minMinimum value of y
y_maxMaximum value of y
z_minMinimum value of z
z_maxMaximum value of z
wzFactor for angular frequency

Outputs

NameDescription
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
Automatically generated Tue Apr 05 09:36:38 2016.