Go to the documentation of this file.
30 #include "twoPhaseSystem.H"
34 Foam::RASModels::phasePressureModel::phasePressureModel
41 const transportModel& phase,
42 const word& propertiesName,
63 alphaMax_(coeffDict_.get<scalar>(
"alphaMax")),
64 preAlphaExp_(coeffDict_.get<scalar>(
"preAlphaExp")),
65 expMax_(coeffDict_.get<scalar>(
"expMax")),
89 coeffDict().readEntry(
"alphaMax", alphaMax_);
90 coeffDict().readEntry(
"preAlphaExp", preAlphaExp_);
91 coeffDict().readEntry(
"expMax", expMax_);
92 g0_.readIfPresent(coeffDict());
155 exp(preAlphaExp_*(alpha_ - alphaMax_)),
160 volScalarField::Boundary& bpPrime =
165 if (!bpPrime[patchi].coupled())
167 bpPrime[patchi] == 0;
188 surfaceScalarField::Boundary& bpPrime =
189 tpPrime.
ref().boundaryFieldRef();
193 if (!bpPrime[patchi].coupled())
195 bpPrime[patchi] == 0;
const dimensionSet dimPressure
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
Templated abstract base class for RAS turbulence models.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
bool read(const char *buf, int32_t &val)
Same as readInt32.
virtual bool read()
Re-read model coefficients if they have changed.
ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > phaseCompressibleTurbulenceModel
Typedef for phaseCompressibleTurbulenceModel.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
dimensionedScalar exp(const dimensionedScalar &ds)
Dimension set for the base types.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
bool readIfPresent(const dictionary &dict)
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
Generic dimensioned Type class.
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.
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual void printCoeffs(const word &type)
Print model coefficients.
Eddy viscosity turbulence model base class.
virtual void correct()
Solve the kinetic theory equations and correct the viscosity.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
virtual tmp< volScalarField > omega() const
Return the specific dissipation rate.