Difference between revisions of "Prepping the Grid for Chef"

From PHASTA Wiki
Jump to: navigation, search
Line 12: Line 12:
  
  
For more information, the linked [https://fluid.colorado.edu/tutorials/RajDemoPrepSolvePost.mov video] explains this process in detail.
+
For more information, the linked [https://fluid.colorado.edu/tutorials/tutorialVideos/RajDemoPrepSolvePost.mov video] explains this process in detail.

Revision as of 12:30, 11 June 2021

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 /projects/tutorials/OnRamp folder. Create soft links to your boundary conditions, mesh, and geometry 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. Now, run the convert script with the following command:

./simMeshToMdsMesh.sh

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 in the next step. If you are ready to get started using Chef, head over to Level 1 Partition.


For more information, the linked video explains this process in detail.