mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Sprucing up the tutorials folder and adding -dict to "collapseEdges"
Patch provided by Bruno Santos Resolves patch application request http://www.openfoam.org/mantisbt/view.php?id=2015
This commit is contained in:
@ -17,16 +17,15 @@ mkdir 0
|
||||
# Refine over Z, in 6 passes
|
||||
for index in 1 2 3 4 5 6; do
|
||||
|
||||
runApplication calcRadiusField
|
||||
mv log.calcRadiusField log.calcRadiusField.tier$index
|
||||
runApplication -s tier$index calcRadiusField
|
||||
|
||||
runApplication topoSet -dict system/topoSetDict.tier$index
|
||||
mv log.topoSet log.topoSet.tier$index
|
||||
runApplication -s tier$index \
|
||||
topoSet -dict system/topoSetDict.tier$index
|
||||
|
||||
## foamToVTK -cellSet tier$index
|
||||
|
||||
runApplication refineMesh -dict system/refineMeshDict.tier$index -overwrite
|
||||
mv log.refineMesh log.refineMesh.tier$index
|
||||
runApplication -s tier$index \
|
||||
refineMesh -dict system/refineMeshDict.tier$index -overwrite
|
||||
|
||||
rm -r 0/*
|
||||
|
||||
@ -35,17 +34,15 @@ done
|
||||
# Refine over cylindrical coordinates, in 3 passes
|
||||
for index in 1 2 3; do
|
||||
|
||||
runApplication calcRadiusField -calcDirections
|
||||
mv log.calcRadiusField log.calcRadiusField.range$index
|
||||
runApplication -s range$index calcRadiusField -calcDirections
|
||||
|
||||
runApplication topoSet -dict system/topoSetDict.range$index
|
||||
mv log.topoSet log.topoSet.range$index
|
||||
runApplication -s range$index \
|
||||
topoSet -dict system/topoSetDict.range$index
|
||||
|
||||
## foamToVTK -cellSet tier$index
|
||||
|
||||
runApplication refineMesh -dict system/refineMeshDict.range$index \
|
||||
-overwrite
|
||||
mv log.refineMesh log.refineMesh.range$index
|
||||
runApplication -s range$index \
|
||||
refineMesh -dict system/refineMeshDict.range$index -overwrite
|
||||
|
||||
rm -r 0/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user