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 on
FLEX_BODY.)
Format
FXMODE
Extended Definition
Adams Solver (FORTRAN) evaluates each 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.
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.