CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   I can not understand the tutorial TJunctionFan.(OP 2.0.0) (https://www.cfd-online.com/Forums/openfoam/91276-i-can-not-understand-tutorial-tjunctionfan-op-2-0-0-a.html)

asamit August 5, 2011 08:35

I can not understand the tutorial TJunctionFan.(OP 2.0.0)
 
Hello everyone,
I am trying to understand new cyclic while runnig the tutorial TJunctionFan. (OP 2.0.0)
I am studing two files as below.

- selectCyclics.setSet -

:
faceSet cyclicFaces new boxToFace (0.099 -0.006 0.004)(0.101 0.006 0.016)
cellSet cyclicFacesSlaveCells new boxToCell (-10 -10 -10)(0.1 10 10)
faceZoneSet cyclicFaces new setsToFaceZone cyclicFaces cyclicFacesSlaveCells

:

- Allrun -
:
# Add cyclic baffles for fan
runApplication setSet -batch selectCyclics.setSet
#runApplication createBaffles cyclicFaces '(fan_half0 fan_half1)' -overwrite
createBaffles cyclicFaces '(fan_half0 fan_half1)' -overwrite > log.createBaffles 2>&1
:

- 0/p -
:
fan_half0
{
type fan;
patchType cyclic;
f 2(100 -0.1);
value uniform 0;
}
fan_half1
{
type fan;
patchType cyclic;
f 2(100 -0.1);
value uniform 0;
}
:


As far as I understand, two cyclic-feaces (fan_haff0 and fan_half1) are using the same mesh.
Then, how they are determine the wind directions?

Thank you,
asamit

asamit August 7, 2011 06:29

The problem solved.

- selectCyclics.setSet -
:
#cellSet cyclicFacesSlaveCells new boxToCell (-10 -10 -10)(0.1 10 10)
cellSet cyclicFacesSlaveCells new boxToCell (0.1 -10 -10)(10 10 10)
:


All times are GMT -4. The time now is 08:09.