parcelSurfaceFilmModels: By default read the surfaceFilmProperties dictionary

This commit is contained in:
Henry Weller
2023-04-30 20:25:20 +01:00
parent 28305bbb2b
commit fd4f862cc0
3 changed files with 3 additions and 6 deletions

View File

@ -445,8 +445,7 @@ Foam::ThermoSurfaceFilm<CloudType>::filmPtrs() const
HashTable<const thermoSurfaceFilm*> filmPtrs = HashTable<const thermoSurfaceFilm*> filmPtrs =
db.lookupClass<thermoSurfaceFilm>(); db.lookupClass<thermoSurfaceFilm>();
const word defaultName = const word defaultName = surfaceFilm::typeName + "Properties";
thermoSurfaceFilm::typeName + "Properties";
if if
( (
@ -457,6 +456,7 @@ Foam::ThermoSurfaceFilm<CloudType>::filmPtrs() const
|| (filmPtrs.size() > 1) || (filmPtrs.size() > 1)
) )
{ {
Info << filmPtrs.begin().key() << " " << defaultName << endl;
this->coeffDict().lookup("surfaceFilms"); this->coeffDict().lookup("surfaceFilms");
} }
} }
@ -577,7 +577,7 @@ Foam::ThermoSurfaceFilm<CloudType>::ThermoSurfaceFilm
this->coeffDict().lookupOrDefault this->coeffDict().lookupOrDefault
( (
"surfaceFilms", "surfaceFilms",
wordList(1, thermoSurfaceFilm::typeName) wordList(1, surfaceFilm::typeName)
) )
), ),
films_(), films_(),

View File

@ -122,11 +122,9 @@ subModels
thermoSurfaceFilmCoeffs thermoSurfaceFilmCoeffs
{ {
interactionType absorb; interactionType absorb;
surfaceFilms ("surfaceFilm");
} }
} }
cloudFunctions cloudFunctions
{} {}

View File

@ -152,7 +152,6 @@ subModels
} }
} }
cloudFunctions cloudFunctions
{} {}