

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


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
Login to add comment