externalWallHeatFluxTemperatureFvPatchScalarField: Corrected handling of QrPrevious_

Patch contributed by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2052
This commit is contained in:
Henry Weller
2016-04-16 18:43:51 +01:00
parent 287603474a
commit eda27b9e75
2 changed files with 11 additions and 5 deletions

View File

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

View File

@ -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