Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
c1e7fd9e
Commit
c1e7fd9e
authored
Feb 18, 2010
by
henry
Browse files
multiRegionHeater tutorial: Changed to generate the split-mesh and fields at time 0 rather th
an 0.001.
parent
0d1833a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allclean
0 → 100755
View file @
c1e7fd9e
#!/bin/sh
# Source tutorial clean functions
.
$WM_PROJECT_DIR
/bin/tools/CleanFunctions
cleanCase
rm
-rf
VTK
rm
-rf
constant/cellToRegion constant/polyMesh/sets
rm
-rf
0/bottomAir
rm
-rf
0/topAir
rm
-rf
0/heater
rm
-rf
0/leftSolid
rm
-rf
0/rightSolid
rm
-f
0/cellToRegion
rm
-rf
constant/bottomAir/polyMesh
rm
-rf
constant/topAir/polyMesh
rm
-rf
constant/heater/polyMesh
rm
-rf
constant/leftSolid/polyMesh
rm
-rf
constant/rightSolid/polyMesh
# -----------------------------------------------------------------------------
tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun
View file @
c1e7fd9e
...
...
@@ -11,7 +11,7 @@ runApplication setSet -batch makeCellSets.setSet
rm
-f
constant/polyMesh/sets/
*
_old
runApplication setsToZones
-noFlipMap
runApplication splitMeshRegions
-cellZones
runApplication splitMeshRegions
-cellZones
-overwrite
# remove fluid fields from solid regions (important for post-processing)
for
i
in
heater leftSolid rightSolid
...
...
tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allclean
View file @
c1e7fd9e
...
...
@@ -11,6 +11,7 @@ rm -rf 0/topAir
rm
-rf
0/heater
rm
-rf
0/leftSolid
rm
-rf
0/rightSolid
rm
-f
0/cellToRegion
rm
-rf
constant/bottomAir/polyMesh
rm
-rf
constant/topAir/polyMesh
rm
-rf
constant/heater/polyMesh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment