Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 394
    • Issues 394
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !350

Merged
Created Mar 20, 2020 by Kutalmis Bercin@kutiMaintainer

ENH: New wall-function blending approaches

  • Overview 3
  • Commits 1
  • Changes 20

Summary

This merge request is a discussion placeholder for two topics:

  • Potential improvements to the wall-function hierarchies
  • Wall-function blending treatments between viscous and inertial sublayers
Wall-function hierarchy

Arguably, the wall-function hierarchies need a reexamination as the relations have "grown organically" in the course of time. One recent problem is that {omega,epsilon,k}Wall functions use data members from nutWallFunction base class even though the former group is not derived from the latter.

One practical consequence is that {omega,epsilon,k}Wall always require a nut wall function is defined in the nut dictionary, otherwise simulation in question noisily fails without informing the user with useful information, e.g. CFD-Online:Error with k-omega SST and simpleFoam (21-Feb-20), and the bug-fix:55776069.

Wall-blending treatments
  • Four wall-function blending treatments were introduced:

    • STEPWISE
    • MAX
    • BINOMIAL
    • EXPONENTIAL
  • .. For the following wall functions:

    • epsilonWallFunction
    • omegaWallFunction
    • nut{k,U}WallFunction
  • The header-file documentations were improved for the following wall functions for which the blending treatments were not applicable (e.g. due to the continuous treatment in nutUSpaldingWallFunction):

    • nutU{Spalding,Tabulated,Blended}WallFunction
    • nut{k,U}RoughWallFunction
    • nutLowReWallFunction
    • {kLowRe,kqR}WallFunction
  • Based on:

    • Viegas and Rubesin (1983); Viegas et al. (1985) (i.e. the option: STEPWISE)
    • Menter and Esch (2001) (i.e. the option: BINOMIAL)
    • Popovac and Hanjalić (2007) (i.e. the options: MAX, EXPONENTIAL)
    • Knopp et al. (2006) (i.e. the option: TANH only for omega)

Resolved bugs

N/A

Risks

High risk, yet bitwise backward compatibility, and regression were verified for each modified functionality.

@mark @Sergio @Mattijs

Edited Jun 03, 2020 by Kutalmis Bercin
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature-wall-functions