forked from deepflameCFD/deepflame-dev
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
cd ${0%/*} || exit 1 # Run from this directory | ||
|
||
# Source tutorial run functions | ||
. $WM_PROJECT_DIR/bin/tools/RunFunctions | ||
|
||
application=dfHighSpeedFoam | ||
|
||
cp -r 0_orig/ 0/ | ||
runApplication blockMesh | ||
runApplication setFields | ||
runApplication decomposePar | ||
runApplication mpirun --oversubscribe -np 8 --allow-run-as-root $application -parallel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/sh | ||
cd ${0%/*} || exit 1 # Run from this directory | ||
|
||
if [ -e flare_CH4_SandiaD_4D.tbl] | ||
then | ||
echo "flare_CH4_SandiaD_4D.tbl exists. Make sure correct table has been used!" | ||
else | ||
echo "flare_CH4_SandiaD_4D.tbl not exist. Downloading ..." | ||
wget --content-disposition https://aisquare.oss-us-east-1.aliyuncs.com/data/datasets/14b50df5-dbe9-4f1c-bf58-032b8bc40a20 | ||
unzip flare_CH4_SandiaD_4D.zip | ||
fi | ||
|
||
|
||
# Source tutorial run functions | ||
. $WM_PROJECT_DIR/bin/tools/RunFunctions | ||
|
||
# Set application name | ||
application=$(getApplication) | ||
|
||
runApplication blockMesh | ||
|
||
runApplication decomposePar -force | ||
|
||
mpirun --oversubscribe -np 4 --allow-run-as-root dfLowMachFoam -parallel | ||
|
||
./postProcess | ||
|
||
|
||
|
||
#------------------------------------------------------------------------------ |