CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   gradScheme Calculation (

doubtsincfd July 5, 2011 12:37

gradScheme Calculation
How does OF calculate gradient. Suppose Gauss linear is the chosen grad scheme. Which cells does it consider for calculating the gradient?

If the grid is cartesian (perfectly aligned with x,y and z axes), calculation of gradients on the faces of the cell is straightforward. But how does OF handle for a grid not aligned with x,y and z axes?

kathrin_kissling July 6, 2011 08:31


have a look at the dissertation of Hrv Jasak.
The nonorthogonal correction is explained there.



All times are GMT -4. The time now is 01:05.