36 #ifndef filmThermoModel_H 37 #define filmThermoModel_H 46 namespace regionModels
48 namespace surfaceFilmModels
113 virtual const word&
name()
const = 0;
119 virtual scalar
rho(
const scalar
p,
const scalar
T)
const = 0;
122 virtual scalar
mu(
const scalar p,
const scalar T)
const = 0;
125 virtual scalar
sigma(
const scalar p,
const scalar T)
const = 0;
128 virtual scalar
Cp(
const scalar p,
const scalar T)
const = 0;
131 virtual scalar
kappa(
const scalar p,
const scalar T)
const = 0;
134 virtual scalar
D(
const scalar p,
const scalar T)
const = 0;
137 virtual scalar
hl(
const scalar p,
const scalar T)
const = 0;
140 virtual scalar
pv(
const scalar p,
const scalar T)
const = 0;
143 virtual scalar
W()
const = 0;
146 virtual scalar
Tb(
const scalar p)
const = 0;
virtual tmp< volScalarField > mu() const =0
Return dynamic viscosity [Pa.s].
virtual const word & name() const =0
Return the specie name.
Base class for surface film models.
virtual tmp< volScalarField > kappa() const =0
Return thermal conductivity [W/m/K].
Base class for surface film sub-models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Base class for film thermo models.
virtual scalar hl(const scalar p, const scalar T) const =0
Return latent heat [J/kg].
declareRunTimeSelectionTable(autoPtr, filmThermoModel, dictionary,(surfaceFilmRegionModel &film, const dictionary &dict),(film, dict))
static autoPtr< filmThermoModel > New(surfaceFilmRegionModel &film, const dictionary &dict)
Return a reference to the selected phase change model.
TypeName("filmThermoModel")
Runtime type information.
const dictionary & dict() const
Return const access to the cloud dictionary.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
virtual tmp< volScalarField > rho() const =0
Return density [kg/m^3].
A class for handling words, derived from string.
virtual tmp< volScalarField > Cp() const =0
Return specific heat capacity [J/kg/K].
filmThermoModel(surfaceFilmRegionModel &film)
Construct null.
virtual scalar D(const scalar p, const scalar T) const =0
Return diffusivity [m^2/s].
virtual scalar Tb(const scalar p) const =0
Return boiling temperature [K].
const word & modelType() const
Return const access to the sub-model type.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual scalar W() const =0
Return molecular weight [kg/kmol].
virtual tmp< volScalarField > sigma() const =0
Return surface tension [kg/s^2].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
virtual ~filmThermoModel()
Destructor.
virtual scalar pv(const scalar p, const scalar T) const =0
Return vapour pressure [Pa].
void operator=(const filmThermoModel &)=delete
Disallow default bitwise assignment.