mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Reverting change on qr signs for power and heatFlux modes
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user