runApplication isn't needed for foamDictionary as it doesn't log anything of consequence. Using runApplication leads to false unconfirmed completion warnings in the test loop as foamDictionary does not generate an end statement.
25 lines
583 B
Bash
Executable File
25 lines
583 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
./Allmesh
|
|
|
|
runApplication foamSetupCHT
|
|
|
|
foamDictionary -disableFunctionEntries \
|
|
-entry internalField -set "uniform 348" 0/solid/T
|
|
|
|
runApplication decomposePar -allRegions -dict system/decomposeParDict
|
|
|
|
printf "\n%s\n" "Creating files for paraview post-processing"
|
|
paraFoam -touchAll
|
|
echo
|
|
|
|
runParallel $(getApplication)
|
|
|
|
runApplication reconstructPar -allRegions
|
|
|
|
#------------------------------------------------------------------------------
|