createBaffles with faceZone

This commit is contained in:
mattijs
2009-06-30 22:17:03 +01:00
parent e28256477a
commit 1cabcf6c12
2 changed files with 203 additions and 178 deletions

View File

@ -1,24 +1,23 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application="porousExplicitSourceReactingParcelFoam"
# create mesh
blockMesh >& log.blockMesh
runApplication blockMesh
# create sets - 1
# create sets
setSet -batch system/sets.setSet >& log.setSet1
# create the first cyclic - lhs of porous zone
createBaffles cycLeft cycLeft -overwrite >& log.createBaffles1
# create sets - 2 (ordering changed after createBaffles)
setSet -batch system/sets.setSet >& log.setSet2
# create the second cyclic - rhs of porous zone
createBaffles cycRight cycRight -overwrite >& log.createBaffles2
# create sets - 3 (ordering changed after createBaffles)
setSet -batch system/sets.setSet >& log.setSet3
# convert sets to zones
setsToZones -noFlipMap >& log.setsToZones
# create the first cyclic - lhs of porous zone
createBaffles cycLeft cycLeft -overwrite >& log.createBaffles1
# create the second cyclic - rhs of porous zone
createBaffles cycRight cycRight -overwrite >& log.createBaffles2
runApplication $application