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 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #696
Closed
Open
Issue created Jan 07, 2018 by Admin@OpenFOAM-adminMaintainer

nutUBlendedWallFunction causes floating point exeption

new nutUBlendedWallFunction may cause a floating point exeption.

Using nutUBlendedWallFunction in simpleFoam/pitzDaily tutorial case will reproduce this error. Zero gradient at the initial state leads to yPlus of zero.

Changing the code from

scalar yPlus = y[facei]*ut/nuw[facei];

to

scalar yPlus = y[facei]*ut/nuw[facei] + VSMALL;

will prevent the problems (division by zero and logarithm of zero).

Assignee
Assign to
Time tracking