30#include "twoPhaseSystem.H"
36 const volScalarField&
alpha,
37 const volScalarField&
rho,
38 const volVectorField&
U,
39 const surfaceScalarField& alphaRhoPhi,
40 const surfaceScalarField&
phi,
41 const transportModel& phase,
42 const word& propertiesName,
61 alphaMax_(coeffDict_.
get<scalar>(
"alphaMax")),
62 preAlphaExp_(coeffDict_.
get<scalar>(
"preAlphaExp")),
63 expMax_(coeffDict_.
get<scalar>(
"expMax")),
87 coeffDict().readEntry(
"alphaMax", alphaMax_);
88 coeffDict().readEntry(
"preAlphaExp", preAlphaExp_);
89 coeffDict().readEntry(
"expMax", expMax_);
90 g0_.readIfPresent(coeffDict());
153 exp(preAlphaExp_*(alpha_ - alphaMax_)),
159 tpPrime.
ref().boundaryFieldRef();
163 if (!bpPrime[patchi].
coupled())
165 bpPrime[patchi] == 0;
187 tpPrime.
ref().boundaryFieldRef();
191 if (!bpPrime[patchi].
coupled())
193 bpPrime[patchi] == 0;
204 return devRhoReff(U_);
const dimensionSet & dimensions() const
Return dimensions.
Templated abstract base class for single-phase compressible turbulence models.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
Templated abstract base class for RAS turbulence models.
Particle-particle phase-pressure RAS model.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
virtual void correct()
Solve the kinetic theory equations and correct the viscosity.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
virtual tmp< volScalarField > omega() const
Return the specific dissipation rate.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
virtual bool read()
Re-read model coefficients if they have changed.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Generic dimensioned Type class.
bool readIfPresent(const dictionary &dict)
Eddy viscosity turbulence model base class.
tmp< volVectorField > divDevRhoReff()
Return the effective viscous stress (laminar + turbulent).
A special matrix type and solver, designed for finite volume solutions of scalar equations....
A class for managing temporary objects.
bool coupled(solutionDict.getOrDefault("coupledEnergyField", false))
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
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.
const dimensionSet dimPressure
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar exp(const dimensionedScalar &ds)
bool read(const char *buf, int32_t &val)
Same as readInt32.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > phaseCompressibleTurbulenceModel
Typedef for phaseCompressibleTurbulenceModel.
static constexpr const zero Zero
Global zero (0)
#define forAll(list, i)
Loop across all elements in list.