unityLewisFourier: Corrected unityLewisFourier::j for FickianFourier which inherits it

Resolves bug-report https://bugs.openfoam.org/view.php?id=3743
This commit is contained in:
Henry Weller
2021-10-22 22:31:25 +01:00
parent c01118589f
commit c515e74e00

View File

@ -98,7 +98,7 @@ unityLewisFourier<BasicThermophysicalTransportModel>::q() const
"q",
this->momentumTransport().alphaRhoPhi().group()
),
-fvc::interpolate(this->thermo().alpha()*this->alpha())
-fvc::interpolate(this->alpha()*this->thermo().alpha())
*fvc::snGrad(this->thermo().he())
);
}
@ -126,7 +126,7 @@ tmp<surfaceScalarField>unityLewisFourier<BasicThermophysicalTransportModel>::j
"j(" + Yi.name() + ')',
this->momentumTransport().alphaRhoPhi().group()
),
-fvc::interpolate(this->thermo().alpha()*this->alpha())
-fvc::interpolate(this->alpha()*this->DEff(Yi))
*fvc::snGrad(Yi)
);
}