Skip to content
Snippets Groups Projects
Commit 0f63d8f2 authored by Sergio Ferraris's avatar Sergio Ferraris
Browse files

BUG: Correcting thermal resistance in layer

parent bead2562
Branches
Tags
No related merge requests found
......@@ -263,9 +263,9 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs()
forAll (thicknessLayers_, iLayer)
{
const scalar l = thicknessLayers_[iLayer];
if (l > 0.0)
if (kappaLayers_[iLayer] > 0.0)
{
totalSolidRes += kappaLayers_[iLayer]/l;
totalSolidRes += l/kappaLayers_[iLayer];
}
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment