Commit 2797ec2d authored by Henry Weller's avatar Henry Weller
Browse files

externalWallHeatFluxTemperatureFvPatchScalarField: Corrected handling of QrPrevious_

Patch contributed by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2052
parent 8c6fa81e
......@@ -70,7 +70,7 @@ externalWallHeatFluxTemperatureFvPatchScalarField
q_(p.size(), 0.0),
h_(p.size(), 0.0),
Ta_(p.size(), 0.0),
QrPrevious_(p.size()),
QrPrevious_(p.size(), 0.0),
QrRelaxation_(1),
QrName_("undefined-Qr"),
thicknessLayers_(),
......@@ -228,6 +228,7 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::autoMap
q_.autoMap(m);
h_.autoMap(m);
Ta_.autoMap(m);
QrPrevious_.autoMap(m);
}
......@@ -245,6 +246,7 @@ void Foam::externalWallHeatFluxTemperatureFvPatchScalarField::rmap
q_.rmap(tiptf.q_, addr);
h_.rmap(tiptf.h_, addr);
Ta_.rmap(tiptf.Ta_, addr);
QrPrevious_.rmap(tiptf.QrPrevious_, addr);
}
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -82,9 +82,13 @@ Description
}
\endverbatim
Note
- Only supply \c h and \c Ta, or \c q in the dictionary (see above)
- kappa entries can be: fluidThermo, solidThermo or lookup
Note:
\li Only supply \c h and \c Ta, or \c q in the dictionary (see above)
\li \c kappa and \c kappaName are inherited from temperatureCoupledBase.
SeeAlso
Foam::temperatureCoupledBase
SourceFiles
externalWallHeatFluxTemperatureFvPatchScalarField.C
......
Markdown is supported
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