-
Notifications
You must be signed in to change notification settings - Fork 66
Geometric Models
Cameron Smith edited this page Apr 27, 2017
·
17 revisions
Use the mkmodel tool to generate a discrete (.dmg) model from a mesh:
$ module load pumi
$ mkmodel
Create a discrete geometric model from a mesh
Usage: mkmodel <mesh> <out model (.dmg)>
Note, the model created with this code has all mesh entities classified on the same geometric model region.
A .smd Simmetrix model file is created by either translating a Parasolid or ACIS model OR by creating a Simmetrix discrete (i.e. topological info + bounding box) model directly.
Note, a Simmetrix .smd file can also contain problem definition and mesh generation attributes; e.g. SimModeler saves 'models' this way.
The core tool simTranslate does the Parasolid/ACIS conversion:
$ simTranslate
Usage: simTranslate <acis .sat or parasolid .xmt_txt> <output .smd>
to translate a native model into a GeomSim model
or: simTranslate <acis .sat or parasolid .xmt_txt> <attribute .smd> <output .smd>
to do the above and combine it with attributes into one file
The mdlConvert tool can create a .dmg file from a Simmetrix model file.
$ mdlConvert
Convert simmetrix smd model to a gmi dmg model
Usage: mdlConvert <simmetrix smd model> <gmi dmg model>