diff --git a/src/functionObjects/field/wallHeatFlux/wallHeatFlux.C b/src/functionObjects/field/wallHeatFlux/wallHeatFlux.C index 747bdc23bf..8c5f840242 100644 --- a/src/functionObjects/field/wallHeatFlux/wallHeatFlux.C +++ b/src/functionObjects/field/wallHeatFlux/wallHeatFlux.C @@ -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;