47 const volVectorField&
U,
48 const surfaceScalarField&
phi
51 basicThermo(
U.
mesh(), word::null),
52 thermoIncompressibleTwoPhaseMixture(
U,
phi),
54 TSat_(
"TSat",
dimTemperature, static_cast<const basicThermo&>(*this))
166 limitedAlpha1*
Cp1() + (scalar(1) - limitedAlpha1)*
Cp2()
186 alpha1p*
Cp1().value() + (scalar(1) - alpha1p)*
Cp2().value()
203 limitedAlpha1*
rho1().value()
204 + (scalar(1) - limitedAlpha1)*
rho2().value()
222 alpha1p*
rho1().value() + (scalar(1) - alpha1p)*
rho2().value()
239 limitedAlpha1*Cv1() + (scalar(1) - limitedAlpha1)*Cv2()
259 alpha1p*Cv1().value() + (scalar(1) - alpha1p)*Cv2().value()
268 (alpha1_*
Cp1() + alpha2_*
Cp2())/(alpha1_*Cv1() + alpha2_*Cv2())
282 gamma()().boundaryField()[patchi]
302 return Cv(
p,
T, patchi);
344 limitedAlpha1*kappa1() + (scalar(1) - limitedAlpha1)*kappa2()
360 return (alpha1p*kappa1().value() + (1 - alpha1p)*kappa2().value());
403 (alpha1p*kappa1().value() + (1 - alpha1p)*kappa2().value()) + kappat;
415 alpha1_*
rho1() + (1.0 - alpha1_)*
rho2()
435 alpha1p*
rho1().value() + (1.0 - alpha1p)*
rho2().value()
440 alpha1p*kappa1().value() + (1.0 - alpha1p)*kappa2().value()
445 alpha1p*
Cp1().value() + (1.0 - alpha1p)*
Cp2().value()
@ NO_READ
Nothing to be read.
@ AUTO_WRITE
Automatically write from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static word timeName(const scalar t, const int precision=precision_)
Return a time name for the given scalar time value formatted with the given precision.
virtual bool read()
Read thermophysical properties dictionary.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect,...
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
virtual void correct()
Correct the laminar viscosity.
virtual bool read()
Read base transportProperties dictionary.
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
virtual word thermoName() const
Return the name of the thermo physics.
virtual tmp< volScalarField > Cv() const
Return Cv of the mixture.
virtual tmp< volScalarField > rho() const
Return rho of the mixture.
virtual tmp< volScalarField > W() const
Molecular weight [kg/kmol].
virtual tmp< volScalarField > gamma() const
Gamma = Cp/Cv [].
virtual tmp< volScalarField > Cpv() const
Heat capacity at constant pressure/volume [J/kg/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 > kappa() const
Thermal diffusivity for temperature of mixture [J/m/s/K].
virtual tmp< volScalarField > Cp() const
Return Cp of the mixture.
virtual void correct()
Correct the thermo fields.
virtual volScalarField & he()
Return access to the internal energy field [J/Kg].
virtual tmp< volScalarField > hc() const
Chemical enthalpy [J/kg].
virtual bool read()
Read properties.
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Effective thermal diffusivity of mixture [kg/m/s].
twoPhaseMixtureEThermo(const volVectorField &U, const surfaceScalarField &phi)
virtual tmp< volScalarField > alphahe() const
Thermal diffusivity for energy of mixture [kg/m/s].
virtual tmp< volScalarField > kappaEff(const volScalarField &) const
Effective thermal diffusivity for temperature of mixture [J/m/s/K].
virtual tmp< volScalarField > CpByCpv() const
Heat capacity ratio [].
static const word null
An empty word.
Represents 0/1 range or concept. Used for tagged dispatch or clamping.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const volScalarField & Cv
const volScalarField & Cp
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const dimensionedScalar Cp1
const dimensionedScalar Cp2
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
List< label > labelList
A List of labels.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionSet clamp(const dimensionSet &a, const dimensionSet &range)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)