![]() |
Hi All,
Does OpenFoam have an
Hi All,
Does OpenFoam have an explicit scheme to calculate the Grad(U) at cell faces, like simply taking the difference between the two values at adjacent center points and dividing by the distance? Thanks Luiz |
Try snGrad:
OpenFOAM-1.1/sr
Try snGrad:
OpenFOAM-1.1/src/OpenFOAM/lnInclude/snGradScheme.H Enjoy, Hrv |
Thanks Hrvoje,
But I wanted t
Thanks Hrvoje,
But I wanted the full gradient, i.e. the tensor, not the surface normal. Probably I will have to implement one based on snGrad, right? Thanks a lot, Luiz |
The difference between the two
The difference between the two values around the face gives you just the surface normal gradient.
For the full gradient, interpolate the cell centre gradient and if you're really keen, rip out the surface normal component and replace it with the face snGrad. Hrv |
| All times are GMT -4. The time now is 16:03. |