37 const compressibleTwoPhaseMixture& mixture
40 twoPhaseTransport_(false),
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_)
189 if (twoPhaseTransport_)
192 turbulence1_->divDevTau(U)
193 + turbulence2_->divDevTau(U);
197 return turbulence_->divDevTau(U);
204 if (twoPhaseTransport_)
217 if (twoPhaseTransport_)
219 turbulence1_->correct();
220 turbulence2_->correct();
224 turbulence_->correct();
const volScalarField & alpha2() const
Return the phase-fraction of phase 2.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
virtual tmp< volScalarField > alphaEff(const volScalarField &alphat) const =0
Effective turbulent thermal diffusivity of energy.
virtual tmp< volScalarField > rho() const =0
Density [kg/m^3].
volScalarField & alpha1(mixture.alpha1())
compressibleInterPhaseTransportModel(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const surfaceScalarField &rhoPhi, const surfaceScalarField &alphaPhi1, const compressibleTwoPhaseMixture &mixture)
Construct from components.
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
const volScalarField & rho() const
Return mixture density [kg/m^3].
const rhoThermo & thermo2() const
Return the thermo for phase 2.
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.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const rhoThermo & thermo1() const
Return the thermo for phase 1.