Standard k-epsilon turbulence model with additional source terms corresponding to PDR basic drag model (basic.H) More...


Public Member Functions | |
| TypeName ("PDRkEpsilon") | |
| Runtime type information. More... | |
| PDRkEpsilon (const geometricOneField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &transport, const word &modelName=typeName) | |
| Construct from components. More... | |
| virtual | ~PDRkEpsilon () |
| Destructor. More... | |
| void | correct () |
| Solve the turbulence equations and correct the turbulence viscosity. More... | |
| bool | read () |
| Read momentumTransport dictionary. More... | |
Public Member Functions inherited from kEpsilon< compressible::momentumTransportModel > | |
| TypeName ("kEpsilon") | |
| Runtime type information. More... | |
| kEpsilon (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName) | |
| Construct from components. More... | |
| kEpsilon (const kEpsilon &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~kEpsilon () |
| Destructor. More... | |
| tmp< volScalarField > | DkEff () const |
| Return the effective diffusivity for k. More... | |
| tmp< volScalarField > | DepsilonEff () const |
| Return the effective diffusivity for epsilon. 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... | |
| void | operator= (const kEpsilon &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from eddyViscosity< BasicMomentumTransportModel > | |
| 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 tmp< volSymmTensorField > | R () const |
| Return the Reynolds stress tensor [m^2/s^2]. 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< surfaceVectorField > | devTau () const |
| Return the effective surface stress. More... | |
| virtual tmp< fvVectorMatrix > | divDevTau (volVectorField &U) const |
| Return the source term for the momentum equation. More... | |
| virtual tmp< fvVectorMatrix > | divDevTau (const volScalarField &rho, volVectorField &U) const |
| Return the source term for the momentum equation. More... | |
| template<class RhoFieldType > | |
| Foam::tmp< Foam::fvVectorMatrix > | DivDevTau (const RhoFieldType &rho, volVectorField &U) const |
Additional Inherited Members | |
Public Types inherited from kEpsilon< compressible::momentumTransportModel > | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Types inherited from eddyViscosity< BasicMomentumTransportModel > | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Types inherited from linearViscousStress< BasicMomentumTransportModel > | |
| typedef BasicMomentumTransportModel::alphaField | alphaField |
| typedef BasicMomentumTransportModel::rhoField | rhoField |
Protected Member Functions inherited from kEpsilon< compressible::momentumTransportModel > | |
| tmp< volScalarField > | boundEpsilon () |
| Bound epsilon and return Cmu*sqr(k) for nut. More... | |
| virtual tmp< fvScalarMatrix > | kSource () const |
| Source term for the k equation. More... | |
| virtual tmp< fvScalarMatrix > | epsilonSource () const |
| Source term for the epsilon equation. More... | |
Protected Member Functions inherited from linearViscousStress< BasicMomentumTransportModel > | |
| template<class RhoFieldType > | |
| tmp< fvVectorMatrix > | DivDevTau (const RhoFieldType &rho, volVectorField &U) const |
| Return the source term for the momentum equation. More... | |
Protected Attributes inherited from kEpsilon< compressible::momentumTransportModel > | |
| dimensionedScalar | Cmu_ |
| dimensionedScalar | C1_ |
| dimensionedScalar | C2_ |
| dimensionedScalar | C3_ |
| dimensionedScalar | sigmak_ |
| dimensionedScalar | sigmaEps_ |
| volScalarField | k_ |
| volScalarField | epsilon_ |
Protected Attributes inherited from eddyViscosity< BasicMomentumTransportModel > | |
| volScalarField | nut_ |
Standard k-epsilon turbulence model with additional source terms corresponding to PDR basic drag model (basic.H)
The default model coefficients correspond to the following:
PDRkEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33; // only for compressible
C4 0.1;
sigmak 1.0; // only for compressible
sigmaEps 1.3;
Prt 1.0; // only for compressible
}
The turbulence source term
appears in the
equation for the generation of turbulence due to interaction with unresolved obstacles.
In the
equation
is added as a source term.
In the
equation
is added as a source term.
Definition at line 78 of file PDRkEpsilon.H.
| PDRkEpsilon | ( | const geometricOneField & | alpha, |
| const volScalarField & | rho, | ||
| const volVectorField & | U, | ||
| const surfaceScalarField & | alphaRhoPhi, | ||
| const surfaceScalarField & | phi, | ||
| const viscosity & | transport, | ||
| const word & | modelName = typeName |
||
| ) |
Construct from components.
Definition at line 64 of file PDRkEpsilon.C.
|
virtual |
Destructor.
Definition at line 92 of file PDRkEpsilon.C.
| TypeName | ( | "PDRkEpsilon" | ) |
Runtime type information.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Reimplemented from kEpsilon< compressible::momentumTransportModel >.
Definition at line 112 of file PDRkEpsilon.C.
References Foam::bound(), GeometricField< Type, GeoMesh, PrimitiveField >::boundaryFieldRef(), kEpsilon< compressible::momentumTransportModel >::C1_, kEpsilon< compressible::momentumTransportModel >::C2_, tmp< T >::clear(), kEpsilon< compressible::momentumTransportModel >::Cmu_, RASModel< BasicMomentumTransportModel >::correct(), GeometricField< Type, GeoMesh, PrimitiveField >::correctBoundaryConditions(), IOobject::db(), Foam::fvm::ddt(), kEpsilon< compressible::momentumTransportModel >::DepsilonEff(), Foam::dev(), Foam::dimLength, Foam::fvc::div(), Foam::fvm::div(), kEpsilon< compressible::momentumTransportModel >::DkEff(), kEpsilon< compressible::momentumTransportModel >::epsilon_, Foam::constant::universal::G, Foam::fvc::grad(), Foam::fvc::interpolate(), kEpsilon< compressible::momentumTransportModel >::k_, Foam::fvm::laplacian(), objectRegistry::lookupObject(), eddyViscosity< BasicMomentumTransportModel >::nut_, Foam::pow(), tmp< T >::ref(), Foam::solve(), Foam::fvm::Sp(), Foam::sqr(), Foam::sqrt(), Foam::fvm::SuSp(), Foam::twoSymm(), and GeometricBoundaryField< Type, GeoMesh, PrimitiveField >::updateCoeffs().

|
virtual |
Read momentumTransport dictionary.
Reimplemented from kEpsilon< compressible::momentumTransportModel >.
Definition at line 98 of file PDRkEpsilon.C.
References RASModel< BasicMomentumTransportModel >::read(), and dimensioned< Type >::readIfPresent().
