mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: yPlus: add a warning to remind users about solver's postProcess option (#1846)
This commit is contained in:
committed by
Andrew Heather
parent
f3d0db18bb
commit
da1afe816a
@ -175,6 +175,14 @@ bool Foam::functionObjects::yPlus::execute()
|
|||||||
WarningInFunction
|
WarningInFunction
|
||||||
<< "Unable to find turbulence model in the "
|
<< "Unable to find turbulence model in the "
|
||||||
<< "database: yPlus will not be calculated" << endl;
|
<< "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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user