Updated calls to foamDictionary in the tutorials to use the 'slash' entry scope syntax

This commit is contained in:
Henry Weller
2020-08-15 00:16:16 +01:00
parent 73e756a362
commit d65b3ef761
5 changed files with 9 additions and 9 deletions

View File

@ -37,7 +37,7 @@ setAtmosphereBC () {
echo "Setting $_field BC on atmosphere patch to $_BC"
runApplication -a foamDictionary \
-entry boundaryField.atmosphere.type \
-entry boundaryField/atmosphere/type \
-set "$_BC" \
"0/$_field" > /dev/null 2>&1
}

View File

@ -16,8 +16,8 @@ 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 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

View File

@ -16,8 +16,8 @@ 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 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

View File

@ -17,8 +17,8 @@ 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 -expand 0.5/T.liquid -entry boundaryField.wall.q -set "uniform 73900"
runParallel -a foamDictionary -expand 0.5/U.liquid -entry boundaryField.inlet.type -set "fixedValue"
runParallel -a foamDictionary -expand 0.5/T.liquid -entry boundaryField/wall/q -set "uniform 73900"
runParallel -a foamDictionary -expand 0.5/U.liquid -entry boundaryField/inlet/type -set "fixedValue"
runParallel -a $application
fi

View File

@ -17,8 +17,8 @@ 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 -expand 0.5/T.liquid -entry boundaryField.wall.q -set "uniform 73900"
runParallel -a foamDictionary -expand 0.5/U.liquid -entry boundaryField.inlet.type -set "fixedValue"
runParallel -a foamDictionary -expand 0.5/T.liquid -entry boundaryField/wall/q -set "uniform 73900"
runParallel -a foamDictionary -expand 0.5/U.liquid -entry boundaryField/inlet/type -set "fixedValue"
runParallel -a $application
fi