Difference between revisions of "Solve"
(→Exporting to PHASTA) |
|||
Line 1: | Line 1: | ||
− | + | === Exporting to PHASTA === | |
After the partitioning performed via Chef in the last steps, we have the problem domain in a form that the PHASTA executable can read. Make a directory named "Run". This will contain all of the simulation data from this case. Remember that for this onRamp tutorial we have partitioned our case of interest to 8 parts. Therefore we will also create a subdirectory named "8-procs-case". In this subdirectory make softlinks to the N=8 restart and geombc and restart "checkpoint" files that where constructed. When in this subdirectory a good command to do this is the following : | After the partitioning performed via Chef in the last steps, we have the problem domain in a form that the PHASTA executable can read. Make a directory named "Run". This will contain all of the simulation data from this case. Remember that for this onRamp tutorial we have partitioned our case of interest to 8 parts. Therefore we will also create a subdirectory named "8-procs-case". In this subdirectory make softlinks to the N=8 restart and geombc and restart "checkpoint" files that where constructed. When in this subdirectory a good command to do this is the following : | ||
ln -s ../../Chef/8-1-Chef/8-procs-case/restart* . | ln -s ../../Chef/8-1-Chef/8-procs-case/restart* . | ||
Line 5: | Line 5: | ||
Also create a numstart.dat file. This file will specify the time and timestep that the simulation has completed to. Use the following command in the "Run/8-procs_case" directory : | Also create a numstart.dat file. This file will specify the time and timestep that the simulation has completed to. Use the following command in the "Run/8-procs_case" directory : | ||
echo 0 0>numstart.dat | echo 0 0>numstart.dat | ||
− | + | === Build the executable === | |
− | + | === Running the Solver === |
Revision as of 19:56, 14 September 2020
Exporting to PHASTA
After the partitioning performed via Chef in the last steps, we have the problem domain in a form that the PHASTA executable can read. Make a directory named "Run". This will contain all of the simulation data from this case. Remember that for this onRamp tutorial we have partitioned our case of interest to 8 parts. Therefore we will also create a subdirectory named "8-procs-case". In this subdirectory make softlinks to the N=8 restart and geombc and restart "checkpoint" files that where constructed. When in this subdirectory a good command to do this is the following :
ln -s ../../Chef/8-1-Chef/8-procs-case/restart* . ln -s ../../Chef/8-1-Chef/8-procs_case/geombc* .
Also create a numstart.dat file. This file will specify the time and timestep that the simulation has completed to. Use the following command in the "Run/8-procs_case" directory :
echo 0 0>numstart.dat