TUT: split off an Allrun.pre for windAroundBuildings

This commit is contained in:
Mark Olesen
2018-12-10 21:05:27 +01:00
parent 27a705bb3f
commit e7400ef271
9 changed files with 17 additions and 8 deletions

View File

@ -2,7 +2,7 @@
cd ${0%/*} || exit 1 # Run from this directory cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions # Tutorial clean functions . $WM_PROJECT_DIR/bin/tools/CleanFunctions # Tutorial clean functions
cleanCase cleanCase0
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1 rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/triSurface/buildings.eMesh > /dev/null 2>&1 rm -f constant/triSurface/buildings.eMesh > /dev/null 2>&1

View File

@ -2,10 +2,9 @@
cd ${0%/*} || exit 1 # Run from this directory cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
runApplication surfaceFeatureExtract runApplication ./Allrun.pre
runApplication blockMesh restore0Dir
runApplication snappyHexMesh -overwrite
runApplication $(getApplication) runApplication $(getApplication)

View File

@ -2,13 +2,12 @@
cd ${0%/*} || exit 1 # Run from this directory cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
runApplication surfaceFeatureExtract runApplication ./Allrun.pre
runApplication blockMesh
runApplication snappyHexMesh -overwrite
runApplication decomposePar runApplication decomposePar
restore0Dir -processor
runParallel $(getApplication) runParallel $(getApplication)
runApplication reconstructPar runApplication reconstructPar

View File

@ -0,0 +1,11 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
runApplication surfaceFeatureExtract
runApplication blockMesh
runApplication snappyHexMesh -overwrite
#------------------------------------------------------------------------------