mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
23 lines
483 B
Bash
Executable File
23 lines
483 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Get application directory
|
|
application=`getApplication`
|
|
|
|
runApplication blockMesh
|
|
|
|
#- Run serial
|
|
#runApplication $application
|
|
|
|
#- Run parallel
|
|
runApplication decomposePar -cellDist
|
|
runParallel $application 5
|
|
runApplication reconstructPar
|
|
|
|
runApplication postChannel
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|