externalWallHeatFluxTemperature: Corrected definition of Q

Resolves bug report https://bugs.openfoam.org/view.php?id=3882
This commit is contained in:
Will Bainbridge
2022-09-13 12:43:43 +01:00
parent 792ed625bc
commit e84f3d110c

View File

@ -304,7 +304,7 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs()
scalarField qTot(qr);
if (haveQ_)
{
qTot += Q_;
qTot += Q_/gSum(patch().magSf());
}
if (haveq_)
{