Poisson wall distance

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

  • Foam::patchDistMethods::PoissonPatchDistMethod

References


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

Copyright © 2016 OpenCFD Ltd.

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