thermoSingleLayer: Reinstate support for externalWallHeatFluxTemperature

This commit is contained in:
Henry Weller
2017-09-22 11:55:18 +01:00
parent 91abe4ffd9
commit 5bcaf1d18b

View File

@ -28,11 +28,12 @@ License
#include "fvcLaplacian.H"
#include "fvcFlux.H"
#include "fvm.H"
#include "addToRunTimeSelectionTable.H"
#include "zeroGradientFvPatchFields.H"
#include "mixedFvPatchFields.H"
#include "mappedFieldFvPatchField.H"
#include "mapDistribute.H"
#include "constants.H"
#include "addToRunTimeSelectionTable.H"
// Sub-models
#include "filmThermoModel.H"
@ -66,7 +67,8 @@ wordList thermoSingleLayer::hsBoundaryTypes()
if
(
T_.boundaryField()[patchi].fixesValue()
|| bTypes[patchi] == mappedFieldFvPatchField<scalar>::typeName
|| isA<mixedFvPatchScalarField>(T_.boundaryField()[patchi])
|| isA<mappedFieldFvPatchField<scalar>>(T_.boundaryField()[patchi])
)
{
bTypes[patchi] = fixedValueFvPatchField<scalar>::typeName;