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

View File

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

View File

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