51 basicThermo(
U.
mesh(), word::null),
52 thermoIncompressibleTwoPhaseMixture(
U,
phi),
54 TSat_(
"TSat",
dimTemperature, static_cast<const basicThermo&>(*this))
110 const fvMesh&
mesh = this->T_.mesh();
158 clamp(alpha1_, zero_one{})
161 return tmp<volScalarField>
166 limitedAlpha1*
Cp1() + (scalar(1) - limitedAlpha1)*
Cp2()
181 clamp(alpha1_.boundaryField()[patchi], zero_one{})
186 alpha1p*
Cp1().value() + (scalar(1) - alpha1p)*
Cp2().value()
195 clamp(alpha1_, zero_one{})
198 return tmp<volScalarField>
203 limitedAlpha1*
rho1().value()
204 + (scalar(1) - limitedAlpha1)*
rho2().value()
217 clamp(alpha1_.boundaryField()[patchi], zero_one{})
222 alpha1p*
rho1().value() + (scalar(1) - alpha1p)*
rho2().value()
231 clamp(alpha1_, zero_one{})
234 return tmp<volScalarField>
239 limitedAlpha1*Cv1() + (scalar(1) - limitedAlpha1)*Cv2()
254 clamp(alpha1_.boundaryField()[patchi], zero_one{})
259 alpha1p*Cv1().value() + (scalar(1) - alpha1p)*Cv2().value()
266 return tmp<volScalarField>
268 (alpha1_*
Cp1() + alpha2_*
Cp2())/(alpha1_*Cv1() + alpha2_*Cv2())
282 gamma()().boundaryField()[patchi]
302 return Cv(
p,
T, patchi);
336 clamp(alpha1_, zero_one{})
339 return tmp<volScalarField>
344 limitedAlpha1*kappa1() + (scalar(1) - limitedAlpha1)*kappa2()
357 clamp(alpha1_.boundaryField()[patchi], zero_one{})
360 return (alpha1p*kappa1().value() + (1 - alpha1p)*kappa2().value());
399 clamp(alpha1_.boundaryField()[patchi], zero_one{})
403 (alpha1p*kappa1().value() + (1 - alpha1p)*kappa2().value()) + kappat;
415 alpha1_*
rho1() + (1.0 - alpha1_)*
rho2()
430 clamp(alpha1_.boundaryField()[patchi], zero_one{})
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()
virtual bool read()
Read base transportProperties dictionary.
virtual word thermoName() const
Return the name of the thermo physics.
virtual tmp< volScalarField > Cp() const
Return Cp of the mixture.
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 > alphahe() const
Thermal diffusivity for energy of mixture [kg/m/s].
virtual tmp< volScalarField > Cv() const
Return Cv of the mixture.
virtual tmp< volScalarField > rho() const
Return rho of the mixture.
virtual bool read()
Read properties.
const volScalarField & Cv
const Time & time() const
Return the top-level database.
virtual tmp< volScalarField > hc() const
Chemical enthalpy [J/kg].
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual tmp< volScalarField > kappa() const
Thermal diffusivity for temperature of mixture [J/m/s/K].
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
GeometricField< scalar, fvPatchField, volMesh > volScalarField
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...
virtual tmp< volScalarField > kappaEff(const volScalarField &) const
Effective thermal diffusivity for temperature of mixture [J/m/s/K].
A class for handling words, derived from Foam::string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
virtual void correct()
Correct the thermo fields.
virtual tmp< volScalarField > Cpv() const
Heat capacity at constant pressure/volume [J/kg/K].
static const word null
An empty word.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
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.
const volScalarField & Cp
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< volScalarField > gamma() const
Gamma = Cp/Cv [].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual tmp< volScalarField > W() const
Molecular weight [kg/kmol].
const dimensionedScalar h
Planck constant.
virtual void correct()
Correct the laminar viscosity.
virtual volScalarField & he()
Return access to the internal energy field [J/Kg].
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Effective thermal diffusivity of mixture [kg/m/s].
const dimensionedScalar Cp1
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
twoPhaseMixtureEThermo(const volVectorField &U, const surfaceScalarField &phi)
Automatically write from objectRegistry::writeObject()
virtual bool read()
Read thermophysical properties dictionary.
const dimensionedScalar Cp2
List< label > labelList
A List of labels.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
dimensionSet clamp(const dimensionSet &a, const dimensionSet &range)
virtual tmp< volScalarField > CpByCpv() const
Heat capacity ratio [].