37 const transportModel& transport,
52 alphaMax_(coeffDict_.
lookup<scalar>(
"alphaMax")),
53 preAlphaExp_(coeffDict_.
lookup<scalar>(
"preAlphaExp")),
54 expMax_(coeffDict_.
lookup<scalar>(
"expMax")),
58 dimensionSet(1, -1, -2, 0, 0),
83 eddyViscosity<RASModel<phaseCompressible::momentumTransportModel>>::
87 coeffDict().lookup(
"alphaMax") >> alphaMax_;
88 coeffDict().lookup(
"preAlphaExp") >> preAlphaExp_;
89 coeffDict().lookup(
"expMax") >> expMax_;
90 g0_.readIfPresent(coeffDict());
120 return tmp<volSymmTensorField>
126 dimensioned<symmTensor>
129 dimensionSet(0, 2, -2, 0, 0),
140 tmp<volScalarField> tpPrime
148 exp(preAlphaExp_*(alpha_ - alphaMax_)),
154 volScalarField::Boundary& bpPrime =
155 tpPrime.ref().boundaryFieldRef();
159 if (!bpPrime[
patchi].coupled())
172 tmp<surfaceScalarField> tpPrime
186 surfaceScalarField::Boundary& bpPrime =
187 tpPrime.ref().boundaryFieldRef();
191 if (!bpPrime[
patchi].coupled())
204 return tmp<volSymmTensorField>
210 dimensioned<symmTensor>
213 rho_.dimensions()*dimensionSet(0, 2, -2, 0, 0),
227 return tmp<fvVectorMatrix>
232 rho_.dimensions()*dimensionSet(0, 4, -2, 0, 0)
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< volSymmTensorField > devTau() const
Return the effective stress tensor.
virtual tmp< volSymmTensorField > sigma() const
Return the stress tensor [m^2/s^2].
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U) const
Return the source term for the momentum equation.
static tmp< GeometricField< symmTensor, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< symmTensor >> &)
Return a temporary field constructed from name,.
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
CompressibleMomentumTransportModel< dynamicTransportModel > momentumTransportModel
stressControl lookup("compactNormalStress") >> compactNormalStress
dimensionedScalar exp(const dimensionedScalar &ds)
phasePressureModel(const volScalarField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &type=typeName)
Construct from components.
static word groupName(Name name, const word &group)
virtual void correct()
Solve the kinetic theory equations and correct the viscosity.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
virtual bool read()
Re-read model coefficients if they have changed.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
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.
virtual ~phasePressureModel()
Destructor.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fvMatrix< vector > fvVectorMatrix
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
RASModel< momentumTransportModel > RASModel
Typedefs for turbulence, RAS and LES models for compressible flow based on the standard laminar trans...
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.