ENH: thermoSingleLayer: Reinstate support for externalWallHeatFluxTemperature

This commit is contained in:
Henry Weller
2017-09-22 11:55:18 +01:00
committed by Andrew Heather
parent 4636f190da
commit 2b47b72fa8

View File

@ -29,11 +29,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"
@ -67,7 +68,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;