CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   gradScheme Calculation (http://www.cfd-online.com/Forums/openfoam/90254-gradscheme-calculation.html)

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

Hey,

have a look at the dissertation of Hrv Jasak.
http://powerlab.fsb.hr/ped/kturbo/Op...jeJasakPhD.pdf
The nonorthogonal correction is explained there.


Best

Kathrin


All times are GMT -4. The time now is 09:36.