36 const incompressibleTwoPhaseMixture& mixture
39 twoPhaseTransport_(false),
42 alphaPhi10_(alphaPhi10)
45 IOdictionary momentumTransport
49 momentumTransportModel::typeName,
59 momentumTransport.lookup(
"simulationType")
62 if (simulationType ==
"twoPhaseTransport")
64 twoPhaseTransport_ =
true;
68 if (twoPhaseTransport_)
115 turbulence_->validate();
129 if (twoPhaseTransport_)
132 mixture_.rho1()*turbulence1_->divDevSigma(U)
133 +
mixture_.rho2()*turbulence2_->divDevSigma(U);
137 return turbulence_->divDevTau(rho, U);
144 if (twoPhaseTransport_)
146 alphaPhi2_.ref() = (phi_ - alphaPhi10_);
153 if (twoPhaseTransport_)
155 turbulence1_->correct();
156 turbulence2_->correct();
160 turbulence_->correct();
void correctPhasePhi()
Correct the phase mass-fluxes.
tmp< fvVectorMatrix > divDevTau(const volScalarField &rho, volVectorField &U) const
Return the effective momentum stress divergence.
const volScalarField & alpha2() const
Return the phase-fraction of phase 2.
const incompressibleTwoPhaseInteractingMixture & mixture_
Mixture properties.
volScalarField & alpha1(mixture.alpha1())
GeometricField< vector, fvPatchField, volMesh > volVectorField
const volScalarField & alpha1() const
Return the phase-fraction of phase 1.
static autoPtr< incompressibleMomentumTransportModel > New(const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
Return a reference to the selected turbulence model.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static word groupName(Name name, const word &group)
incompressibleInterPhaseTransportModel(const volVectorField &U, const surfaceScalarField &phi, const surfaceScalarField &alphaPhi10, const incompressibleTwoPhaseMixture &mixture)
Construct from components.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
static autoPtr< phaseIncompressibleMomentumTransportModel > New(const alphaField &alpha, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
Return a reference to the selected turbulence model.
void correct()
Correct the phase or mixture transport models.