Skip to content
Snippets Groups Projects
Commit 712512d4 authored by sergio's avatar sergio
Browse files

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

parent e5afe55e
No related branches found
No related tags found
No related merge requests found
...@@ -378,7 +378,7 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs() ...@@ -378,7 +378,7 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs()
{ {
case fixedPower: case fixedPower:
{ {
refGrad() = (Q_/gSum(patch().magSf()) - qr)/kappa(Tp); refGrad() = (Q_/gSum(patch().magSf()) + qr)/kappa(Tp);
refValue() = 0; refValue() = 0;
valueFraction() = 0; valueFraction() = 0;
...@@ -386,7 +386,7 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs() ...@@ -386,7 +386,7 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs()
} }
case fixedHeatFlux: case fixedHeatFlux:
{ {
refGrad() = (q_ - qr)/kappa(Tp); refGrad() = (q_ + qr)/kappa(Tp);
refValue() = 0; refValue() = 0;
valueFraction() = 0; valueFraction() = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment