Skip to content
Snippets Groups Projects
Commit 7eec9f0d authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: use standardized 0.orig/ for overset tutorials

parent 710f23aa
Branches
Tags
No related merge requests found
Showing
with 17 additions and 12 deletions
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions . $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase cleanCase
...@@ -10,4 +8,4 @@ rm -f constant/polyMesh/zoneID ...@@ -10,4 +8,4 @@ rm -f constant/polyMesh/zoneID
rm -rf 0 rm -rf 0
# ----------------------------------------------------------------- end-of-file #------------------------------------------------------------------------------
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication blockMesh runApplication blockMesh
...@@ -11,7 +12,9 @@ runApplication subsetMesh box -patch hole -overwrite ...@@ -11,7 +12,9 @@ runApplication subsetMesh box -patch hole -overwrite
# Select cellSets # Select cellSets
runApplication -s zoneID topoSet runApplication -s zoneID topoSet
rm -rf 0 && cp -r 0.org 0 restore0Dir
# Use cellSets to write zoneID # Use cellSets to write zoneID
runApplication setFields runApplication setFields
#------------------------------------------------------------------------------
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions . $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase cleanCase
...@@ -10,4 +8,4 @@ rm -f constant/polyMesh/zoneID ...@@ -10,4 +8,4 @@ rm -f constant/polyMesh/zoneID
rm -rf 0 rm -rf 0
# ----------------------------------------------------------------- end-of-file #------------------------------------------------------------------------------
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions
./Allrun.pre ./Allrun.pre
...@@ -6,8 +7,10 @@ ...@@ -6,8 +7,10 @@
# Run it for a bit # Run it for a bit
# Serial # Serial
#runApplication `getApplication` #runApplication $(getApplication)
# Parallel # Parallel
runApplication decomposePar -cellDist runApplication decomposePar -cellDist
runParallel `getApplication` runParallel $(getApplication)
#------------------------------------------------------------------------------
#!/bin/sh #!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication blockMesh runApplication blockMesh
...@@ -11,7 +12,9 @@ runApplication subsetMesh box -patch hole -overwrite ...@@ -11,7 +12,9 @@ runApplication subsetMesh box -patch hole -overwrite
# Select cellSets # Select cellSets
runApplication -s zoneID topoSet runApplication -s zoneID topoSet
rm -rf 0 && cp -r 0.org 0 restore0Dir
# Use cellSets to write zoneID # Use cellSets to write zoneID
runApplication setFields runApplication setFields
#------------------------------------------------------------------------------
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