38 #ifndef filmThermoModel_H 39 #define filmThermoModel_H 41 #include "filmSubModelBase.H" 48 namespace regionModels
50 namespace surfaceFilmModels
123 virtual const word&
name()
const = 0;
129 virtual scalar
rho(
const scalar
p,
const scalar
T)
const = 0;
132 virtual scalar
mu(
const scalar
p,
const scalar
T)
const = 0;
135 virtual scalar
sigma(
const scalar
p,
const scalar
T)
const = 0;
138 virtual scalar
Cp(
const scalar
p,
const scalar
T)
const = 0;
141 virtual scalar
kappa(
const scalar
p,
const scalar
T)
const = 0;
144 virtual scalar
D(
const scalar
p,
const scalar
T)
const = 0;
147 virtual scalar
hl(
const scalar
p,
const scalar
T)
const = 0;
150 virtual scalar
pv(
const scalar
p,
const scalar
T)
const = 0;
153 virtual scalar
W()
const = 0;
156 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 a number of values (eg...
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/m3].
A class for handling words, derived from Foam::string.
virtual tmp< volScalarField > Cp() const =0
Return specific heat capacity [J/kg/K].
virtual scalar D(const scalar p, const scalar T) const =0
Return diffusivity [m2/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/s2].
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
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].