ENH: yPlus: add a warning to remind users about solver's postProcess option (#1846)

This commit is contained in:
Kutalmis Bercin
2021-07-20 13:37:29 +01:00
committed by Andrew Heather
parent f3d0db18bb
commit da1afe816a

View File

@ -175,6 +175,14 @@ bool Foam::functionObjects::yPlus::execute()
WarningInFunction
<< "Unable to find turbulence model in the "
<< "database: yPlus will not be calculated" << endl;
if (postProcess)
{
WarningInFunction
<< "Please try to use the solver option -postProcess, e.g.:"
<< " <solver> -postProcess -func yPlus" << endl;
}
return false;
}