37 const transportModel& phase,
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<phaseCompressibleMomentumTransportModel>>
86 coeffDict().lookup(
"alphaMax") >> alphaMax_;
87 coeffDict().lookup(
"preAlphaExp") >> preAlphaExp_;
88 coeffDict().lookup(
"expMax") >> expMax_;
89 g0_.readIfPresent(coeffDict());
119 return tmp<volSymmTensorField>
132 dimensioned<symmTensor>
135 dimensionSet(0, 2, -2, 0, 0),
146 tmp<volScalarField> tpPrime
151 exp(preAlphaExp_*(alpha_ - alphaMax_)),
156 volScalarField::Boundary& bpPrime =
157 tpPrime.ref().boundaryFieldRef();
161 if (!bpPrime[
patchi].coupled())
174 tmp<surfaceScalarField> tpPrime
184 surfaceScalarField::Boundary& bpPrime =
185 tpPrime.ref().boundaryFieldRef();
189 if (!bpPrime[
patchi].coupled())
202 return tmp<volSymmTensorField>
215 dimensioned<symmTensor>
218 rho_.dimensions()*dimensionSet(0, 2, -2, 0, 0),
232 return tmp<fvVectorMatrix>
237 rho_.dimensions()*dimensionSet(0, 4, -2, 0, 0)
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< volSymmTensorField > devTau() const
Return the effective stress tensor.
PhaseCompressibleMomentumTransportModel< phaseModel > phaseCompressibleMomentumTransportModel
Typedef for phaseCompressibleMomentumTransportModel.
phasePressureModel(const volScalarField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const phaseModel &transport, const word &type=typeName)
Construct from components.
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.
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
stressControl lookup("compactNormalStress") >> compactNormalStress
dimensionedScalar exp(const dimensionedScalar &ds)
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'.