Gradient Reconstruction

Theory
finite volume
Estimating cell-centred gradients on unstructured finite volume meshes.

In a cell-centred finite volume method the solution is stored as one value per cell, but many terms in the discretized equations (diffusive fluxes on non-orthogonal meshes, higher-order convection schemes, source terms) need the gradient of that field. Gradient reconstruction is the process of estimating \nabla \phi at each cell centre from the values in that cell and its neighbours.

Green-Gauss

Applying the divergence theorem over a control volume P with volume V_P gives

\nabla \phi_P \approx \frac{1}{V_P} \sum_{f} \phi_f \, \mathbf{S}_f, \tag{1}

where \phi_f is the value interpolated to face f and \mathbf{S}_f is the outward face area vector. The accuracy of Equation 1 depends heavily on how \phi_f is obtained.

Least squares

The least-squares approach instead chooses \nabla \phi_P to minimize the weighted error in a first-order Taylor expansion to each neighbour k:

\min_{\nabla \phi_P} \sum_{k} w_k \left( \phi_k - \phi_P - \nabla \phi_P \cdot \mathbf{d}_k \right)^2, \tag{2}

where \mathbf{d}_k is the vector from the centre of P to the centre of neighbour k. Compare this with the Green-Gauss approach in Section 1.

NoteContent to expand
  • Derivation of both methods and their order of accuracy on skewed meshes
  • Choice of weights w_k in Equation 2
  • Iterative corrections for Green-Gauss face values
  • Gradient limiters
  • References to the primary literature