mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use standardized 0.orig/ for overset tutorials
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
@ -10,4 +8,4 @@ rm -f constant/polyMesh/zoneID
|
||||
|
||||
rm -rf 0
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
./Allrun.pre
|
||||
@ -6,8 +7,10 @@
|
||||
# Run it for a bit
|
||||
|
||||
# Serial
|
||||
#runApplication `getApplication`
|
||||
#runApplication $(getApplication)
|
||||
|
||||
# Parallel
|
||||
runApplication decomposePar -cellDist
|
||||
runParallel `getApplication`
|
||||
runParallel $(getApplication)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
runApplication blockMesh
|
||||
@ -11,7 +12,9 @@ runApplication subsetMesh box -patch hole -overwrite
|
||||
# Select cellSets
|
||||
runApplication -s zoneID topoSet
|
||||
|
||||
rm -rf 0 && cp -r 0.org 0
|
||||
restore0Dir
|
||||
|
||||
# Use cellSets to write zoneID
|
||||
runApplication setFields
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user