Difference between revisions of "Convert"

From PHASTA Wiki
Jump to: navigation, search
(Created page with "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....")
 
Line 7: Line 7:
  
 
== Basic Usage ==
 
== Basic Usage ==
Convert takes in a <code>.xmt_txt</code>, <code>.xmt_txt</code>, and a <code>.xmt_txt</code> file and outputs <code>.cnn</code>, </code>.crd</code> files, and a <code./mdsMesh</code> directory. A specific implementation will look like:
+
Convert takes in a <code>.xmt_txt</code>, <code>.xmt_txt</code>, and a <code>.smd</code> file and outputs <code>.cnn</code>, <code>.crd</code> files, and a <code>./mdsMesh</code> directory. A specific implementation will look like:
  
 
<code> mpirun -np 1 /projects/tools/SCOREC-core/build16_Opt/test/convert --model-face-root=4321 --native_model=geom.xmt_txt geom.smd geom.sms mdsMesh/</code>
 
<code> mpirun -np 1 /projects/tools/SCOREC-core/build16_Opt/test/convert --model-face-root=4321 --native_model=geom.xmt_txt geom.smd geom.sms mdsMesh/</code>
  
 
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).
 
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).
 +
 +
Note that there is a second version of convert which can intake multiple model regions if that is required for a geometry. This is available at <code>/projects/tools/SCOREC-core/build16_Opt/test/convert</code> and simply takes in more than one (space delimited) model root face arguments.
 +
  
 
== 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 when generating a mesh with.
+
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.
  
 
<!--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 12:33, 4 January 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.

Basic Overview

The main goal of Convert is to take a Symmetrix model and mesh and convert it to .cnn and </code>.crd</code> files for use with </code>.crd</code>.


Basic Usage

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/build16_Opt/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).

Note that there is a second version of convert which can intake multiple model regions if that is required for a geometry. This is available at /projects/tools/SCOREC-core/build16_Opt/test/convert and simply takes in more than one (space delimited) model root face arguments.


Model Convert

Convert takes in a .xmt_txt 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.