34 #ifndef multiphaseMixtureThermo_H 35 #define multiphaseMixtureThermo_H 37 #include "phaseModel.H" 67 public Hash<interfacePair>
99 friend bool operator==
112 friend bool operator!=
148 static const scalar convertToRad;
155 void solveAlphas(
const scalar cAlpha);
169 void correctContactAngle
173 surfaceVectorField::Boundary& nHatb
186 TypeName(
"multiphaseMixtureThermo");
260 return phases_[0].thermo().he();
267 return phases_[0].thermo().he();
Template dictionary class which manages the storage associated with it.
const volVectorField & U() const
Return the velocity.
Hashing function class, shared by all the derived classes.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const surfaceScalarField & phi() const
Return the volumetric flux.
virtual tmp< volScalarField > gamma() const
Gamma = Cp/Cv [].
virtual tmp< volScalarField > hc() const
Chemical enthalpy [J/kg].
virtual const volScalarField & T() const
Temperature [K].
virtual ~multiphaseMixtureThermo()
Destructor.
CGAL::Exact_predicates_exact_constructions_kernel K
virtual tmp< volScalarField > Cp() const
Heat capacity at constant pressure [J/kg/K].
virtual tmp< volScalarField > CpByCpv() const
Heat capacity ratio [].
virtual volScalarField & p()
Pressure [Pa].
void correctRho(const volScalarField &dp)
Update densities for given pressure change.
void solve()
Solve for the mixture phase-fractions.
Dimension set for the base types.
An ordered pair of two objects of type <T> with first() and second() elements.
virtual tmp< volScalarField > alphahe() const
Thermal diffusivity for energy of mixture [kg/m/s].
virtual tmp< volScalarField > rho() const
Density [kg/m^3].
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
tmp< volScalarField > rCv() const
Return the phase-averaged reciprocal Cv.
const PtrDictionary< phaseModel > & phases() const
Return the phases.
A class for handling words, derived from string.
const volScalarField & alpha1
const word & name() const
Name function is needed to disambiguate those inherited.
virtual tmp< volScalarField > nu() const
Kinematic viscosity of mixture [m^2/s].
label operator()(const interfacePair &key) const
const Type & second() const
Return second.
TypeName("multiphaseMixtureThermo")
Runtime type information.
virtual tmp< volScalarField > kappaEff(const volScalarField &alphat) const
Effective thermal diffusivity of mixture [W/m/K].
multiphaseMixtureThermo(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
volScalarField & h
Planck constant.
virtual tmp< volScalarField > W() const
Molecular weight [kg/kmol].
const surfaceScalarField & rhoPhi() const
Mesh data needed to do the Finite Volume discretisation.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
virtual tmp< scalarField > THE(const scalarField &h, const scalarField &p, const scalarField &T0, const labelList &cells) const
Temperature from enthalpy/internal energy for cell-set.
virtual tmp< volScalarField > Cv() const
Heat capacity at constant volume [J/kg/K].
A class for managing temporary objects.
tmp< surfaceScalarField > surfaceTensionForce() const
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Effective thermal diffusivity of mixture [W/m/K].
virtual tmp< volScalarField > Cpv() const
Heat capacity at constant pressure/volume [J/kg/K].
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual tmp< volScalarField > kappa() const
Thermal diffusivity for temperature of mixture [W/m/K].
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const Type & first() const
Return first.
Basic thermodynamic properties based on compressibility.
virtual bool isochoric() const
Return true if the equation of state is isochoric.
virtual word thermoName() const
Return the name of the thermo physics.
virtual volScalarField & he()
Enthalpy/Internal energy [J/kg].
virtual bool incompressible() const
Return true if the equation of state is incompressible.
virtual void correct()
Update properties.