36 #ifndef Foam_multiphaseInter_phaseModel_H 37 #define Foam_multiphaseInter_phaseModel_H 53 class multiphaseInterSystem;
55 namespace multiphaseInter
108 const word& phaseName
virtual tmp< surfaceScalarField > alphaPhi() const =0
Constant access the volumetric flux of the phase.
phaseModel(const multiphaseInterSystem &fluid, const word &phaseName)
Construct from multiphaseInterSystem and phaseName.
virtual const rhoThermo & thermo() const =0
Access const to phase thermo.
const volScalarField & alpha() const
Thermal diffusivity for enthalpy of mixture [kg/m/s].
tmp< volScalarField > kappaEff(const volScalarField &) const
Effective thermal diffusivity for temperature of phase [J/m/s/K].
static autoPtr< phaseModel > New(const multiphaseInterSystem &fluid, const word &phaseName)
tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Effective thermal diffusivity of phase [kg/m/s].
const word & name() const
The name of this phase.
virtual ~phaseModel()=default
Destructor.
tmp< volScalarField > Cv() const
Return Cv of the phase.
virtual tmp< volScalarField > mu() const
Return the mixture dymanic viscosity.
tmp< volScalarField > hc() const
Chemical enthalpy for phase [J/kg].
tmp< volScalarField > gamma() const
Gamma = Cp/Cv of phase[].
A class for handling words, derived from Foam::string.
bool dpdt() const noexcept
True if dpdt term should be included in enthalpy equation.
virtual tmp< surfaceScalarField > diffNo() const =0
Diffusion number.
tmp< volScalarField > Cpv() const
Heat capacity at constant pressure/volume for phase [J/kg/K].
virtual void correctTurbulence()
Correct the turbulence.
tmp< volScalarField > Cp() const
Return phase Cp.
virtual void correct()
Correct phase thermo.
tmp< GeometricField< Type, PatchField, GeoMesh > > T() const
Return transpose (only if it is a tensor field)
tmp< volScalarField > rho() const
Return the phase density.
const multiphaseInterSystem & fluid() const
Return the system to which this phase belongs.
bool dpdt() const
Query thermo for dpdt.
virtual tmp< volVectorField > U() const =0
Access const reference to U.
Forward declarations of fvMatrix specializations.
tmp< volScalarField > alphahe() const
Thermal diffusivity for energy of mixture [kg/m/s].
virtual bool read()
Read phase properties dictionary.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
virtual tmp< volScalarField > nu() const
Return the mixture kinematic viscosity.
Basic thermodynamic properties based on density.
ClassName("phaseModel")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
tmp< volScalarField > CpByCpv() const
Heat capacity ratio for phase [].
Macros to ease declaration of run-time selection tables.
virtual tmp< surfaceScalarField > phi() const =0
Constant access the volumetric flux.
A class for managing temporary objects.
virtual void solveYi(PtrList< volScalarField::Internal > &Su, PtrList< volScalarField::Internal > &Sp)=0
Solve species fraction equation.
virtual const PtrList< volScalarField > & Y() const =0
Constant access the species mass fractions.
declareRunTimeSelectionTable(autoPtr, phaseModel, multiphaseInterSystem,(const multiphaseInterSystem &fluid, const word &phaseName),(fluid, phaseName))
tmp< volScalarField > kappa() const
Thermal diffusivity for temperature of phase [J/m/s/K].