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