Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1785
Closed
Open
Issue created Jul 23, 2020 by Mattijs Janssens@MattijsMaintainer

wallDist method meshWave does clipping twice

In the code src/finiteVolume/fvMesh/wallDist/patchDistMethods/Poisson/PoissonPatchDistMethod.C it twice does clipping:

    // For overset: enforce smooth y field (yPsi is smooth, magGradyPsi is
    // not)
    mesh_.interpolate(y);

    // Need to stabilise the y for overset meshes since the holed cells
    // keep the initial value (0.0) so the gradient of that will be
    // zero as well. Turbulence models do not like zero wall distance.
    y.max(SMALL);

    // For overset: enforce smooth y field (yPsi is smooth, magGradyPsi is
    // not)
    mesh_.interpolate(y);

Not sure but only second one probably needs to be done. Check.

Assignee
Assign to
Time tracking