Documentation for Neumann boundary conditions in OpenFOAM
Hi,
I was looking to implement some Neumann boundary conditions. I am taking a look at fixedGradient and https://www.openfoam.com/documentati...-gradient.html and mixed boundary conditions https://www.openfoam.com/documentati...d.html#details. They appear to be the same (on the latter I should set the valueFraction to zero), but the documentation seems weird: The fixedGradient will tell you that it is a Neumann condition defined as: Where should be the gradient normal to the face? Upon checking the code, the implementation seems to be on the evaluate function with: Code:
Field<Type>::operator= On the other hand the mixed boundary is defined as: Here is specifically stated to be the patch normal gradient and the distance term appears in the denominator. Upon checking the code of the evaluate function I see: Code:
Field<Type>::operator= So my question here is: Why two different documentations for something that seems to be the same ? Did I misunderstood something? |
All times are GMT -4. The time now is 09:28. |