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 phaseModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName) | |
Construct from components. More... | |
virtual | ~phasePressureModel ()=default |
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 specific dissipation rate. More... | |
virtual tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor. More... | |
virtual tmp< volScalarField > | pPrime () const |
Return the phase-pressure'. More... | |
virtual tmp< surfaceScalarField > | pPrimef () const |
Return the face-phase-pressure'. More... | |
virtual tmp< volSymmTensorField > | devRhoReff () const |
Return the effective stress tensor. More... | |
virtual tmp< volSymmTensorField > | devRhoReff (const volVectorField &U) const |
Return the effective stress tensor based on a given velocity field. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (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... | |
TypeName ("phasePressure") | |
Runtime type information. More... | |
phasePressureModel (const volScalarField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const phaseModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName) | |
Construct from components. More... | |
virtual | ~phasePressureModel ()=default |
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 specific dissipation rate. More... | |
virtual tmp< volSymmTensorField > | R () const |
Return the Reynolds stress tensor. More... | |
virtual tmp< volScalarField > | pPrime () const |
Return the phase-pressure'. More... | |
virtual tmp< surfaceScalarField > | pPrimef () const |
Return the face-phase-pressure'. More... | |
virtual tmp< volSymmTensorField > | devRhoReff () const |
Return the effective stress tensor. More... | |
virtual tmp< volSymmTensorField > | devRhoReff (const volVectorField &U) const |
Return the effective stress tensor based on a given velocity field. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (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... | |
![]() | |
eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
Construct from components. More... | |
virtual | ~eddyViscosity ()=default |
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... | |
![]() | |
linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
Construct from components. More... | |
virtual | ~linearViscousStress ()=default |
Destructor. More... | |
virtual tmp< fvVectorMatrix > | divDevRhoReff (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
![]() | |
RASModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
Construct from components. More... | |
TypeName ("RAS") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, RASModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName)) | |
virtual | ~RASModel ()=default |
Destructor. More... | |
const dimensionedScalar & | kMin () const |
Return the lower allowable limit for k (default: SMALL) More... | |
dimensionedScalar & | kMin () |
Allow kMin to be changed. More... | |
const dimensionedScalar & | epsilonMin () const |
Return the lower allowable limit for epsilon (default: SMALL) More... | |
dimensionedScalar & | epsilonMin () |
Allow epsilonMin to be changed. More... | |
const dimensionedScalar & | omegaMin () const |
Return the lower allowable limit for omega (default: SMALL) More... | |
dimensionedScalar & | omegaMin () |
Allow omegaMin to be changed. More... | |
virtual const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
![]() | |
EddyDiffusivity (const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
Construct. More... | |
virtual | ~EddyDiffusivity ()=default |
Destructor. More... | |
virtual tmp< volScalarField > | alphat () const |
Return the turbulent thermal diffusivity for enthalpy [kg/m/s]. More... | |
virtual tmp< scalarField > | alphat (const label patchi) const |
Return the turbulent thermal diffusivity for enthalpy for a patch. More... | |
virtual tmp< volScalarField > | kappaEff () const |
Return the effective turbulent thermal diffusivity for temperature. More... | |
virtual tmp< scalarField > | kappaEff (const label patchi) const |
Return the effective turbulent thermal diffusivity for temperature. More... | |
virtual tmp< volScalarField > | alphaEff () const |
Return the effective turbulent thermal diffusivity for enthalpy. More... | |
virtual tmp< scalarField > | alphaEff (const label patchi) const |
Return the effective turbulent thermal diffusivity for enthalpy. More... | |
virtual void | correctEnergyTransport () |
Correct the turbulence thermal diffusivity for energy transport. More... | |
![]() | |
ThermalDiffusivity (const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
Construct. More... | |
virtual | ~ThermalDiffusivity ()=default |
Destructor. More... | |
virtual tmp< volScalarField > | kappa () const |
Return the thermal diffusivity for temperature [J/m/s/K]. More... | |
virtual tmp< scalarField > | kappa (const label patchi) const |
Return the laminar thermal diffusivity for temperature on patch. More... | |
virtual tmp< volScalarField > | alpha () const |
Return the laminar thermal diffusivity for enthalpy [kg/m/s]. More... | |
virtual tmp< scalarField > | alpha (const label patchi) const |
Return the laminar thermal diffusivity for enthalpy on patch. More... | |
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; alphaMax 0.62; g0 1000; }
Definition at line 73 of file phasePressureModel.H.
phasePressureModel | ( | const volScalarField & | alpha, |
const volScalarField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | alphaRhoPhi, | ||
const surfaceScalarField & | phi, | ||
const phaseModel & | transport, | ||
const word & | propertiesName = turbulenceModel::propertiesName , |
||
const word & | type = typeName |
||
) |
Construct from components.
|
virtualdefault |
Destructor.
phasePressureModel | ( | const volScalarField & | alpha, |
const volScalarField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | alphaRhoPhi, | ||
const surfaceScalarField & | phi, | ||
const phaseModel & | transport, | ||
const word & | propertiesName = turbulenceModel::propertiesName , |
||
const word & | type = typeName |
||
) |
Construct from components.
|
virtualdefault |
Destructor.
TypeName | ( | "phasePressure" | ) |
Runtime type information.
|
virtual |
Re-read model coefficients if they have changed.
Implements eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
Definition at line 77 of file phasePressureModel.C.
References Foam::read().
|
inlinevirtual |
Return the effective viscosity.
Reimplemented from RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >.
Definition at line 142 of file phasePressureModel.H.
References eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >::nut().
|
inlinevirtual |
Return the effective viscosity on patch.
Reimplemented from RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >.
Definition at line 148 of file phasePressureModel.H.
References eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >::nut().
|
virtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
Definition at line 100 of file phasePressureModel.C.
References NotImplemented.
|
virtual |
Return the turbulence kinetic energy dissipation rate.
Reimplemented from RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >.
Definition at line 108 of file phasePressureModel.C.
References NotImplemented.
|
virtual |
Return the specific dissipation rate.
Reimplemented from RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >.
Definition at line 116 of file phasePressureModel.C.
References NotImplemented.
|
virtual |
Return the Reynolds stress tensor.
Reimplemented from eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
Definition at line 124 of file phasePressureModel.C.
References IOobject::groupName(), IOobject::NO_READ, IOobject::NO_WRITE, and Foam::Zero.
|
virtual |
Return the phase-pressure'.
(derivative of phase-pressure w.r.t. phase-fraction)
Definition at line 146 of file phasePressureModel.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), coupled(), Foam::exp(), forAll, Foam::min(), and tmp< T >::ref().
|
virtual |
Return the face-phase-pressure'.
(derivative of phase-pressure w.r.t. phase-fraction)
Definition at line 174 of file phasePressureModel.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), coupled(), Foam::exp(), forAll, Foam::fvc::interpolate(), Foam::min(), and tmp< T >::ref().
|
virtual |
Return the effective stress tensor.
Reimplemented from linearViscousStress< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
Definition at line 202 of file phasePressureModel.C.
|
virtual |
Return the effective stress tensor based on a given velocity field.
Reimplemented from linearViscousStress< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
Definition at line 210 of file phasePressureModel.C.
References IOobject::groupName(), IOobject::NO_READ, IOobject::NO_WRITE, U, and Foam::Zero.
|
virtual |
Return the source term for the momentum equation.
Reimplemented from linearViscousStress< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
Definition at line 240 of file phasePressureModel.C.
References U.
|
virtual |
Solve the kinetic theory equations and correct the viscosity.
Implements eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
Definition at line 255 of file phasePressureModel.C.
TypeName | ( | "phasePressure" | ) |
Runtime type information.
|
virtual |
Re-read model coefficients if they have changed.
Implements eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
|
inlinevirtual |
Return the effective viscosity.
Reimplemented from RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >.
Definition at line 146 of file phasePressureModel.H.
References eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >::nut().
|
inlinevirtual |
Return the effective viscosity on patch.
Reimplemented from RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >.
Definition at line 152 of file phasePressureModel.H.
References eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >::nut().
|
virtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
|
virtual |
Return the turbulence kinetic energy dissipation rate.
Reimplemented from RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >.
|
virtual |
Return the specific dissipation rate.
Reimplemented from RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >.
|
virtual |
Return the Reynolds stress tensor.
Reimplemented from eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
|
virtual |
Return the phase-pressure'.
(derivative of phase-pressure w.r.t. phase-fraction)
|
virtual |
Return the face-phase-pressure'.
(derivative of phase-pressure w.r.t. phase-fraction)
|
virtual |
Return the effective stress tensor.
Reimplemented from linearViscousStress< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
|
virtual |
Return the effective stress tensor based on a given velocity field.
Reimplemented from linearViscousStress< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
|
virtual |
Return the source term for the momentum equation.
Reimplemented from linearViscousStress< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.
|
virtual |
Solve the kinetic theory equations and correct the viscosity.
Implements eddyViscosity< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >.