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");
257 return phases_[0].thermo().he();
264 return phases_[0].thermo().he();
Template dictionary class which manages the storage associated with it.
tmp< surfaceScalarField > surfaceTensionForce() const
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 > Cpv() const
Heat capacity at constant pressure/volume [J/kg/K].
virtual tmp< volScalarField > kappa() const
Thermal diffusivity for temperature of mixture [J/m/s/K].
virtual tmp< volScalarField > Cp() const
Heat capacity at constant pressure [J/kg/K].
const Type & second() const
Return second.
virtual tmp< volScalarField > rho() const
Density [kg/m^3].
const Type & first() const
Return first.
virtual ~multiphaseMixtureThermo()
Destructor.
CGAL::Exact_predicates_exact_constructions_kernel K
virtual tmp< volScalarField > kappaEff(const volScalarField &alphat) const
Effective thermal diffusivity of mixture [J/m/s/K].
virtual tmp< volScalarField > CpByCpv() const
Heat capacity ratio [].
virtual volScalarField & p()
Pressure [Pa].
tmp< volScalarField > rCv() const
Return the phase-averaged reciprocal Cv.
void correctRho(const volScalarField &dp)
Update densities for given pressure change.
virtual tmp< volScalarField > hc() const
Chemical enthalpy [J/kg].
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.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
const surfaceScalarField & rhoPhi() const
A class for handling words, derived from string.
virtual tmp< volScalarField > Cv() const
Heat capacity at constant volume [J/kg/K].
virtual tmp< volScalarField > gamma() const
Gamma = Cp/Cv [].
const word & name() const
Name function is needed to disambiguate those inherited.
const volVectorField & U() const
Return the velocity.
label operator()(const interfacePair &key) const
virtual bool incompressible() const
Return true if the equation of state is incompressible.
virtual const volScalarField & T() const
Temperature [K].
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 > nu() const
Kinematic viscosity of mixture [m^2/s].
const dimensionedScalar h
Planck constant.
TypeName("multiphaseMixtureThermo")
Runtime type information.
multiphaseMixtureThermo(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Effective thermal diffusivity of mixture [J/m/s/K].
Mesh data needed to do the Finite Volume discretisation.
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
A class for managing temporary objects.
virtual bool isochoric() const
Return true if the equation of state is isochoric.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const PtrDictionary< phaseModel > & phases() const
Return the phases.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Basic thermodynamic properties based on compressibility.
virtual volScalarField & he()
Enthalpy/Internal energy [J/kg].
virtual void correct()
Update properties.