CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Complex velocity boundary condition (https://www.cfd-online.com/Forums/openfoam-solving/221041-complex-velocity-boundary-condition.html)

 Pavithra October 2, 2019 01:17

Complex velocity boundary condition

Hello Everyone,

I want to implement the following boundary condition on the horizontal walls of a 2-D square cavity.

The value of varies from 0 to 1 in steps of 0.25.

I understand that when , the boundary condition becomes and .

Also, when , the boundary condition becomes and .

I am able to achieve the above two cases using directionMixed boundary condition.

But I am unable to figure out how to set the boundary condition when takes a value such as 0.25, 0.5 or 0.75.

For instance, when = 0.25, it becomes .

Kindly please give me some directions to implement this boundary condition.

Thank You.

With Thanks
Pavithra.

 All times are GMT -4. The time now is 14:24.