Calculation of approximate distance to nearest patch for all cells and boundary by solving a Poisson equation.
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;
}
Source code
References
| Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2016 OpenCFD Ltd.