mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: consistency in Allclean Allrun scripts
This commit is contained in:
@ -13,7 +13,8 @@ runApplication blockMesh
|
||||
mkdir 0
|
||||
|
||||
# Refine over Z, in 6 passes
|
||||
for index in 1 2 3 4 5 6; do
|
||||
for index in 1 2 3 4 5 6
|
||||
do
|
||||
|
||||
runApplication -s tier$index calcRadiusField
|
||||
|
||||
@ -30,7 +31,8 @@ for index in 1 2 3 4 5 6; do
|
||||
done
|
||||
|
||||
# Refine over cylindrical coordinates, in 3 passes
|
||||
for index in 1 2 3; do
|
||||
for index in 1 2 3
|
||||
do
|
||||
|
||||
runApplication -s range$index calcRadiusField -calcDirections
|
||||
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application="$(getApplication)"
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication snappyHexMesh
|
||||
|
||||
Reference in New Issue
Block a user