Least-squares gradient scheme

Properties

The cell gradient is calculated using least squares:

Usage

The scheme is specified using:

gradSchemes
{
    default         none;
    grad(U)         leastSquares;
}

Further information

Source code

See also

  • pointCellsLeastSquares: employs a cell-point-cell stencil
  • edgeCellsLeastSquares: employs a cell-edge-cell stencil

Would you like to suggest an improvement to this page? Create an issue

Copyright © 2018 OpenCFD Ltd.

Licensed under the Creative Commons License BY-NC-ND Creative Commons License