mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
createBaffles with faceZone
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user