Go to the documentation of this file.
33 Foam::compressibleInterPhaseTransportModel::compressibleInterPhaseTransportModel
40 const twoPhaseMixtureThermo&
mixture
43 twoPhaseTransport_(false),
61 const word simulationType
63 turbulenceProperties.get<word>(
"simulationType")
66 if (simulationType ==
"twoPhaseTransport")
68 twoPhaseTransport_ =
true;
72 if (twoPhaseTransport_)
100 ThermalDiffusivity<PhaseCompressibleTurbulenceModel<fluidThermo>>
114 ThermalDiffusivity<PhaseCompressibleTurbulenceModel<fluidThermo>>
136 turbulence_->validate();
146 if (twoPhaseTransport_)
149 mixture_.alpha1()*mixture_.thermo1().alphaEff
151 turbulence1_->alphat()
153 + mixture_.alpha2()*mixture_.thermo2().alphaEff
155 turbulence2_->alphat()
160 return mixture_.alphaEff(turbulence_->alphat());
171 if (twoPhaseTransport_)
174 turbulence1_->divDevRhoReff(
U)
175 + turbulence2_->divDevRhoReff(
U);
179 return turbulence_->divDevRhoReff(
U);
186 if (twoPhaseTransport_)
199 if (twoPhaseTransport_)
201 turbulence1_->correct();
202 turbulence2_->correct();
206 turbulence_->correct();
A class for managing temporary objects.
static const word propertiesName
IOobject(const IOobject &)=default
const volScalarField & alpha2() const
virtual tmp< volScalarField > rho() const
static autoPtr< ThermalDiffusivity > New(const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transportModel, const word &propertiesName=turbulenceModel::propertiesName)
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const volScalarField & alpha1() const
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Internal & ref(const bool updateAccessTime=true)
tmp< volScalarField > alphaEff() const
static word groupName(StringType base, const word &group)
static autoPtr< psiThermo > New(const fvMesh &mesh, const word &phaseName=word::null)
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture