CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   swirl inlet velocity for a 2-d axisymmetric flow (https://www.cfd-online.com/Forums/openfoam-solving/146933-swirl-inlet-velocity-2-d-axisymmetric-flow.html)

zahrarashidi January 10, 2015 06:41

swirl inlet velocity for a 2-d axisymmetric flow
 
hi every body,
I have used blockmesh to create a wedge type mesh for an axisymmetric vortextube . i want to do an axisymmetric simulation with a swirl flow at the inlet,and i have some questions:
1-as u khow the equations will be different with the cartesian coordinate because of existence of swirl,does the code change them into correct one or i shuld change them myself?!
2-if i want to use "swirlFlowRateInletVelocity"in oF derived b.c, it just enter a swirl mass flow normal to boundary!but in my case the flow have both tangentional and radial velocity too,it means the swirl is not normal to boundary ,how can i intruduce the swirl flow that have radial velocity too as a B.C at inlet?!
the B.C of my case( 2-d axisymmetric) in inlet is:
{
mass flow rate:0.2184 kg/s
tngentional velocity:200 m/s
radial velocity:90 m/s}
I appreciate all your views and answers to these

zahrarashidi January 11, 2015 02:02

no body can't help me?
please speak about your idea.

nimasam January 12, 2015 07:01

Dear Zahra :)

1-could you please define your question much precisely, equations are written and solved in Cartesian coordinate, what changes do you want to apply to them?

2- if you have the value of vector velocity :), why dont you apply velocity vector directly at inlet like that:

Code:

type        fixedValue;
value      uniform (Ux,Uy,Uz);

and find appropriate Ux, Uy and Uz based on normal and tangential velocity :)


All times are GMT -4. The time now is 20:35.