Properties

Calculation of approximate distance to nearest patch for all cells and boundary by solving a Poisson equation.

Usage

The scheme is specified using:

wallDist
{
    method          Poisson;
}

This requires the additional entry in the divSchemes sub-dictionary in the fvSchemes file, e.g.:

laplacianSchemes
{
    laplacian(yPsi) <laplacian scheme>;
}

An solver entry for the yPsi variable is also required for the fvSolution file, e.g.

yPsi
{
    solver          <solver>;
    ...
    tolerance       1e-5;
    relTol          0;
}

Further information

Source code

References

  • Spalding [71]
  • Fares and Schroder [17]
  • Tucker [80]