systemDict: Include region in the default directory for the -dict option
With this change both of the following commands are equivalent:
topoSet -region air -dict topoSetDict1
topoSet -region air -dict system/air/topoSetDict1
I.e., if the system/<regionName> path is not specified then it is
assumed.
This commit is contained in:
@ -10,7 +10,7 @@ runApplication foamSetupCHT
|
||||
|
||||
runApplication foamDictionary -entry internalField -set "uniform 348" 0/solid/T
|
||||
|
||||
runApplication decomposePar -allRegions -dict decomposeParDict
|
||||
runApplication decomposePar -allRegions -dict system/decomposeParDict
|
||||
|
||||
printf "\n%s\n" "Creating files for paraview post-processing"
|
||||
paraFoam -touchAll
|
||||
|
||||
@ -10,14 +10,12 @@ runApplication -s air blockMesh -region air
|
||||
runApplication -s porous blockMesh -region porous
|
||||
|
||||
# Create rotor blades in air region
|
||||
runApplication -s air.1 \
|
||||
topoSet -region air -dict system/air/topoSetDict.1
|
||||
runApplication -s air.1 topoSet -region air -dict topoSetDict.1
|
||||
|
||||
runApplication createBaffles -region air -overwrite
|
||||
|
||||
# Create rotor zone in air region for MRF
|
||||
runApplication -s air.2 \
|
||||
topoSet -region air -dict system/air/topoSetDict.2
|
||||
runApplication -s air.2 topoSet -region air -dict topoSetDict.2
|
||||
|
||||
rm -rf constant/air/polyMesh/sets
|
||||
|
||||
|
||||
Reference in New Issue
Block a user