mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
23 lines
559 B
Bash
Executable File
23 lines
559 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
./Allrun.pre
|
|
|
|
# Set application name
|
|
application=$(getApplication)
|
|
|
|
# decompose
|
|
runApplication -s cabin decomposePar -region cabin
|
|
runApplication -s ice decomposePar -region ice
|
|
runApplication -s exterior decomposePar -region exterior
|
|
|
|
runParallel $application
|
|
|
|
runApplication -s cabin reconstructPar -region cabin
|
|
runApplication -s ice reconstructPar -region ice
|
|
runApplication -s exterior reconstructPar -region exterior
|
|
|