37 const twoPhaseMixtureThermo& mixture
40 twoPhaseTransport_(false),
43 alphaPhi10_(alphaPhi10)
46 IOdictionary momentumTransport
50 momentumTransportModel::typeName,
60 momentumTransport.lookup(
"simulationType")
63 if (simulationType ==
"twoPhaseTransport")
65 twoPhaseTransport_ =
true;
69 if (twoPhaseTransport_)
81 IOobject::groupName(
"alphaRhoPhi",
alpha1.group()),
90 IOobject::groupName(
"alphaRhoPhi",
alpha2.group()),
131 turbulence_->validate();
160 if (twoPhaseTransport_)
174 return mixture_.
alphaEff(turbulence_->mut());
185 if (twoPhaseTransport_)
188 turbulence1_->divDevTau(U)
189 + turbulence2_->divDevTau(U);
193 return turbulence_->divDevTau(U);
200 if (twoPhaseTransport_)
213 if (twoPhaseTransport_)
215 turbulence1_->correct();
216 turbulence2_->correct();
220 turbulence_->correct();
const volScalarField & alpha2() const
Return the phase-fraction of phase 2.
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const
Effective thermal diffusivity of mixture [W/m/K].
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const =0
Effective thermal turbulent diffusivity of mixture [kg/m/s].
virtual tmp< volScalarField > rho() const =0
Density [kg/m^3].
volScalarField & alpha1(mixture.alpha1())
void correctPhasePhi()
Correct the phase mass-fluxes.
void correct()
Correct the phase or mixture transport models.
GeometricField< vector, fvPatchField, volMesh > volVectorField
tmp< fvVectorMatrix > divDevTau(volVectorField &U) const
Return the effective momentum stress divergence.
tmp< volScalarField > alphaEff() const
Return the effective temperature transport coefficient.
const volScalarField & alpha1() const
Return the phase-fraction of phase 1.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
compressibleInterPhaseTransportModel(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const surfaceScalarField &rhoPhi, const surfaceScalarField &alphaPhi10, const twoPhaseMixtureThermo &mixture)
Construct from components.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const rhoThermo & thermo2() const
Return the thermo for phase 2.
const rhoThermo & thermo1() const
Return the thermo for phase 1.