mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: adjust tutorial Allrun scripts (issue #310)
- A few without a 'cd' at the start. Use $(getApplication) directly in more places (for clarity).
This commit is contained in:
@ -6,17 +6,17 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
# Set application name
|
||||
application=$(getApplication)
|
||||
|
||||
# decompose
|
||||
# Decompose
|
||||
runApplication -s cabin decomposePar -region cabin
|
||||
runApplication -s ice decomposePar -region ice
|
||||
runApplication -s exterior decomposePar -region exterior
|
||||
|
||||
runParallel $application
|
||||
runParallel $(getApplication)
|
||||
|
||||
# Reconstruct
|
||||
runApplication -s cabin reconstructPar -region cabin
|
||||
runApplication -s ice reconstructPar -region ice
|
||||
runApplication -s exterior reconstructPar -region exterior
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user