CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   how to set inlet and outlet BC for oscillatory flow around a circular cylinder (http://www.cfd-online.com/Forums/openfoam-pre-processing/98981-how-set-inlet-outlet-bc-oscillatory-flow-around-circular-cylinder.html)

November March 23, 2012 01:59

how to set inlet and outlet BC for oscillatory flow around a circular cylinder
 
Hi all,

I think this must be an easy question for you guys, somehow I got stuck for some time now as a green hand and am searching online for a solution but with no luck up till now...

So, the question is as in the title, could anyone share how you exactly specify the inlet and outlet boundary condition for 0/p and 0/u for an oscillatory flow around a cylinder??
Say for example I have an oscillatory flow with the velocity (ux,0,0), in which ux=U_m*sin(2*pi*f*t).

I have tried oscillatingFixedValue for u and zeroGradient for p at inlet, and zeroGradient for u and 0 for p at outlet but got 0 values at all timesteps...

Any help is appreciated.


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