Commit 70bed0e8 authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

externalWallHeatFluxTemperatureFvPatchScalarField: Corrected decomposition mapping

parent f549e28f
......@@ -184,7 +184,33 @@ externalWallHeatFluxTemperatureFvPatchScalarField
qrName_(ptf.qrName_),
thicknessLayers_(ptf.thicknessLayers_),
kappaLayers_(ptf.kappaLayers_)
{}
{
switch (mode_)
{
case fixedPower:
{
break;
}
case fixedHeatFlux:
{
q_.map(ptf.q_, mapper);
break;
}
case fixedHeatTransferCoeff:
{
h_.map(ptf.h_, mapper);
Ta_.map(ptf.Ta_, mapper);
break;
}
}
if (qrName_ != "none")
{
qrPrevious_.map(ptf.qrPrevious_, mapper);
}
}
Foam::externalWallHeatFluxTemperatureFvPatchScalarField::
......
Supports Markdown
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