BUG: Correcting thermal resistance in layer

This commit is contained in:
Sergio Ferraris
2013-12-12 12:34:07 +00:00
parent bead2562c4
commit 0f63d8f29b

View File

@ -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];
} }
} }
} }