mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
compressibleInterFoam: updated tutorials with 0.org directory
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
foamCleanTutorials cases
|
||||
rm -rf processor*
|
||||
rm -rf 0/p_rgh.gz 0/p.gz 0/alpha.water.gz 0/T*.gz
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
\rm -rf 0
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -4,15 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application name
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
cp 0/alpha.water.org 0/alpha.water
|
||||
cp 0/p_rgh.org 0/p_rgh
|
||||
cp 0/p.org 0/p
|
||||
cp 0/T.org 0/T
|
||||
cp -r 0.org 0
|
||||
runApplication setFields
|
||||
runApplication $application
|
||||
runApplication $(getApplication)
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -1,8 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
foamCleanTutorials cases
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
\rm -rf 0
|
||||
rm -rf processor*
|
||||
rm -rf 0/p_rgh 0/p 0/alpha.water 0/T 0/T.air 0/T.water
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -4,17 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application name
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
cp 0/alpha.water.org 0/alpha.water
|
||||
cp 0/p_rgh.org 0/p_rgh
|
||||
cp 0/p.org 0/p
|
||||
cp 0/T.org 0/T
|
||||
cp -r 0.org 0
|
||||
runApplication setFields
|
||||
runApplication decomposePar
|
||||
runParallel $application 4
|
||||
runParallel $(getApplication) 4
|
||||
runApplication reconstructPar
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
Reference in New Issue
Block a user