Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
liquidFilmThermo Class Reference

Liquid thermo model. More...

Inheritance diagram for liquidFilmThermo:
Inheritance graph
[legend]
Collaboration diagram for liquidFilmThermo:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("liquid")
 
 liquidFilmThermo (surfaceFilmRegionModel &film, const dictionary &dict)
 
virtual ~liquidFilmThermo ()
 
virtual const wordname () const
 
virtual scalar rho (const scalar p, const scalar T) const
 
virtual scalar mu (const scalar p, const scalar T) const
 
virtual scalar sigma (const scalar p, const scalar T) const
 
virtual scalar Cp (const scalar p, const scalar T) const
 
virtual scalar kappa (const scalar p, const scalar T) const
 
virtual scalar D (const scalar p, const scalar T) const
 
virtual scalar hl (const scalar p, const scalar T) const
 
virtual scalar pv (const scalar p, const scalar T) const
 
virtual scalar W () const
 
virtual scalar Tb (const scalar p) const
 
virtual tmp< volScalarFieldrho () const
 
virtual tmp< volScalarFieldmu () const
 
virtual tmp< volScalarFieldsigma () const
 
virtual tmp< volScalarFieldCp () const
 
virtual tmp< volScalarFieldkappa () const
 
- Public Member Functions inherited from filmThermoModel
 TypeName ("filmThermoModel")
 
 declareRunTimeSelectionTable (autoPtr, filmThermoModel, dictionary,(surfaceFilmRegionModel &film, const dictionary &dict),(film, dict))
 
 filmThermoModel (surfaceFilmRegionModel &film)
 
 filmThermoModel (const word &modelType, surfaceFilmRegionModel &film, const dictionary &dict)
 
virtual ~filmThermoModel ()
 
- Public Member Functions inherited from filmSubModelBase
 filmSubModelBase (surfaceFilmRegionModel &film)
 
 filmSubModelBase (surfaceFilmRegionModel &film, const dictionary &dict, const word &baseName, const word &modelType, const word &dictExt="Coeffs")
 
 filmSubModelBase (const word &modelName, surfaceFilmRegionModel &film, const dictionary &dict, const word &baseName, const word &modelType)
 
virtual ~filmSubModelBase ()
 
virtual bool writeTime () const
 
const surfaceFilmRegionModelfilm () const
 
surfaceFilmRegionModelfilm ()
 
template<class FilmType >
const FilmType & filmType () const
 
- Public Member Functions inherited from subModelBase
 subModelBase (dictionary &properties)
 
 subModelBase (dictionary &properties, const dictionary &dict, const word &baseName, const word &modelType, const word &dictExt="Coeffs")
 
 subModelBase (const word &modelName, dictionary &properties, const dictionary &dict, const word &baseName, const word &modelType)
 
 subModelBase (const subModelBase &smb)
 
virtual ~subModelBase ()
 
const wordmodelName () const
 
const dictionarydict () const
 
const wordbaseName () const
 
const wordmodelType () const
 
const dictionarycoeffDict () const
 
const dictionaryproperties () const
 
virtual bool defaultCoeffs (const bool printMsg) const
 
virtual bool active () const
 
virtual void cacheFields (const bool store)
 
virtual fileName localPath () const
 
template<class Type >
Type getBaseProperty (const word &entryName, const Type &defaultValue=Type(Zero)) const
 
template<class Type >
void getBaseProperty (const word &entryName, Type &value) const
 
template<class Type >
void setBaseProperty (const word &entryName, const Type &value)
 
bool getModelDict (const word &entryName, dictionary &dict) const
 
template<class Type >
void getModelProperty (const word &entryName, Type &value) const
 
template<class Type >
Type getModelProperty (const word &entryName, const Type &defaultValue=Type(Zero)) const
 
template<class Type >
void setModelProperty (const word &entryName, const Type &value)
 
virtual void write (Ostream &os) const
 

Protected Member Functions

const thermoSingleLayerthermoFilm () const
 
void initLiquid (const dictionary &dict)
 
 liquidFilmThermo (const liquidFilmThermo &)=delete
 
void operator= (const liquidFilmThermo &)=delete
 
- Protected Member Functions inherited from subModelBase
bool inLine () const
 

Protected Attributes

word name_
 
const liquidPropertiesliquidPtr_
 
bool ownLiquid_
 
bool useReferenceValues_
 
scalar pRef_
 
scalar TRef_
 
- Protected Attributes inherited from filmSubModelBase
surfaceFilmRegionModelfilmModel_
 
- Protected Attributes inherited from subModelBase
const word modelName_
 
dictionaryproperties_
 
const dictionary dict_
 
const word baseName_
 
const word modelType_
 
const dictionary coeffDict_
 

Additional Inherited Members

- Static Public Member Functions inherited from filmThermoModel
static autoPtr< filmThermoModelNew (surfaceFilmRegionModel &film, const dictionary &dict)
 

Detailed Description

Liquid thermo model.

Source files

Definition at line 54 of file liquidFilmThermo.H.

Constructor & Destructor Documentation

◆ liquidFilmThermo() [1/2]

liquidFilmThermo ( const liquidFilmThermo )
protecteddelete

◆ liquidFilmThermo() [2/2]

liquidFilmThermo ( surfaceFilmRegionModel film,
const dictionary dict 
)

Definition at line 104 of file liquidFilmThermo.C.

◆ ~liquidFilmThermo()

~liquidFilmThermo ( )
virtual

Definition at line 129 of file liquidFilmThermo.C.

References Foam::deleteDemandDrivenData(), liquidFilmThermo::liquidPtr_, and liquidFilmThermo::ownLiquid_.

Here is the call graph for this function:

Member Function Documentation

◆ thermoFilm()

const thermoSingleLayer & thermoFilm ( ) const
protected

Definition at line 51 of file liquidFilmThermo.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and filmSubModelBase::filmModel_.

Referenced by liquidFilmThermo::Cp(), liquidFilmThermo::kappa(), liquidFilmThermo::mu(), liquidFilmThermo::rho(), and liquidFilmThermo::sigma().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initLiquid()

void initLiquid ( const dictionary dict)
protected

◆ operator=()

void operator= ( const liquidFilmThermo )
protecteddelete

◆ TypeName()

TypeName ( "liquid"  )

◆ name()

const word & name ( ) const
virtual

Implements filmThermoModel.

Definition at line 140 of file liquidFilmThermo.C.

References liquidFilmThermo::name_.

◆ rho() [1/2]

scalar rho ( const scalar  p,
const scalar  T 
) const
virtual

Implements filmThermoModel.

Definition at line 147 of file liquidFilmThermo.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ mu() [1/2]

scalar mu ( const scalar  p,
const scalar  T 
) const
virtual

Implements filmThermoModel.

Definition at line 157 of file liquidFilmThermo.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ sigma() [1/2]

scalar sigma ( const scalar  p,
const scalar  T 
) const
virtual

Implements filmThermoModel.

Definition at line 167 of file liquidFilmThermo.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cp() [1/2]

scalar Cp ( const scalar  p,
const scalar  T 
) const
virtual

Implements filmThermoModel.

Definition at line 177 of file liquidFilmThermo.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ kappa() [1/2]

scalar kappa ( const scalar  p,
const scalar  T 
) const
virtual

Implements filmThermoModel.

Definition at line 187 of file liquidFilmThermo.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ D()

scalar D ( const scalar  p,
const scalar  T 
) const
virtual

Implements filmThermoModel.

Definition at line 197 of file liquidFilmThermo.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ hl()

scalar hl ( const scalar  p,
const scalar  T 
) const
virtual

Implements filmThermoModel.

Definition at line 207 of file liquidFilmThermo.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ pv()

scalar pv ( const scalar  p,
const scalar  T 
) const
virtual

Implements filmThermoModel.

Definition at line 217 of file liquidFilmThermo.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ W()

scalar W ( ) const
virtual

Implements filmThermoModel.

Definition at line 226 of file liquidFilmThermo.C.

References liquidFilmThermo::liquidPtr_, and thermophysicalProperties::W().

Here is the call graph for this function:

◆ Tb()

scalar Tb ( const scalar  p) const
virtual

Implements filmThermoModel.

Definition at line 232 of file liquidFilmThermo.C.

References liquidFilmThermo::liquidPtr_, p, and liquidProperties::pvInvert().

Here is the call graph for this function:

◆ rho() [2/2]

tmp< volScalarField > rho ( ) const
virtual

◆ mu() [2/2]

tmp< volScalarField > mu ( ) const
virtual

◆ sigma() [2/2]

tmp< volScalarField > sigma ( ) const
virtual

◆ Cp() [2/2]

tmp< volScalarField > Cp ( ) const
virtual

◆ kappa() [2/2]

tmp< volScalarField > kappa ( ) const
virtual

Member Data Documentation

◆ name_

word name_
protected

Definition at line 63 of file liquidFilmThermo.H.

Referenced by liquidFilmThermo::initLiquid(), and liquidFilmThermo::name().

◆ liquidPtr_

const liquidProperties* liquidPtr_
protected

◆ ownLiquid_

bool ownLiquid_
protected

◆ useReferenceValues_

bool useReferenceValues_
protected

◆ pRef_

scalar pRef_
protected

◆ TRef_

scalar TRef_
protected

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