mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Surface film - updated automatic construction of enthalpy boundary
condition types
This commit is contained in:
@ -60,7 +60,11 @@ wordList thermoSingleLayer::hsBoundaryTypes()
|
|||||||
wordList bTypes(T_.boundaryField().types());
|
wordList bTypes(T_.boundaryField().types());
|
||||||
forAll(bTypes, patchI)
|
forAll(bTypes, patchI)
|
||||||
{
|
{
|
||||||
if (bTypes[patchI] == mappedFieldFvPatchField<scalar>::typeName)
|
if
|
||||||
|
(
|
||||||
|
T_.boundaryField()[patchI].fixesValue()
|
||||||
|
|| bTypes[patchI] == mappedFieldFvPatchField<scalar>::typeName
|
||||||
|
)
|
||||||
{
|
{
|
||||||
bTypes[patchI] = fixedValueFvPatchField<scalar>::typeName;
|
bTypes[patchI] = fixedValueFvPatchField<scalar>::typeName;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user