CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   specifying U components as boundary condition (

ramhari June 3, 2011 11:46

specifying U components as boundary condition
I want to specify different boundary conditions for Ux, Uy and Uz :confused:

fixed value : 0 for Uy and Uz
zeroGradient : Ux

How I can do that? Can anyone please help! (sorry,I could not find ans. for the older posts)

gregor June 4, 2011 03:21

i guess what you are looking for is the 'slip' condition



ramhari June 4, 2011 05:29

@ gregor,

The slip boundary condition does the opposite way.

For a patch parallel to yz -plane,

Instead of making Uy,Uz = 0 it makes Ux=0
Instead of zeroGradient at Ux it makes Uy,Uz zeroGradient.

After going through, the user guide what I understood is pressureInletVelcoity
looks similar to what I want. But I don't know if it works when total Pressure is specified.

ramhari June 7, 2011 15:34

I just spent some time with directionMixed BC and thats what I want.


All times are GMT -4. The time now is 03:59.