parcelSurfaceFilmModels: By default read the surfaceFilmProperties dictionary
This commit is contained in:
@ -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_(),
|
||||||
|
|||||||
@ -122,11 +122,9 @@ subModels
|
|||||||
thermoSurfaceFilmCoeffs
|
thermoSurfaceFilmCoeffs
|
||||||
{
|
{
|
||||||
interactionType absorb;
|
interactionType absorb;
|
||||||
surfaceFilms ("surfaceFilm");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
cloudFunctions
|
cloudFunctions
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
@ -152,7 +152,6 @@ subModels
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
cloudFunctions
|
cloudFunctions
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user