Skip to content

Commit

Permalink
debug for test 9
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuLmq committed Aug 20, 2024
1 parent 9e3eba0 commit 5207f7c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/dfHighSpeedFoam/oneD_detonationH2/Allrun
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
30 changes: 30 additions & 0 deletions examples/dfLowMachFoam/fgm/twoD_SandiaD_flareFGM/Allrun
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



#------------------------------------------------------------------------------

0 comments on commit 5207f7c

Please sign in to comment.