mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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:
@ -7,7 +7,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
cleanCase
|
||||
|
||||
rm -rf constant/wallFilmRegion
|
||||
rm -rf 0
|
||||
rm -f *.obj
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -8,3 +8,5 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
application=`getApplication`
|
||||
|
||||
runApplication $application
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -7,7 +7,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
cleanCase
|
||||
|
||||
rm -rf constant/wallFilmRegion
|
||||
rm -rf 0
|
||||
rm -f *.obj
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -8,3 +8,5 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
application=`getApplication`
|
||||
|
||||
runApplication $application
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -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`
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -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`
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user