FXMODE

The FXMODE function returns the mode number of the current mode of the current FLEX_BODY when used in function expressions defining the CRATIO argument of a FLEX_BODY. FXMODE returns zero when used in other expressions. Learn more about FLEX_BODY.

Format

FXMODE

Extended Definition

Adams Solver (C++) evaluates the function expression used to define CRATIO of a FLEX_BODY separately for each active mode of the FLEX_BODY (each mode has a CRATIO value). FXMODE returns the mode number of the mode for which CRATIO is being evaluated.
The FXMODE function returns the mode number as found in the corresponding *.mtx file. For example, if the *.mtx file has this data:
SELMOD FULL RORDER 4 2 8 ( 1I8, 1E14.6 )
2 1.591549E+00
3 2.756644E+00
7 3.856574E+00
8 2.561644E+01
then FXMODE will return the values 2, 3, 7 and 8. It does not return 1, 2, 3 nor 4.

Examples

FLEX_BODY/1
, CRATIO = STEP(TIME, 0.1, 1.0, 1.2, STEP(FXMODE, 5.0, 0.02, 10, 0.2))
This example specifies modal damping that varies both with time and mode number, such that all modes have 100% critical damping until time = 0.1, after which:
Modal damping decreases smoothly to between 2% and 20% of modal damping at time = 1.2.
Mode numbers 1 through 5 reach 2% modal damping.
Mode numbers 6 through 9 reach modal damping values smoothly distributed between 2% and 20%.
Mode numbers 10 and up reach 20% modal damping.
See other Flexible body constants available.