tutorials: Removed 0.orig directories in favor of <field>.orig

The new automated <field>.orig reading has made 0.orig directories and
associated scripting redundant.
This commit is contained in:
Henry Weller
2018-02-15 22:59:56 +00:00
parent 9221dd0d0f
commit 1d38ceb900
156 changed files with 2128 additions and 695 deletions

View File

@ -7,7 +7,6 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase
rm -rf constant/wallFilmRegion
rm -rf 0
rm -f *.obj
#------------------------------------------------------------------------------

View File

@ -8,3 +8,5 @@ cd ${0%/*} || exit 1 # Run from this directory
application=`getApplication`
runApplication $application
#------------------------------------------------------------------------------

View File

@ -1,7 +1,6 @@
#!/bin/sh
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cp -rf 0.orig 0
runApplication blockMesh
#runApplication setSet -batch wallFilmRegion.setSet
@ -11,3 +10,5 @@ runApplication extrudeToRegionMesh -overwrite
paraFoam -touch
paraFoam -touch -region wallFilmRegion
#------------------------------------------------------------------------------

View File

@ -7,7 +7,6 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanCase
rm -rf constant/wallFilmRegion
rm -rf 0
rm -f *.obj
#------------------------------------------------------------------------------

View File

@ -8,3 +8,5 @@ cd ${0%/*} || exit 1 # Run from this directory
application=`getApplication`
runApplication $application
#------------------------------------------------------------------------------

View File

@ -1,8 +1,6 @@
#!/bin/sh
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cp -rf 0.orig 0
runApplication blockMesh
#runApplication setSet -batch wallFilmRegion.setSet
@ -12,3 +10,5 @@ runApplication extrudeToRegionMesh -overwrite
paraFoam -touch
paraFoam -touch -region wallFilmRegion
#------------------------------------------------------------------------------

View File

@ -1,12 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove old time and post-processing directories
rm -rf 0 *[1-9]* processor* postProcessing
cleanCase
#------------------------------------------------------------------------------

View File

@ -4,17 +4,15 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# create mesh
# Create mesh
runApplication blockMesh
cp -r 0.orig 0
# initialise with potentialFoam solution
# Initialise with potentialFoam solution
runApplication potentialFoam
rm -f 0/phi
# run the solver
# Run the solver
runApplication `getApplication`
#------------------------------------------------------------------------------

View File

@ -1,12 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove old time and post-processing directories
rm -rf 0 *[1-9]* processor* postProcessing
cleanCase
#------------------------------------------------------------------------------

View File

@ -4,17 +4,15 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# create mesh
# Create mesh
runApplication blockMesh
cp -r 0.orig 0
# initialise with potentialFoam solution
# Initialise with potentialFoam solution
runApplication potentialFoam
rm -f 0/phi
# run the solver
# Run the solver
runApplication `getApplication`
#------------------------------------------------------------------------------