ENH: Surface film - updated automatic construction of enthalpy boundary

condition types
This commit is contained in:
andy
2013-10-10 17:11:49 +01:00
parent 565825b72d
commit 298e27ac1a

View File

@ -60,7 +60,11 @@ wordList thermoSingleLayer::hsBoundaryTypes()
wordList bTypes(T_.boundaryField().types());
forAll(bTypes, patchI)
{
if (bTypes[patchI] == mappedFieldFvPatchField<scalar>::typeName)
if
(
T_.boundaryField()[patchI].fixesValue()
|| bTypes[patchI] == mappedFieldFvPatchField<scalar>::typeName
)
{
bTypes[patchI] = fixedValueFvPatchField<scalar>::typeName;
}