42#ifndef Foam_ThermoSurfaceFilm_H
43#define Foam_ThermoSurfaceFilm_H
57template<
class CloudType>
100 const label filmPatchi,
101 const label primaryPatchi,
112 const label filmFacei
149 template<
class filmType>
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
const CloudType & owner() const
Return const access to the owner cloud.
KinematicSurfaceFilm(const dictionary &dict, CloudType &owner, const word &type=typeName, bool initThermo=true)
Construct from components.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
virtual void setParcelProperties(parcelType &p, const label filmFacei) const
Set the individual parcel properties.
virtual ~ThermoSurfaceFilm()=default
Destructor.
void absorbInteraction(filmType &, const parcelType &p, const polyPatch &pp, const label facei, const scalar mass, bool &keepParticle)
Absorb parcel into film.
scalarField CpFilmPatch_
Film specific heat capacity / patch face.
regionModels::areaSurfaceFilmModels::liquidFilmBase areaFilm
regionModels::surfaceFilmModels::surfaceFilmRegionModel regionFilm
virtual void cacheFilmFields(const label filmPatchi, const label primaryPatchi, const regionFilm &)
Cache the film fields in preparation for injection.
TypeName("thermoSurfaceFilm")
Runtime type information.
ThermoSurfaceFilm(const dictionary &dict, CloudType &owner)
Construct from components.
virtual void info()
Write surface film info.
scalarField TFilmPatch_
Film temperature / patch face.
const SLGThermo & thermo_
Reference to the cloud thermo package.
CloudType::parcelType parcelType
Convenience typedef to the cloud's parcel type.
virtual autoPtr< SurfaceFilmModel< CloudType > > clone() const
Construct and return a clone using supplied owner cloud.
virtual bool transferParcel(parcelType &p, const polyPatch &pp, bool &keepParticle)
Transfer parcel from cloud to surface film.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A patch is a list of labels that address the faces in the global face list.
Base class for surface film models.
DSMCCloud< dsmcParcel > CloudType
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.