flexprep
Creates and translates flexbody H3D files.
Creates flexbody H3D files using OptiStruct.
Creates flexbody H3D file from ADAMS MNF and Nastran PCH.
Translates flexbody H3D file to ADAMS MTX, Altair H3D (mirrored), ADAMS MNF, DADS FDF, and nCode FES.
Syntax
flexprep <source>.<bdf|nas|dat|fem|blk> <target>.h3d <mode_type_option> <+interface_node_list> [upper_freq [HZ]] [-<units>] [-<stress>] -ospath:<DEFAULT|directory>
flexprep <source>.pch <target>.h3d [-<units>]
flexprep <source>.mnf <target>.h3d [invar_option] [-<NO_UNIT_CONV>]
flexprep <source>.h3d <target>.h3d [-<mirror option>]
flexprep <source>.h3d <target>.mtx [invar_option] [+node_list] [+mode_list] [-<units>] [-<mirror option>]
flexprep <source>.h3d <target>.mnfflexprep <source>.h3d <target>.fdf [+mode_list] [-<units>]
flexprep <source>.h3d <target>.<fes|asc>
Options
- <mode_type_option>
- Specifies the method of computing mode types. Available options are:
- ‘CB’ (Craig-Bampton)
- ‘CC’ (CRAIG_CHANG)
- ‘FR’ (FREQUENCY- RESPONSE)
- ‘FF’ (FREE-FREE).
‘CBX’ (Craig-Bampton) is used when all the OptiStruct data has been generated in the same directory and needs to be processed and put together into an H3D file.
- <+interface_node_list>
- The set of interface nodes. Use the ‘+’ symbol to combine different interface nodes or use ‘:’ to denote a range.
- [upper_freq [HZ]]
- When Hz is specified, denotes the upper frequency. Otherwise, it specifies the number of eigen modes.
- [-<units>]
- Specifies the units of the original Nastran model. See the Unit Options below.
- [-<stress>]
- If specified, stress information is generated by OptiStruct.
- -ospath:<DEFAULT|directory>
- Specifies the location of OptiStruct. If DEFAULT is specified, the current installation of OptiStruct will be used.
- [-<units>]
- Specifies the units of the original Nastran punch file. See the Unit Options below.
- [invar_option]
- List of invariant options that should be moved/generated from the MNF file to the H3D file. This argument is specified with a total of nine true and false.
- [-<NO_UNIT_CONV>]
- If specified, keeps the MNF model’s units. Do not convert to H3D units.
- [-<mirror_option>]
- Specifies the plane about which to mirror the H3D model. Available options are:
- MIRROR_XY
- MIRROR_XZ
- MIRROR_YZ
- [invar_option]
- List of invariant options that should be moved/generated from the H3D file to the MTX file. This argument is specified with a total of nine true and false.
- [+node_list]
- The set of interface nodes. Use the ‘+’ symbol to combine different interface nodes or use ‘:’ to denote a range.
- [+mode_list]
- The list of modes to include in the MTX file. Use the ‘+’ symbol to combine different interface nodes or use ‘:’ to denote a range.
- [-<units>]
- Specifies units for the MBD solver. See Unit Options below.
- [-<mirror_option>]
- Specifies the plane about which to mirror the H3D model about. Available options
are:
- MIRROR_XY
- MIRROR_XZ
- MIRROR_YZ
- [-<units>]
- Specifies the units of the original H3D model. See Unit Options below.
Unit Options
- Mass unit
- GRAM, KILOGRAM, MEGAGRAM, POUND_MASS, SLUG, OUNCE_MASS, KPOUND_MASS
- Length unit
- INCH, FOOT, MILE, MILLIMETER, CENTIMETER, METER, KILOMETER
- Force unit
- OUNCE_FORCE, POUND_FORCE, KPOUND_FORCE, DYNE, NEWTON, KILOGRAM_FORCE, KNEWTON
- Time unit
- MILLISECOND, SECOND, MINUTE, HOUR
Example
flexprep xxx.pch yyy_flex.h3d -METER -KILOGRAM_FORCE
flexprep xxx.mnf yyy_flex.h3d
flexprep xxx_flex.h3d yyy.mtx TTTTTTTTF +1+1001 +7:9+11:15 -METER
flexprep xxx_flex.h3d yyy.mtx TTTTTTTTF +INTERFACE_NODES +ALL -METER -MIRROR_XZ
flexprep xxx_flex.h3d yyy_flex.h3d -MIRROR_XZ
flexprep xxx_flex.h3d yyy.mtx TTTTTTTTF +I+6:8+10 +ALL -METER
flexprep xxx.blk yyy_flex.h3d CB +1+1001 10 -STRESS
flexprep xxx.blk yyy_flex.h3d CB +1+1001 1000.0 HZ
flexprep xxx.blk yyy_flex.h3d CBX +1+1001 1000.0 HZ
flexprep xxx.blk dummy.h3d CB +1+1001 1000.0 HZ -FEMONLY -PURGE
flexprep xxx.blk yyy_flex.h3d CB +1+1001 1000.0 HZ -EIG:zzz_eig.fem
flexprep xxx.blk yyy_flex.h3d FF +1+1001 1000.0 HZ -STRESS
flexprep xxx.blk yyy_flex.h3d FR +1+1001 10
Comments
flexprep checks the file extensions on the specified source and target files to determine the appropriate translation.