mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: t-junction-with-fan/Allrun : split cyclics
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -120,6 +120,7 @@ boundary
|
|||||||
{
|
{
|
||||||
type cyclic;
|
type cyclic;
|
||||||
faces ();
|
faces ();
|
||||||
|
neighbourPatch fan_half0;
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultFaces
|
defaultFaces
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user