34 #ifndef multiphaseMixtureThermo_H 35 #define multiphaseMixtureThermo_H 37 #include "phaseModel.H" 67 public Hash<interfacePair>
99 friend bool operator==
112 friend bool operator!=
152 void solveAlphas(
const scalar cAlpha);
166 void correctContactAngle
170 surfaceVectorField::Boundary& nHatb
183 TypeName(
"multiphaseMixtureThermo");
257 return phases_[0].thermo().he();
264 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
Enthalpy of formation [J/kg].
virtual tmp< volScalarField > ha() const
Absolute enthalpy [J/kg].
virtual volScalarField & p()
Pressure [Pa].
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 [].
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.
volScalarField & alpha1(mixture.alpha1())
virtual tmp< scalarField > THE(const scalarField &h, const scalarField &T0, const labelList &cells) const
Temperature from enthalpy/internal energy for cell-set.
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.
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...
virtual tmp< volScalarField > hs() const
Sensible enthalpy [J/kg].
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
const dimensionedScalar & h
Planck constant.
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.