Supported MSC.ADAMS Functions

Your Ad Here


COSMOSMotion supports many MSC.ADAMS functions and expression functions. You can enter these functions in the expression text boxes of the motion or force property panels. You can use these expression functions to define a wide variety of non-standard phenomena in your model.

COSMOSMotion: supports the following functions:

The examples in the links shown next may not apply to COSMOSMotion.

FORTRAN 77 Functions

Function name:

Summary definition:

ABS

Absolute value of (a)

ACOS

Arc cosine of (a)

AINT

Nearest integer whose magnitude is not larger than (a)

ANINT

Nearest whole number to (a)

ASIN

Arc sine of (a)

ATAN

Arc tangent of (a)

ATAN2

Arc tangent of (a1, a2)

COS

Cosine of (a)

COSH

Hyperbolic cosine of (a)

DIM

Positive difference of a1 and a2

EXP

e raised to the power of (a)

LOG

Natural logarithm of (a)

LOG10

Log to base 10 of (a)

MAX

Maximum of a1 and a2

MIN

Minimum of a1 and a2

MOD

Remainder when a1 is divided by a2

SIGN

Transfer sign of a2 to magnitude of a1

SIN

Sine of (a)

SINH

Hyperbolic sine of (a)

SQRT

Square root of a1

TAN

Tangent of (a)

TANH

Hyperbolic tangent of (a)

Simulation Constants and Variables

Function name:

Summary definition:

DTOR

Degrees to radians conversion factor

PI

Ratio of circumference to diameter of a circle

RTOD

Radians to degrees conversion factor

TIME

Current simulation time

IF

Defines a function expression

General Functions

Function name:

Summary definition:

AKISPL

Returns the iord derivative of the interpolated value of SPLINE/id at X=x and Z=z

BISTOP

Models a gap element

CHEBY

Evaluates a Chebyshev polynomial

CUBSPL

Returns the interpolated value of SPLINE/id at
X=x and Z=z or returns the iord derivative at the interpolated value of SPLINE/id at X=x, Z=0

FORCOS

Evaluates a Fourier Cosine series

FORSIN

Evaluates a Fourier Sine series

IMPACT

Models collisions

MOTION

Returns component comp of a force due to MOTION/id as calculated in the coordinate system of marker rm

POLY

Evaluates a standard polynomial at a user specified value x

SHF

Evaluates a simple harmonic function

STEP

Approximates the Heaviside step function with a cubic polynomial

STEP5

Approximates the Heaviside step function with a quintic polynomial

Result-Dependent Functions

Function name:

Summary definition:

Displacement

AX

Rotational displacement about x-axis

AY

Rotational displacement about y-axis

AZ

Rotational displacement about z-axis

DM

Magnitude of linear displacement

DX

Translational displacement in  x-axis

DY

Translational displacement in  y-axis

DZ

Translational displacement in  z-axis

PHI

Third Euler rotation angle

PITCH

Second angle of yaw-pitch-roll rotation

PSI

First Euler rotation angle

ROLL

Third angle of yaw-pitch-roll rotation

THETA

Second Euler rotation angle

YAW

First angle of yaw-pitch-roll rotation

Velocity

VM

Magnitude of translational velocity

VR

Relative velocity

VX

Translational velocity in x-axis

VY

Translational velocity in y-axis

VZ

Translational velocity in z-axis

WM

Magnitude of angular velocity

WX

Angular velocity about x-axis

WY

Angular velocity about y-axis

WZ

Angular velocity about z-axis

Acceleration

ACCM

Magnitude of translational acceleration

ACCX

Translational acceleration in x-axis direction

ACCY

Translational acceleration in y-axis direction

ACCZ

Translational acceleration in z-axis direction

WDTM

Magnitude of angular acceleration

WDTX

Angular acceleration about the x-axis

WDTY

Angular acceleration about the y-axis

WDTZ

Angular acceleration about the z-axis

Force

FM

Magnitude of linear force

FX

Linear force in x-axis direction

FY

Linear force in y-axis direction

FZ

Linear force in z-axis direction

TM

Magnitude of Torque

TX

Torque about x-axis

TY

Torque about y-axis

TZ

Torque about z-axis

Your Ad Here