Particle-particle phase-pressure RAS model. More...
Public Member Functions | |
TypeName ("phasePressure") | |
Runtime type information. More... | |
phasePressureModel (const volScalarField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName) | |
Construct from components. More... | |
phasePressureModel (const phasePressureModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~phasePressureModel () |
Destructor. More... | |
virtual bool | read () |
Re-read model coefficients if they have changed. More... | |
virtual tmp< volScalarField > | nuEff () const |
Return the effective viscosity. More... | |
virtual tmp< scalarField > | nuEff (const label patchi) const |
Return the effective viscosity on patch. More... | |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy. More... | |
virtual tmp< volScalarField > | epsilon () const |
Return the turbulence kinetic energy dissipation rate. More... | |
virtual tmp< volScalarField > | omega () const |
Return the turbulence specific dissipation rate. More... | |
virtual tmp< volSymmTensorField > | sigma () const |
Return the stress tensor [m^2/s^2]. More... | |
virtual tmp< surfaceScalarField > | pPrimef () const |
Return the face-phase-pressure'. More... | |
virtual tmp< volSymmTensorField > | devTau () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual void | correct () |
Solve the kinetic theory equations and correct the viscosity. More... | |
void | operator= (const phasePressureModel &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > > | |
eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) | |
Construct from components. More... | |
virtual | ~eddyViscosity () |
Destructor. More... | |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity. More... | |
virtual tmp< scalarField > | nut (const label patchi) const |
Return the turbulence viscosity on patch. More... | |
virtual void | validate () |
Validate the turbulence fields after construction. More... | |
Public Member Functions inherited from linearViscousStress< BasicMomentumTransportModel > | |
linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) | |
Construct from components. More... | |
virtual | ~linearViscousStress () |
Destructor. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
Additional Inherited Members | |
Public Types inherited from eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > > | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Types inherited from linearViscousStress< BasicMomentumTransportModel > | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
Protected Attributes inherited from eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > > | |
volScalarField | nut_ |
Particle-particle phase-pressure RAS model.
The derivative of the phase-pressure with respect to the phase-fraction is evaluated as
g0*min(exp(preAlphaExp*(alpha - alphaMax)), expMax)
The default model coefficients correspond to the following:
phasePressureCoeffs { preAlphaExp 500; expMax 1000; g0 1000; }
Definition at line 68 of file phasePressureModel.H.
phasePressureModel | ( | const volScalarField & | alpha, |
const volScalarField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | alphaRhoPhi, | ||
const surfaceScalarField & | phi, | ||
const viscosity & | viscosity, | ||
const word & | type = typeName |
||
) |
Construct from components.
Definition at line 30 of file phasePressureModel.C.
References DimensionedField< Type, GeoMesh >::dimensions(), eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > >::nut_, and Foam::type().
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 74 of file phasePressureModel.C.
TypeName | ( | "phasePressure" | ) |
Runtime type information.
|
virtual |
Re-read model coefficients if they have changed.
Implements eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > >.
Definition at line 80 of file phasePressureModel.C.
References Foam::read().
|
inlinevirtual |
Return the effective viscosity.
Definition at line 132 of file phasePressureModel.H.
References eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > >::nut().
|
inlinevirtual |
Return the effective viscosity on patch.
Definition at line 138 of file phasePressureModel.H.
References eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > >::nut().
|
virtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > >.
Definition at line 102 of file phasePressureModel.C.
References NotImplemented.
|
virtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 110 of file phasePressureModel.C.
References NotImplemented.
|
virtual |
Return the turbulence specific dissipation rate.
Definition at line 118 of file phasePressureModel.C.
References NotImplemented.
|
virtual |
Return the stress tensor [m^2/s^2].
Reimplemented from eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > >.
Definition at line 126 of file phasePressureModel.C.
References IOobject::groupName(), GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::Zero.
|
virtual |
Return the face-phase-pressure'.
(derivative of phase-pressure w.r.t. phase-fraction)
Definition at line 211 of file phasePressureModel.C.
References IOobject::groupName(), Foam::fvc::interpolate(), and GeometricField< Type, PatchField, GeoMesh >::New().
|
virtual |
Return the effective stress tensor.
Reimplemented from linearViscousStress< BasicMomentumTransportModel >.
Definition at line 222 of file phasePressureModel.C.
References IOobject::groupName(), GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::Zero.
|
virtual |
Return the source term for the momentum equation.
Reimplemented from linearViscousStress< BasicMomentumTransportModel >.
Definition at line 242 of file phasePressureModel.C.
References U.
|
virtual |
Solve the kinetic theory equations and correct the viscosity.
Implements eddyViscosity< RASModel< phaseCompressible::momentumTransportModel > >.
Definition at line 258 of file phasePressureModel.C.
|
delete |
Disallow default bitwise assignment.