Prepping the Grid for Chef

From PHASTA Wiki
Revision as of 10:31, 9 June 2021 by Conrad54418 (talk | contribs)
Jump to: navigation, search

Create a new folder called PrepAndRun in the OnRamp folder, and enter said folder. Create a new folder inside PrepAndRun called simMeshToMdsMesh, and enter that folder as well. Copy the file simMeshToMdsMesh.sh into this folder from the tutorials folder. Create soft links to your geometry, mesh, and boundary conditions by executing the following commands:

ln -s ../../translated-model.smd geom.smd
ln -s ../../<mesh name>.sms geom.sms
ln -s ../../<geometry name>.xmt_txt geom.xmt_txt

All three files must be called "geom" in this folder since that is what the convert script expects.


The linked video will take you through the process of converting your mesh (.sms file) and your model (.smd file) into a single file that Chef can read and work with. If done properly, you will output a subdirectory called mdsMesh_bz2/. In this directory, there should be a file called 0.smb, which is what Chef will use. If you are ready to get started using Chef, head over to Level 1 Partition.