mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
STYLE: use slash-scoping for foamDictionary usage
Eg, -entry boundaryField/wall2/q vs. boundaryField.wall2.q - remove unneeded quoting when calling foamDictionary
This commit is contained in:
@ -17,22 +17,20 @@ runApplication setFields
|
||||
if isTest $@
|
||||
then
|
||||
# Test without chemistry
|
||||
foamDictionary -entry "chemistry" -set "off" constant/chemistryProperties
|
||||
foamDictionary constant/chemistryProperties -entry chemistry -set off
|
||||
runApplication $application
|
||||
else
|
||||
# Run the application without chemistry until 1500 to let the flow field
|
||||
# develop
|
||||
foamDictionary -entry "writeInterval" -set "1500" system/controlDict
|
||||
foamDictionary -entry "endTime" -set "1500" system/controlDict
|
||||
foamDictionary -entry "chemistry" -set "off" constant/chemistryProperties
|
||||
# Run without chemistry until 1500 to let the flow field develop
|
||||
foamDictionary system/controlDict -entry writeInterval -set 1500
|
||||
foamDictionary system/controlDict -entry endTime -set 1500
|
||||
foamDictionary constant/chemistryProperties -entry chemistry -set off
|
||||
|
||||
runApplication $application
|
||||
|
||||
|
||||
# Run with chemistry until flame reach its full size
|
||||
foamDictionary -entry "writeInterval" -set "100" system/controlDict
|
||||
foamDictionary -entry "endTime" -set "5000" system/controlDict
|
||||
foamDictionary -entry "chemistry" -set "on" constant/chemistryProperties
|
||||
# Run with chemistry until flame reaches its full size
|
||||
foamDictionary system/controlDict -entry writeInterval -set 100
|
||||
foamDictionary system/controlDict -entry endTime -set 5000
|
||||
foamDictionary constant/chemistryProperties -entry chemistry -set on
|
||||
|
||||
runApplication -o $application
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user