Commit 712512d4 authored by sergio's avatar sergio
Browse files

BUG: Reverting change on qr signs for power and heatFlux modes

parent e5afe55e
......@@ -378,7 +378,7 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs()
{
case fixedPower:
{
refGrad() = (Q_/gSum(patch().magSf()) - qr)/kappa(Tp);
refGrad() = (Q_/gSum(patch().magSf()) + qr)/kappa(Tp);
refValue() = 0;
valueFraction() = 0;
......@@ -386,7 +386,7 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs()
}
case fixedHeatFlux:
{
refGrad() = (q_ - qr)/kappa(Tp);
refGrad() = (q_ + qr)/kappa(Tp);
refValue() = 0;
valueFraction() = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment