mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
21 lines
510 B
Bash
Executable File
21 lines
510 B
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
endTime=10
|
|
if notTest "$@"
|
|
then
|
|
endTime=85
|
|
fi
|
|
|
|
sed "s|END_TIME|$endTime|g" system/controlDict.template > system/controlDict
|
|
|
|
restore0Dir
|
|
|
|
runApplication blockMesh
|
|
|
|
rm -rf results
|
|
|
|
#------------------------------------------------------------------------------
|