mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Eg, -entry boundaryField/wall2/q vs. boundaryField.wall2.q - remove unneeded quoting when calling foamDictionary
16 lines
490 B
Bash
Executable File
16 lines
490 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
|
|
|
|
runApplication blockMesh
|
|
runApplication $(getApplication)
|
|
|
|
if notTest $@
|
|
then
|
|
foamDictionary system/controlDict -entry endTime -set 5
|
|
foamDictionary 2/T.liquid -entry boundaryField/wall2/q -set 'uniform 1e5'
|
|
runApplication -a $(getApplication)
|
|
fi
|
|
|
|
#------------------------------------------------------------------------------
|