Skip to content
Snippets Groups Projects
Commit fc4e7db5 authored by Chris Greenshields's avatar Chris Greenshields
Browse files

compressibleInterFoam: updated tutorials with 0.org directory

parent 96392593
Branches
Tags
No related merge requests found
Showing
with 18 additions and 21 deletions
#!/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
#!/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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment