mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Correcting thermal resistance in layer
This commit is contained in:
@ -263,9 +263,9 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs()
|
|||||||
forAll (thicknessLayers_, iLayer)
|
forAll (thicknessLayers_, iLayer)
|
||||||
{
|
{
|
||||||
const scalar l = thicknessLayers_[iLayer];
|
const scalar l = thicknessLayers_[iLayer];
|
||||||
if (l > 0.0)
|
if (kappaLayers_[iLayer] > 0.0)
|
||||||
{
|
{
|
||||||
totalSolidRes += kappaLayers_[iLayer]/l;
|
totalSolidRes += l/kappaLayers_[iLayer];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user