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