Skip to content

REQUEST: yPlus FO error message in "postProcess -func yPlus" mode

Functionality to add/problem to solve

When executing the yPlus function object as "postProcess -func yPlus" the following warning is issued:

--> FOAM Warning : 
    From virtual bool Foam::functionObjects::yPlus::execute()
    in file yPlus/yPlus.C at line 166
    Unable to find turbulence model in the database: yPlus will not be calculated

while running the FO as <solverName> -postProcess -func yPlus or directly during run time works fine.

Proposal

It would be nice to substitute the warning message with something like "yPlus function in postProcess mode not supported". The current message is misleading and the user would think there is an error in the turbulence model setup, even though the latter is correct.

Edited by Kutalmış Berçin