Difference between revisions of "Convert"
(→Model Convert) |
|||
Line 23: | Line 23: | ||
== Model Convert == | == Model Convert == | ||
− | Convert takes in a <code>.xmt_txt</code> file and outputs a <code>.dmg</code> file. This file type simply stores information about model faces, edges, and vertices, and their relationships to each other. This is needed to classify mesh points. | + | Convert takes in a <code>.xmt_txt</code> or <code>.smd</code>file and outputs a <code>.dmg</code> file. This file type simply stores information about model faces, edges, and vertices, and their relationships to each other. This is needed to classify mesh points. |
<!--Model Convert is a part of Chef, and by default a simple version will be built in the process of building Chef. There are also standalone builds of the tool that are required to be built for unique geometries, for instance, for the Gust Wing project, a version of the tool for closed test section slices is available at <code>/projects/tools/SCOREC-core/build-14-190604dev_omp110/test/mdlConvert</code>. | <!--Model Convert is a part of Chef, and by default a simple version will be built in the process of building Chef. There are also standalone builds of the tool that are required to be built for unique geometries, for instance, for the Gust Wing project, a version of the tool for closed test section slices is available at <code>/projects/tools/SCOREC-core/build-14-190604dev_omp110/test/mdlConvert</code>. | ||
See MgenExtru_MGENClassificationAirfoilPt2 video--> | See MgenExtru_MGENClassificationAirfoilPt2 video--> |
Revision as of 15:17, 2 February 2023
Convert, often referred to simply as "Convert", is a tool used to convert Geometric model files into a file type usable with the preprocessing tools utilized in this group.
Overview
The main goal of Convert is to take a Symmetrix model and mesh and convert it to .cnn
and .crd
files, though there are also versions that will push the model to .dmg
format.
For all of the options below, also note that you should always use a version of convert built for the specific version of Simmodeler used to generate the mesh. This is most easily achieved by using up-to-date versions.
Convert
Convert takes in a .xmt_txt
, .xmt_txt
, and a .smd
file and outputs .cnn
, .crd
files, and a ./mdsMesh
directory. A specific implementation will look like:
mpirun -np 1 /projects/tools/SCOREC-core/buildTestMergeEWT/test/convert --model-face-root=4321 --native_model=geom.xmt_txt geom.smd geom.sms mdsMesh/
Where the root face is the face which holds the original meshing attributes in Simmodeler (extrusion meshing from within simmodeler would originate from this face).
Other Functionality
Note that Convert can intake multiple model regions if that is required for a geometry. This is available in the main bran and simply takes in more than one model root face arguments in a separate file. This file should have all of the root faces in a new-line delimited format, and the call to convert changes to:
mpirun -np 1 /projects/tools/SCOREC-core/buildTestMergeEWT/test/convert --model-face-root=ExtruRootID.txt --native_model=geom.xmt_txt geom.smd geom.sms mdsMesh/
Where ExtruRootID.txt
is the file containing the root face ID's.
Model Convert
Convert takes in a .xmt_txt
or .smd
file and outputs a .dmg
file. This file type simply stores information about model faces, edges, and vertices, and their relationships to each other. This is needed to classify mesh points.