One equation eddy-viscosity model. More...
Public Types | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
![]() | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
![]() | |
typedef LESModel< BasicTurbulenceModel > ::alphaField | alphaField |
typedef LESModel< BasicTurbulenceModel > ::rhoField | rhoField |
typedef LESModel< BasicTurbulenceModel > ::transportModel | transportModel |
![]() | |
typedef LESModel< BasicTurbulenceModel > ::alphaField | alphaField |
typedef LESModel< BasicTurbulenceModel > ::rhoField | rhoField |
typedef LESModel< BasicTurbulenceModel > ::transportModel | transportModel |
![]() | |
typedef BasicTurbulenceModel::alphaField | alphaField |
typedef BasicTurbulenceModel::rhoField | rhoField |
typedef BasicTurbulenceModel::transportModel | transportModel |
Public Member Functions | |
TypeName ("kEqn") | |
kEqn (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName) | |
virtual | ~kEqn ()=default |
virtual bool | read () |
virtual tmp< volScalarField > | k () const |
tmp< volScalarField > | DkEff () const |
virtual void | correct () |
![]() | |
LESeddyViscosity (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName) | |
virtual | ~LESeddyViscosity ()=default |
![]() | |
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) | |
virtual | ~eddyViscosity ()=default |
virtual tmp< volScalarField > | nut () const |
virtual tmp< scalarField > | nut (const label patchi) const |
virtual tmp< volScalarField > | k () const=0 |
virtual tmp< volSymmTensorField > | R () const |
virtual void | validate () |
![]() | |
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) | |
virtual | ~linearViscousStress ()=default |
virtual tmp< volSymmTensorField > | devRhoReff () const |
virtual tmp< volSymmTensorField > | devRhoReff (const volVectorField &U) const |
virtual tmp< fvVectorMatrix > | divDevRhoReff (volVectorField &U) const |
virtual tmp< fvVectorMatrix > | divDevRhoReff (const volScalarField &rho, volVectorField &U) const |
![]() | |
TypeName ("LES") | |
declareRunTimeSelectionTable (autoPtr, LESModel, 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)) | |
LESModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName) | |
virtual | ~LESModel ()=default |
virtual const dictionary & | coeffDict () const |
const dimensionedScalar & | Ce () const noexcept |
const dimensionedScalar & | kMin () const |
dimensionedScalar & | kMin () |
const volScalarField & | delta () const |
virtual tmp< volScalarField > | nuEff () const |
virtual tmp< scalarField > | nuEff (const label patchi) const |
virtual tmp< volScalarField > | epsilon () const |
virtual tmp< volScalarField > | omega () const |
Protected Member Functions | |
kEqn (const kEqn &)=delete | |
void | operator= (const kEqn &)=delete |
virtual void | correctNut () |
virtual tmp< fvScalarMatrix > | kSource () const |
![]() | |
virtual void | printCoeffs (const word &type) |
LESModel (const LESModel &)=delete | |
void | operator= (const LESModel &)=delete |
Protected Attributes | |
volScalarField | k_ |
dimensionedScalar | Ck_ |
![]() | |
volScalarField | nut_ |
![]() | |
dictionary | LESDict_ |
Switch | turbulence_ |
Switch | printCoeffs_ |
dictionary | coeffDict_ |
dimensionedScalar | Ce_ |
dimensionedScalar | kMin_ |
dimensionedScalar | epsilonMin_ |
dimensionedScalar | omegaMin_ |
autoPtr< Foam::LESdelta > | delta_ |
Additional Inherited Members | |
![]() | |
static autoPtr< LESModel > | New (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName) |
One equation eddy-viscosity model.
Eddy viscosity SGS model using a modeled balance equation to simulate the behaviour of k.
Reference:
Yoshizawa, A. (1986). Statistical theory for compressible turbulent shear flows, with the application to subgrid modeling. Physics of Fluids (1958-1988), 29(7), 2152-2164.
The default model coefficients are
kEqnCoeffs { Ck 0.094; Ce 1.048; }
typedef BasicTurbulenceModel::alphaField alphaField |
typedef BasicTurbulenceModel::transportModel transportModel |
kEqn | ( | const alphaField & | alpha, |
const rhoField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | alphaRhoPhi, | ||
const surfaceScalarField & | phi, | ||
const transportModel & | transport, | ||
const word & | propertiesName = turbulenceModel::propertiesName , |
||
const word & | type = typeName |
||
) |
Definition at line 64 of file kEqn.C.
References Foam::bound(), and Foam::type().
|
virtualdefault |
|
protecteddelete |
|
protectedvirtual |
Implements eddyViscosity< LESModel< BasicTurbulenceModel > >.
Reimplemented in NicenoKEqn< BasicTurbulenceModel >.
Definition at line 35 of file kEqn.C.
References optionList::correct(), delta, options::New(), and Foam::sqrt().
|
protectedvirtual |
Reimplemented in NicenoKEqn< BasicTurbulenceModel >, and continuousGasKEqn< BasicTurbulenceModel >.
Definition at line 46 of file kEqn.C.
References Foam::dimTime, and Foam::dimVolume.
TypeName | ( | "kEqn< BasicTurbulenceModel >" | ) |
|
virtual |
Reimplemented from LESeddyViscosity< BasicTurbulenceModel >.
Reimplemented in NicenoKEqn< BasicTurbulenceModel >, and continuousGasKEqn< BasicTurbulenceModel >.
|
inlinevirtual |
Definition at line 141 of file kEqn.H.
References kEqn< BasicTurbulenceModel >::k_.
|
inline |
Definition at line 147 of file kEqn.H.
References nu, and eddyViscosity< LESModel< BasicTurbulenceModel > >::nut_.
|
virtual |
Implements eddyViscosity< LESModel< BasicTurbulenceModel > >.
Definition at line 136 of file kEqn.C.
References Foam::fvc::absolute(), Foam::constant::atomic::alpha, Foam::bound(), tmp::clear(), eddyViscosity< LESModel< BasicTurbulenceModel > >::correct(), Foam::fvm::ddt(), delta, Foam::dev(), Foam::fvm::div(), Foam::fvc::div(), divU, fvOptions, Foam::constant::universal::G, Foam::fvc::grad(), Foam::fvm::laplacian(), options::New(), nut, phi, rho, Foam::solve(), Foam::fvm::Sp(), Foam::sqrt(), Foam::fvm::SuSp(), Foam::twoSymm(), and U.
|
protected |
Definition at line 83 of file kEqn.H.
Referenced by kEqn< BasicTurbulenceModel >::k().
|
protected |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.