CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Boundary Condition for variable Gradient (http://www.cfd-online.com/Forums/openfoam-solving/57780-boundary-condition-variable-gradient.html)

wilko March 13, 2009 11:35

Hello, To determine the ini
 
Hello,

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

d(p)/d(x)=f(x)

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

wilko March 13, 2009 13:30

Hello, problem solved!! Not
 
Hello,

problem solved!! Not nice but it works.

Have a nice weekend

Wilko


All times are GMT -4. The time now is 20:25.