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
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
rm log.setSet
runApplication setSet -batch selectBaffles.setSet
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

View File

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

View File

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