BUG: t-junction-with-fan/Allrun : split cyclics

This commit is contained in:
mattijs
2010-05-17 17:19:30 +01:00
parent 2567ac7c17
commit 8816653041
3 changed files with 15 additions and 12 deletions

View File

@ -16,12 +16,14 @@ unset FOAM_SETNAN
# Add cyclic baffles for fan # Add cyclic baffles for fan
runApplication setSet -batch selectCyclics.setSet runApplication setSet -batch selectCyclics.setSet
runApplication createBaffles cyclicFaces '(fan_half0 fan_half1)' -overwrite #runApplication createBaffles cyclicFaces '(fan_half0 fan_half1)' -overwrite
createBaffles cyclicFaces '(fan_half0 fan_half1)' -overwrite > log.createBaffles 2>&1
# Add wall baffles # Add wall baffles
rm log.setSet rm log.setSet
runApplication setSet -batch selectBaffles.setSet runApplication setSet -batch selectBaffles.setSet
rm log.createBaffles rm log.createBaffles
runApplication createBaffles baffleFaces '(baffles baffles)' -overwrite #runApplication createBaffles baffleFaces '(baffles baffles)' -overwrite
createBaffles baffleFaces '(baffles baffles)' -overwrite > log.createBaffles 2>&1
runApplication $application runApplication $application

View File

@ -120,6 +120,7 @@ boundary
{ {
type cyclic; type cyclic;
faces (); faces ();
neighbourPatch fan_half0;
} }
defaultFaces defaultFaces

View File

@ -21,45 +21,45 @@ FoamFile
{ {
type patch; type patch;
nFaces 25; nFaces 25;
startFace 10050; startFace 10025;
} }
outlet1 outlet1
{ {
type patch; type patch;
nFaces 25; nFaces 25;
startFace 10075; startFace 10050;
} }
outlet2 outlet2
{ {
type patch; type patch;
nFaces 25; nFaces 25;
startFace 10100; startFace 10075;
} }
baffles baffles
{ {
type wall; type wall;
nFaces 0; nFaces 32;
startFace 10125; startFace 10100;
} }
fan_half0 fan_half0
{ {
type cyclic; type cyclic;
nFaces 0; nFaces 9;
startFace 10125; startFace 10132;
neighbourPatch fan_half1; neighbourPatch fan_half1;
} }
fan_half1 fan_half1
{ {
type cyclic; type cyclic;
nFaces 0; nFaces 9;
startFace 10125; startFace 10141;
neighbourPatch fan_half0; neighbourPatch fan_half0;
} }
defaultFaces defaultFaces
{ {
type wall; type wall;
nFaces 3075; nFaces 3075;
startFace 10125; startFace 10150;
} }
) )