Configuring Adams > Applying Advanced Settings > Adams Flex Environment Variables

Adams Flex Environment Variables

The following are Adams Flex environment variables:
 
Variable name:
Variable value:
What it does:
MDI_FLEX_BODY_TESTING_OPTIONS
gamma: Scale factor; useful range is 0 to 1.0
max: When step size changes, cratio changes by max 1%
cratio: Initial value of cratio across all modes
debug: Only applicable when using Adams Solver (C++)
The variable for auto_damping overrides the traditional flex-body default damping.
Variable: MDI_FLEX_BODY_TESTING_OPTIONS
Value: auto_damping(gamma, max_increase, cratio_initial) debug
Linux example:

setenv MDI_FLEX_BODY_TESTING_OPTIONS "auto_damping(1.0, 0.01, 1.0)"
MSC_FLEXBODY_MASS_SCALING
id: id of a flexbody

f_cutoff: "cutoff" frequency

f_delta: frequency increment
All other frequencies above the "cutoff" frequency will be equally spaced using "delta". Speed improvements can range from 5% to 30%.

MSC_FLEXBODY_MASS_SCALING=

Id, f_cutoff, f_delta, id, f_cutoff, f_delta,...
MNF_MAX_MODE_MEMORY
Integer
The MNF_MAX_MODE_MEMORY setting specifies how much memory *each* MNF can use to keep the modes in memory during a flex body simulation with contact. You should set the value based on the "biggest" MNF you're using (that is, whichever one has the highest mode x node) and all of the "smaller" MNFs will be fine. The default value is 3000MB. The value should be a number specifying the amount of memory in MB (Mega Bytes). For example, MNF_MAX_MODE_MEMORY=4000, indicating 4000 MBytes. Again, it should be a number, 4000 is good and 4000MB is not.
A formula to use to help set this environment variable is: NxMx48/100000 where N is the number of nodes and M is the number of modes of the largest flex body in contact.
MSC_MNF_ADVCOARSEN_SKIP_THRESH
Integer
The variable for the threshold of advanced mesh coarsening in MNF toolkit and it indicates number of nodes. This function divides the input MNF into several regions internally for effective coarsening and they are called “Parts”. If the size of a Part is less than this threshold, then the coarsening process for the Part is skipped which can speed up the coarsening process.
Default is 5000
MSC_MNF_ADVCOARSEN_SPLIT_THRESH
Integer
The variable for the threshold of advanced mesh coarsening in MNF toolkit and it indicates number of nodes. This function divides the input MNF to several regions internally for effective coarsening and they are called “Parts”. If the size of a Part is greater than this threshold, then the Part is split further and the Part size is to be reduced. It’s effective for the coarsening speed and reduce memory usage. If memory error is occurred, then smaller value is recommended but the coarsening result might be worse.
Default is 150000