0
Power Law boundary inlet velocity condition

Hello,

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,

Vaishali.


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

Hi Vaishali,
The codedFixedValue boundary condition in OpenFOAM should be it. You can check the below link for an example of codedFixedValue BC.
https://cfd-training.com/2018/05/07/non-uniform-inlet-profil-with-codedfixedvalue/

Regards,
Ashley

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


Log-in to answer to this question.