Power Law boundary inlet velocity condition


I am interested in defining an inlet velocity as U = Umax * ( 1-r/R) ^ 7 for a pipe flow. (Here r is the y co-ordinate). Which boundary condition can I use? Can someone provide an example?

Any help is very much appreciated.

Thank you,


OpenFOAM 06-02-21, 2:22 p.m. vaishali25

Hi Vaishali,
The codedFixedValue boundary condition in OpenFOAM should be it. You can check the below link for an example of codedFixedValue BC.


06-02-21, 5:07 p.m. ashleymelvin

The Power Law boundary inlet velocity condition is a high-order pressure drop and low inlet velocity for the flow of an incompressible fluid. This condition is used in many applications such as gas turbine engines and rocket engines where the inlet gases are incompressible. You need to get more to get knowledge about beating a DUI.The power law boundary inlet velocity condition is used to predict the airflow velocity at a boundary between two regions.
02-11-22, 2:43 a.m. MarieHall

Log-in to answer to this question.