CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Boundary Condition for variable Gradient (

wilko March 13, 2009 11:35

Hello, To determine the ini

To determine the initial pressure in a incompressible flow I would like to use the following differential equation:


Now I need a boundary condition for p to get the right wall values.
So far, my implementation uses the BC zeroGradient. This will lead to a boundary value that is exactly the cell value. But this is not the solution of the differential equation above.
What type of BC can be used here?

Best regards


wilko March 13, 2009 13:30

Hello, problem solved!! Not

problem solved!! Not nice but it works.

Have a nice weekend


All times are GMT -4. The time now is 02:23.