Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ThermoSurfaceFilm< CloudType > Class Template Reference

Thermo parcel surface film model. More...

Inheritance diagram for ThermoSurfaceFilm< CloudType >:
Inheritance graph
[legend]
Collaboration diagram for ThermoSurfaceFilm< CloudType >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("thermoSurfaceFilm")
 
 ThermoSurfaceFilm (const dictionary &dict, CloudType &owner)
 
 ThermoSurfaceFilm (const ThermoSurfaceFilm< CloudType > &sfm)
 
virtual autoPtr< SurfaceFilmModel< CloudType > > clone () const
 
virtual ~ThermoSurfaceFilm ()=default
 
virtual bool transferParcel (parcelType &p, const polyPatch &pp, bool &keepParticle)
 
virtual void info (Ostream &os)
 
- Public Member Functions inherited from KinematicSurfaceFilm< CloudType >
interactionType interactionTypeEnum (const word &it) const
 
word interactionTypeStr (const interactionType &it) const
 
 TypeName ("kinematicSurfaceFilm")
 
 KinematicSurfaceFilm (const dictionary &dict, CloudType &owner, const word &type=typeName, bool initThermo=true)
 
 KinematicSurfaceFilm (const KinematicSurfaceFilm< CloudType > &sfm, bool initThermo=true)
 
virtual ~KinematicSurfaceFilm ()=default
 
template<class filmType >
void absorbInteraction (filmType &, const parcelType &p, const polyPatch &pp, const label facei, const scalar mass, bool &keepParticle)
 
void bounceInteraction (parcelType &p, const polyPatch &pp, const label facei, bool &keepParticle) const
 
template<class filmType >
void drySplashInteraction (filmType &, const scalar sigma, const scalar mu, const parcelType &p, const polyPatch &pp, const label facei, bool &keepParticle)
 
template<class filmType >
void wetSplashInteraction (filmType &, const scalar sigma, const scalar mu, parcelType &p, const polyPatch &pp, const label facei, bool &keepParticle)
 
template<class filmType >
void splashInteraction (filmType &, const parcelType &p, const polyPatch &pp, const label facei, const scalar mRatio, const scalar We, const scalar Wec, const scalar sigma, bool &keepParticle)
 
- Public Member Functions inherited from SurfaceFilmModel< CloudType >
void injectParticles (const label primaryPatchi, const labelList &injectorCellsPatch, CloudTrackType &cloud)
 
 TypeName ("surfaceFilmModel")
 
 declareRunTimeSelectionTable (autoPtr, SurfaceFilmModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 
 SurfaceFilmModel (CloudType &owner)
 
 SurfaceFilmModel (const dictionary &dict, CloudType &owner, const word &type)
 
 SurfaceFilmModel (const SurfaceFilmModel< CloudType > &sfm)
 
virtual autoPtr< SurfaceFilmModel< CloudType > > clone () const=0
 
virtual ~SurfaceFilmModel ()
 
const dimensionedVectorg () const
 
label nParcelsTransferred () const
 
label & nParcelsTransferred ()
 
label nParcelsInjected () const
 
label & nParcelsInjected ()
 
scalar & totalMassTransferred ()
 
scalar totalMassTransferred () const
 
void inject (TrackCloudType &cloud)
 

Protected Types

typedef CloudType::parcelType parcelType
 
typedef regionModels::areaSurfaceFilmModels::liquidFilmBase areaFilm
 
typedef regionModels::surfaceFilmModels::surfaceFilmRegionModel regionFilm
 
- Protected Types inherited from KinematicSurfaceFilm< CloudType >
typedef CloudType::parcelType parcelType
 
typedef regionModels::areaSurfaceFilmModels::liquidFilmBase areaFilm
 
typedef regionModels::surfaceFilmModels::surfaceFilmRegionModel regionFilm
 
- Protected Types inherited from SurfaceFilmModel< CloudType >
typedef CloudType::parcelType parcelType
 
typedef regionModels::areaSurfaceFilmModels::liquidFilmBase areaFilm
 

Protected Member Functions

virtual void cacheFilmFields (const label primaryPatchi, const areaFilm &)
 
virtual void cacheFilmFields (const label filmPatchi, const label primaryPatchi, const regionFilm &)
 
virtual void setParcelProperties (parcelType &p, const label filmFacei) const
 
- Protected Member Functions inherited from KinematicSurfaceFilm< CloudType >
vector tangentVector (const vector &v) const
 
vector splashDirection (const vector &tanVec1, const vector &tanVec2, const vector &nf) const
 
void init (bool binitThermo)
 
void initFilmModels ()
 
- Protected Member Functions inherited from SurfaceFilmModel< CloudType >
void injectParticles (const label primaryPatchi, const labelList &injectorCellsPatch, TrackCloudType &cloud)
 

Protected Attributes

const SLGThermothermo_
 
scalarField TFilmPatch_
 
scalarField CpFilmPatch_
 
- Protected Attributes inherited from KinematicSurfaceFilm< CloudType >
RandomrndGen_
 
liquidMixturePropertiesthermo_
 
scalar pRef_
 
scalar TRef_
 
regionFilmfilmModel_
 
UPtrList< areaFilmareaFilms_
 
interactionType interactionType_
 
scalar deltaWet_
 
label splashParcelType_
 
label parcelsPerSplash_
 
scalar Adry_
 
scalar Awet_
 
scalar Cf_
 
label nParcelsSplashed_
 
- Protected Attributes inherited from SurfaceFilmModel< CloudType >
const dimensionedVectorg_
 
label ejectedParcelType_
 
scalar injectionOffset_
 
scalar minDiameter_
 
scalarField massParcelPatch_
 
scalarField diameterParcelPatch_
 
Field< vectorUFilmPatch_
 
scalarField rhoFilmPatch_
 
Field< scalarFielddeltaFilmPatch_
 
label nParcelsTransferred_
 
label nParcelsInjected_
 
scalar totalMassTransferred_
 

Additional Inherited Members

- Public Types inherited from KinematicSurfaceFilm< CloudType >
enum  interactionType { itAbsorb, itBounce, itSplashBai }
 
- Static Public Member Functions inherited from SurfaceFilmModel< CloudType >
static autoPtr< SurfaceFilmModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 
- Static Public Attributes inherited from KinematicSurfaceFilm< CloudType >
static wordList interactionTypeNames_
 

Detailed Description

template<class CloudType>
class Foam::ThermoSurfaceFilm< CloudType >

Thermo parcel surface film model.

Source files

Definition at line 53 of file ThermoSurfaceFilm.H.

Member Typedef Documentation

◆ parcelType

typedef CloudType::parcelType parcelType
protected

Definition at line 62 of file ThermoSurfaceFilm.H.

◆ areaFilm

Definition at line 65 of file ThermoSurfaceFilm.H.

◆ regionFilm

Definition at line 68 of file ThermoSurfaceFilm.H.

Constructor & Destructor Documentation

◆ ThermoSurfaceFilm() [1/2]

ThermoSurfaceFilm ( const dictionary dict,
CloudType owner 
)

Definition at line 28 of file ThermoSurfaceFilm.C.

◆ ThermoSurfaceFilm() [2/2]

Definition at line 45 of file ThermoSurfaceFilm.C.

◆ ~ThermoSurfaceFilm()

virtual ~ThermoSurfaceFilm ( )
virtualdefault

Member Function Documentation

◆ cacheFilmFields() [1/2]

void cacheFilmFields ( const label  primaryPatchi,
const areaFilm filmModel 
)
protectedvirtual

Reimplemented from KinematicSurfaceFilm< CloudType >.

Definition at line 222 of file ThermoSurfaceFilm.C.

References liquidFilmBase::Cp(), volSurfaceMapping::mapToField(), liquidFilmBase::region(), liquidFilmBase::Tf(), regionFaModel::vsm(), and Foam::Zero.

Here is the call graph for this function:

◆ cacheFilmFields() [2/2]

void cacheFilmFields ( const label  filmPatchi,
const label  primaryPatchi,
const regionFilm filmModel 
)
protectedvirtual

Reimplemented from KinematicSurfaceFilm< CloudType >.

Definition at line 199 of file ThermoSurfaceFilm.C.

References GeometricField::boundaryField(), surfaceFilmRegionModel::Cp(), regionModel::toPrimary(), and surfaceFilmRegionModel::Ts().

Here is the call graph for this function:

◆ setParcelProperties()

void setParcelProperties ( parcelType p,
const label  filmFacei 
) const
protectedvirtual

Reimplemented from KinematicSurfaceFilm< CloudType >.

Definition at line 243 of file ThermoSurfaceFilm.C.

References p.

◆ TypeName()

TypeName ( "thermoSurfaceFilm"  )

◆ clone()

virtual autoPtr<SurfaceFilmModel<CloudType> > clone ( ) const
inlinevirtual

Reimplemented from KinematicSurfaceFilm< CloudType >.

Definition at line 124 of file ThermoSurfaceFilm.H.

◆ transferParcel()

bool transferParcel ( parcelType p,
const polyPatch pp,
bool keepParticle 
)
virtual

◆ info()

void info ( Ostream os)
virtual

Reimplemented from KinematicSurfaceFilm< CloudType >.

Definition at line 257 of file ThermoSurfaceFilm.C.

References os().

Here is the call graph for this function:

Member Data Documentation

◆ thermo_

const SLGThermo& thermo_
protected

Definition at line 71 of file ThermoSurfaceFilm.H.

◆ TFilmPatch_

scalarField TFilmPatch_
protected

Definition at line 77 of file ThermoSurfaceFilm.H.

◆ CpFilmPatch_

scalarField CpFilmPatch_
protected

Definition at line 80 of file ThermoSurfaceFilm.H.


The documentation for this class was generated from the following files: