These cases now check for a mesh in geometrically identical cases and copy rather than re-generate if possible. This reduces the run-time of the test loop by about 20 minutes.
20 lines
415 B
Bash
Executable File
20 lines
415 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Mesh if necessary
|
|
if ! cloneMesh ../../../incompressible/pimpleFoam/RAS/propeller .
|
|
then
|
|
./Allmesh
|
|
fi
|
|
|
|
runApplication decomposePar
|
|
|
|
runParallel $(getApplication)
|
|
|
|
runApplication reconstructPar
|
|
|
|
#------------------------------------------------------------------------------
|