OpenFOAM is predominantly written in Britain with British spelling conventions so -ise is preferred to -ize.
24 lines
446 B
Bash
Executable File
24 lines
446 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
application=$(getApplication)
|
|
|
|
./Allmesh
|
|
|
|
# Initialise alpha
|
|
runApplication setFields
|
|
|
|
# Decompose
|
|
runApplication decomposePar -force
|
|
|
|
# Run
|
|
runParallel $application
|
|
|
|
# Reconstruct
|
|
runApplication reconstructPar -noFunctionObjects
|
|
|
|
#------------------------------------------------------------------------------
|