functionObjects::wallHeatFlux: Improved the diagnostic message

This commit is contained in:
Henry Weller
2023-07-24 10:09:14 +01:00
parent c772291a9c
commit dd53598fa2

View File

@ -221,8 +221,10 @@ bool Foam::functionObjects::wallHeatFlux::execute()
else
{
FatalErrorInFunction
<< "Unable to find thermophysicalTransportModel in the "
<< "database" << exit(FatalError);
<< "Unable to find thermophysicalTransportModel "
<< thermophysicalTransportModelName
<< " in the database"
<< exit(FatalError);
}
return true;