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 else
{ {
FatalErrorInFunction FatalErrorInFunction
<< "Unable to find thermophysicalTransportModel in the " << "Unable to find thermophysicalTransportModel "
<< "database" << exit(FatalError); << thermophysicalTransportModelName
<< " in the database"
<< exit(FatalError);
} }
return true; return true;