30 Foam::compressibleInterPhaseTransportModel::compressibleInterPhaseTransportModel
37 const twoPhaseMixtureThermo& mixture
40 twoPhaseTransport_(false),
43 alphaPhi10_(alphaPhi10)
60 turbulenceProperties.lookup(
"simulationType")
63 if (simulationType ==
"twoPhaseTransport")
65 twoPhaseTransport_ =
true;
69 if (twoPhaseTransport_)
97 ThermalDiffusivity<PhaseCompressibleTurbulenceModel<fluidThermo>>
111 ThermalDiffusivity<PhaseCompressibleTurbulenceModel<fluidThermo>>
133 turbulence_->validate();
143 if (twoPhaseTransport_)
146 mixture_.alpha1()*mixture_.thermo1().alphaEff
148 turbulence1_->alphat()
150 + mixture_.alpha2()*mixture_.thermo2().alphaEff
152 turbulence2_->alphat()
157 return mixture_.alphaEff(turbulence_->alphat());
168 if (twoPhaseTransport_)
171 turbulence1_->divDevRhoReff(U)
172 + turbulence2_->divDevRhoReff(U);
176 return turbulence_->divDevRhoReff(U);
183 if (twoPhaseTransport_)
196 if (twoPhaseTransport_)
198 turbulence1_->correct();
199 turbulence2_->correct();
203 turbulence_->correct();
static word group(const word &name)
Return group (extension part of name)
const volScalarField & alpha2() const
Return the phase-fraction of phase 2.
IOobject(const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true)
Construct from name, instance, registry, io options.
void correctPhasePhi()
Correct the phase mass-fluxes.
void correct()
Correct the phase or mixture transport models.
GeometricField< vector, fvPatchField, volMesh > volVectorField
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
static const word propertiesName
Default name of the turbulence properties dictionary.
static word groupName(Name name, const word &group)
tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the effective momentum stress divergence.
static autoPtr< psiThermo > New(const fvMesh &mesh, const word &phaseName=word::null)
Selector.
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.
Internal & ref()
Return a reference to the dimensioned internal field.
IOdictionary(const IOobject &)
Construct given an IOobject.
static autoPtr< ThermalDiffusivity > New(const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasportModel, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField