Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev

This commit is contained in:
Henry Weller
2018-03-01 14:24:12 +00:00
2 changed files with 4 additions and 4 deletions

View File

@ -188,8 +188,8 @@ void turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs()
<< "Patch field for " << internalField().name() << " on "
<< patch().name() << " is of type " << thisType::typeName
<< endl << "The neighbouring patch field " << TnbrName_ << " on "
<< nbrPatch.name() << " is of type " << nbrTp.type() << endl
<< "They need to be the same type" << exit(FatalError);
<< nbrPatch.name() << " is required to be the same, but is "
<< "currently of type " << nbrTp.type() << exit(FatalError);
}
const thisType& nbrField = refCast<const thisType>(nbrTp);

View File

@ -197,8 +197,8 @@ void turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs()
<< "Patch field for " << internalField().name() << " on "
<< patch().name() << " is of type " << thisType::typeName
<< endl << "The neighbouring patch field " << TnbrName_ << " on "
<< nbrPatch.name() << " is of type " << nbrTp.type() << endl
<< "They need to be the same type" << exit(FatalError);
<< nbrPatch.name() << " is required to be the same, but is "
<< "currently of type " << nbrTp.type() << exit(FatalError);
}
const thisType& nbrField = refCast<const thisType>(nbrTp);