foamDictionary executions are now wrapped by runApplication like any other execution so that they do not print during a test loop. foamDictionary does not produce a conforming log, however, so log.foamDictionary has been filtered out of the formation of the test loop report so that false failures are not reported.
27 lines
807 B
Bash
Executable File
27 lines
807 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`
|
|
|
|
runApplication blockMesh
|
|
runApplication extrudeMesh
|
|
runApplication decomposePar
|
|
|
|
runParallel $application
|
|
|
|
if ! isTest $@
|
|
then
|
|
runApplication -a foamDictionary system/controlDict -entry endTime -set 4
|
|
runApplication -a foamDictionary system/controlDict -entry startTime -set 0.5
|
|
runParallel -a foamDictionary 0.5/T.liquid -entry boundaryField.wall.q -set "uniform 73900"
|
|
runParallel -a foamDictionary 0.5/U.liquid -entry boundaryField.inlet.type -set "fixedValue"
|
|
runParallel -a $application
|
|
fi
|
|
|
|
runApplication -a reconstructPar -latestTime
|
|
|
|
#------------------------------------------------------------------------------
|