Constant thermo model. More...
#include <constantFilmThermo.H>


Classes | |
| struct | thermoData |
Public Member Functions | |
| TypeName ("constant") | |
| Runtime type information. | |
| constantFilmThermo (surfaceFilmRegionModel &film, const dictionary &dict) | |
| Construct from surface film model and dictionary. | |
| virtual | ~constantFilmThermo () |
| Destructor. | |
| virtual const word & | name () const |
| Return the specie name. | |
| virtual scalar | rho (const scalar p, const scalar T) const |
| Return density [kg/m3]. | |
| virtual scalar | mu (const scalar p, const scalar T) const |
| Return dynamic viscosity [Pa.s]. | |
| virtual scalar | sigma (const scalar p, const scalar T) const |
| Return surface tension [kg/s2]. | |
| virtual scalar | Cp (const scalar p, const scalar T) const |
| Return specific heat capacity [J/kg/K]. | |
| virtual scalar | kappa (const scalar p, const scalar T) const |
| Return thermal conductivity [W/m/K]. | |
| virtual scalar | D (const scalar p, const scalar T) const |
| Return diffusivity [m2/s]. | |
| virtual scalar | hl (const scalar p, const scalar T) const |
| Return latent heat [J/kg]. | |
| virtual scalar | pv (const scalar p, const scalar T) const |
| Return vapour pressure [Pa]. | |
| virtual scalar | W () const |
| Return molecular weight [kg/kmol]. | |
| virtual scalar | Tb (const scalar p) const |
| Return boiling temperature [K]. | |
| virtual tmp< volScalarField > | rho () const |
| Return density [kg/m3]. | |
| virtual tmp< volScalarField > | mu () const |
| Return dynamic viscosity [Pa.s]. | |
| virtual tmp< volScalarField > | sigma () const |
| Return surface tension [kg/s2]. | |
| virtual tmp< volScalarField > | Cp () const |
| Return specific heat capacity [J/kg/K]. | |
| virtual tmp< volScalarField > | kappa () const |
| Return thermal conductivity [W/m/K]. | |
| Public Member Functions inherited from filmThermoModel | |
| TypeName ("filmThermoModel") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, filmThermoModel, dictionary,(surfaceFilmRegionModel &film, const dictionary &dict),(film, dict)) | |
| filmThermoModel (surfaceFilmRegionModel &film) | |
| Construct null. | |
| filmThermoModel (const word &modelType, surfaceFilmRegionModel &film, const dictionary &dict) | |
| Construct from type name, dictionary and surface film model. | |
| virtual | ~filmThermoModel () |
| Destructor. | |
| Public Member Functions inherited from filmSubModelBase | |
| filmSubModelBase (surfaceFilmRegionModel &film) | |
| Construct null. | |
| filmSubModelBase (surfaceFilmRegionModel &film, const dictionary &dict, const word &baseName, const word &modelType, const word &dictExt="Coeffs") | |
| Construct from film film without name. | |
| filmSubModelBase (const word &modelName, surfaceFilmRegionModel &film, const dictionary &dict, const word &baseName, const word &modelType) | |
| Construct from film film with name. | |
| virtual | ~filmSubModelBase () |
| Destructor. | |
| virtual bool | writeTime () const |
| Flag to indicate when to write a property. | |
| const surfaceFilmRegionModel & | film () const |
| Return const access to the film surface film model. | |
| surfaceFilmRegionModel & | film () |
| Return the reference to the film surface film model. | |
| template<class FilmType> | |
| const FilmType & | filmType () const |
| Public Member Functions inherited from subModelBase | |
| subModelBase (dictionary &properties) | |
| Construct null. | |
| subModelBase (dictionary &properties, const dictionary &dict, const word &baseName, const word &modelType, const word &dictExt="Coeffs") | |
| Construct from components without name. | |
| subModelBase (const word &modelName, dictionary &properties, const dictionary &dict, const word &baseName, const word &modelType) | |
| Construct from components with name. | |
| subModelBase (const subModelBase &smb) | |
| Construct as copy. | |
| virtual | ~subModelBase ()=default |
| Destructor. | |
| const word & | modelName () const |
| Return const access to the name of the sub-model. | |
| const dictionary & | dict () const |
| Return const access to the cloud dictionary. | |
| const word & | baseName () const |
| Return const access to the base name of the sub-model. | |
| const word & | modelType () const |
| Return const access to the sub-model type. | |
| const dictionary & | coeffDict () const |
| Return const access to the coefficients dictionary. | |
| const dictionary & | properties () const |
| Return const access to the properties dictionary. | |
| virtual bool | defaultCoeffs (const bool printMsg) const |
| Returns true if defaultCoeffs is true and outputs on printMsg. | |
| virtual bool | active () const |
| Return the model 'active' status - default active = true. | |
| virtual void | cacheFields (const bool store) |
| Cache dependent sub-model fields. | |
| virtual fileName | localPath () const |
| Output directory. | |
| template<class Type> | |
| Type | getBaseProperty (const word &entryName, const Type &defaultValue=Type(Zero)) const |
| Retrieve generic property from the base model. | |
| template<class Type> | |
| void | getBaseProperty (const word &entryName, Type &value) const |
| Retrieve generic property from the base model. | |
| template<class Type> | |
| void | setBaseProperty (const word &entryName, const Type &value) |
| Add generic property to the base model. | |
| bool | getModelDict (const word &entryName, dictionary &dict) const |
| Retrieve dictionary, return true if set. | |
| template<class Type> | |
| bool | getModelProperty (const word &entryName, Type &value) const |
| Retrieve generic property from the sub-model. | |
| template<class Type> | |
| Type | getModelProperty (const word &entryName, const Type &defaultValue=Type(Zero)) const |
| Retrieve generic property from the sub-model. | |
| template<class Type> | |
| void | setModelProperty (const word &entryName, const Type &value) |
| Add generic property to the sub-model. | |
| virtual void | write (Ostream &os) const |
| Write. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from filmThermoModel | |
| static autoPtr< filmThermoModel > | New (surfaceFilmRegionModel &film, const dictionary &dict) |
| Return a reference to the selected phase change model. | |
| Public Attributes inherited from subModelBase | |
| bool | log |
| Flag to write log into Info. | |
| Protected Member Functions inherited from subModelBase | |
| bool | inLine () const |
| Flag to indicate whether data is/was read in-line. | |
| Protected Attributes inherited from filmSubModelBase | |
| surfaceFilmRegionModel & | filmModel_ |
| Reference to the film surface film model. | |
| Protected Attributes inherited from subModelBase | |
| const word | modelName_ |
| Name of the sub-model. | |
| dictionary & | properties_ |
| Reference to properties dictionary e.g. for restart. | |
| const dictionary | dict_ |
| Copy of dictionary used during construction. | |
| const word | baseName_ |
| Name of the sub-model base class. | |
| const word | modelType_ |
| Type of the sub-model. | |
| const dictionary | coeffDict_ |
| Coefficients dictionary. | |
| constantFilmThermo | ( | surfaceFilmRegionModel & | film, |
| const dictionary & | dict ) |
Construct from surface film model and dictionary.
Definition at line 58 of file constantFilmThermo.C.
References subModelBase::coeffDict_, subModelBase::dict(), filmSubModelBase::film(), and Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName.

|
virtual |
Destructor.
Definition at line 92 of file constantFilmThermo.C.
| TypeName | ( | "constant" | ) |
Runtime type information.
References subModelBase::dict(), filmSubModelBase::film(), p, and Foam::T().

|
virtual |
Return the specie name.
Implements filmThermoModel.
Definition at line 98 of file constantFilmThermo.C.
|
virtual |
Return density [kg/m3].
Implements filmThermoModel.
Definition at line 104 of file constantFilmThermo.C.
References subModelBase::coeffDict_, p, and Foam::T().

|
virtual |
Return dynamic viscosity [Pa.s].
Implements filmThermoModel.
Definition at line 120 of file constantFilmThermo.C.
References subModelBase::coeffDict_, p, and Foam::T().

|
virtual |
Return surface tension [kg/s2].
Implements filmThermoModel.
Definition at line 136 of file constantFilmThermo.C.
References subModelBase::coeffDict_, p, and Foam::T().

|
virtual |
Return specific heat capacity [J/kg/K].
Implements filmThermoModel.
Definition at line 152 of file constantFilmThermo.C.
References subModelBase::coeffDict_, p, and Foam::T().

|
virtual |
Return thermal conductivity [W/m/K].
Implements filmThermoModel.
Definition at line 168 of file constantFilmThermo.C.
References subModelBase::coeffDict_, p, and Foam::T().

|
virtual |
Return diffusivity [m2/s].
Implements filmThermoModel.
Definition at line 184 of file constantFilmThermo.C.
References subModelBase::coeffDict_, p, and Foam::T().

|
virtual |
Return latent heat [J/kg].
Implements filmThermoModel.
Definition at line 200 of file constantFilmThermo.C.
References subModelBase::coeffDict_, p, and Foam::T().

|
virtual |
Return vapour pressure [Pa].
Implements filmThermoModel.
Definition at line 216 of file constantFilmThermo.C.
References subModelBase::coeffDict_, p, and Foam::T().

|
virtual |
Return molecular weight [kg/kmol].
Implements filmThermoModel.
Definition at line 232 of file constantFilmThermo.C.
References subModelBase::coeffDict_.
|
virtual |
Return boiling temperature [K].
Implements filmThermoModel.
Definition at line 244 of file constantFilmThermo.C.
References subModelBase::coeffDict_, and p.
|
virtual |
Return density [kg/m3].
Implements filmThermoModel.
Definition at line 256 of file constantFilmThermo.C.
References Foam::dimDensity, fvPatchFieldBase::extrapolatedCalculatedType(), filmSubModelBase::film(), GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, rho(), IOobject::scopedName(), trho, Foam::type(), and Foam::Zero.
Referenced by rho().


|
virtual |
Return dynamic viscosity [Pa.s].
Implements filmThermoModel.
Definition at line 274 of file constantFilmThermo.C.
References Foam::dimPressure, Foam::dimTime, filmSubModelBase::film(), mu(), GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, IOobject::scopedName(), Foam::type(), and Foam::Zero.
Referenced by mu().


|
virtual |
Return surface tension [kg/s2].
Implements filmThermoModel.
Definition at line 292 of file constantFilmThermo.C.
References Foam::dimMass, Foam::dimTime, filmSubModelBase::film(), GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, IOobject::scopedName(), sigma(), Foam::sqr(), Foam::type(), and Foam::Zero.
Referenced by sigma().


|
virtual |
Return specific heat capacity [J/kg/K].
Implements filmThermoModel.
Definition at line 310 of file constantFilmThermo.C.
References Cp(), Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, filmSubModelBase::film(), GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, IOobject::scopedName(), tCp, Foam::type(), and Foam::Zero.
Referenced by Cp().


|
virtual |
Return thermal conductivity [W/m/K].
Implements filmThermoModel.
Definition at line 328 of file constantFilmThermo.C.
References Foam::dimLength, Foam::dimPower, Foam::dimTemperature, filmSubModelBase::film(), kappa(), GeometricField< scalar, fvPatchField, volMesh >::New(), IOobjectOption::NO_REGISTER, IOobject::scopedName(), Foam::type(), and Foam::Zero.
Referenced by kappa().

