Programming in OpenFOAM: writing a Custom Boundary Condition

In this video, we will show how to implement a new boundary condition step by step in OpenFOAM. If you need to develop a new boundary condition in OpenFOAM, I would definitely recommend seeing this video. The fluid flow in a rectangular channel (Hagen-Poiseuille flow) is investigated in two different conditions: 1- A constant velocity profile at the inlet 2- A fully developed velocity profile imposed at the inlet of the channel For the second test case, we have written the parabolic velocity boundary condition employing “codedFixedvalue” in OpenFOAM. Please visit our website for more downloading test cases and source codes: Or the following link: For more information please send me an Email: peymanhavaej@
Back to Top