*SetFlexbodyContactPrediction()
Sets the contact prediction option for a flexbody.
Syntax
*SetFlexbodyContactPrediction( b_small_gear, generate_loadsets, loadsets_file, max_loadsets )
Arguments
- generate_loadsets
- Flag to generate contact loadsets. Valid options are true/false.
- loadsets_file
- Filename for the loadset that would be written by MotionSolve.
- max_loadsets
- Maximum number of loadsets that needs to be generated. Default is 0 (MotionSolve will automatically determine an optimal number of loadsets for the flexbody).
Example
*Body( b_small_gear, "Small Gear" )
*SetFlexbodyComplianceState(b_small_gear, DEFORMABLE)
*SetFlexbodyContactPrediction( b_small_gear, true, "test.lpf", 10)
Context
Comments
This statement is used to create a loadset file containing contact loads on a flexbody that is in contact with another body. The generated loadset file can be used in Flexprep to improve the mode shape information.