- **OpenFOAM Running, Solving & CFD**
(*https://www.cfd-online.com/Forums/openfoam-solving/*)

- - **Boundary Condition for variable Gradient**
(*https://www.cfd-online.com/Forums/openfoam-solving/57780-boundary-condition-variable-gradient.html*)

Hello,
To determine the iniHello,
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 |

Hello,
problem solved!! NotHello,
problem solved!! Not nice but it works. Have a nice weekend Wilko |

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