Skip to content
Snippets Groups Projects
Commit 88166530 authored by mattijs's avatar mattijs
Browse files

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

parent 2567ac7c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -120,6 +120,7 @@ boundary
{
type cyclic;
faces ();
neighbourPatch fan_half0;
}
defaultFaces
......
......@@ -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;
}
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment