#include <kEpsilon.H>


Public Member Functions | |
| TypeName ("kEpsilon") | |
| Runtime type information. | |
| kEpsilon (const fvMesh &mesh, const solverControl &SolverControl) | |
| Construct from components. | |
| virtual | ~kEpsilon ()=default |
| Destructor. | |
| virtual tmp< volScalarField::Internal > | G () |
| Return the turbulence production term. | |
| virtual void | computeMeanFields () |
| Compute mean fields on the fly. | |
| Public Member Functions inherited from RASModelVariables | |
| TypeName ("RASModelVariables") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, RASModelVariables, dictionary,(const fvMesh &mesh, const solverControl &SolverControl),(mesh, SolverControl)) | |
| RASModelVariables (const fvMesh &mesh, const solverControl &SolverControl) | |
| Construct from components. | |
| RASModelVariables (const RASModelVariables &rmv) | |
| Copy constructor. | |
| autoPtr< RASModelVariables > | clone () const |
| Clone. | |
| virtual | ~RASModelVariables ()=default |
| const word & | TMVar1BaseName () const |
| Turbulence field names. | |
| const word & | TMVar2BaseName () const |
| const word & | nutBaseName () const |
| virtual bool | hasTMVar1 () const |
| Bools to identify which turbulent fields are present. | |
| virtual bool | hasTMVar2 () const |
| virtual bool | hasNut () const |
| bool | hasDist () const |
| const volScalarField & | TMVar1 () const |
| Return references to turbulence fields. | |
| volScalarField & | TMVar1 () |
| const volScalarField & | TMVar2 () const |
| volScalarField & | TMVar2 () |
| const volScalarField & | nutRef () const |
| volScalarField & | nutRef () |
| tmp< volScalarField > | nut () const |
| const volScalarField & | d () const |
| volScalarField & | d () |
| tmp< scalarField > | TMVar1 (const label patchi) const |
| tmp< scalarField > | TMVar2 (const label patchi) const |
| tmp< scalarField > | nut (const label patchi) const |
| tmp< fvPatchScalarField > | nutPatchField (const label patchi) const |
| const volScalarField & | TMVar1Inst () const |
| Return references to instantaneous turbulence fields. | |
| volScalarField & | TMVar1Inst () |
| const volScalarField & | TMVar2Inst () const |
| volScalarField & | TMVar2Inst () |
| const volScalarField & | nutRefInst () const |
| volScalarField & | nutRefInst () |
| virtual tmp< volScalarField > | nutJacobianVar1 (const singlePhaseTransportModel &laminarTransport) const |
| Return nut Jacobian wrt the TM vars. | |
| virtual tmp< volScalarField > | nutJacobianVar2 (const singlePhaseTransportModel &laminarTransport) const |
| void | restoreInitValues () |
| Restore turbulent fields to their initial values. | |
| void | resetMeanFields () |
| Reset mean fields to zero. | |
| tmp< volSymmTensorField > | devReff (const singlePhaseTransportModel &laminarTransport, const volVectorField &U) const |
| Return stress tensor based on the mean flow variables. | |
| virtual void | correctBoundaryConditions (const incompressible::turbulenceModel &turbulence) |
| correct bounday conditions of turbulent fields | |
| virtual void | transfer (RASModelVariables &rmv) |
| Transfer turbulence fields from an another object. | |
Protected Member Functions | |
| virtual void | allocateMeanFields () |
| tmp< volScalarField::Internal > | computeG () |
| Protected Member Functions inherited from RASModelVariables | |
| virtual void | allocateInitValues () |
| refPtr< volScalarField > | cloneRefPtr (const refPtr< volScalarField > &obj) const |
| void | copyAndRename (volScalarField &f1, volScalarField &f2) |
| void | operator= (const RASModelVariables &)=delete |
| No copy assignment. | |
Protected Attributes | |
| autoPtr< volScalarField::Internal > | GMean_ |
| Average of the production term. | |
| Protected Attributes inherited from RASModelVariables | |
| const fvMesh & | mesh_ |
| const solverControl & | solverControl_ |
| word | TMVar1BaseName_ |
| word | TMVar2BaseName_ |
| word | nutBaseName_ |
| refPtr< volScalarField > | TMVar1Ptr_ |
| refPtr< volScalarField > | TMVar2Ptr_ |
| refPtr< volScalarField > | nutPtr_ |
| refPtr< volScalarField > | distPtr_ |
| refPtr< volScalarField > | TMVar1InitPtr_ |
| refPtr< volScalarField > | TMVar2InitPtr_ |
| refPtr< volScalarField > | nutInitPtr_ |
| refPtr< volScalarField > | TMVar1MeanPtr_ |
| refPtr< volScalarField > | TMVar2MeanPtr_ |
| refPtr< volScalarField > | nutMeanPtr_ |
Additional Inherited Members | |
| Static Public Member Functions inherited from RASModelVariables | |
| static autoPtr< RASModelVariables > | New (const fvMesh &mesh, const solverControl &SolverControl) |
| Return a reference to the selected turbulence model. | |
| kEpsilon | ( | const fvMesh & | mesh, |
| const solverControl & | SolverControl ) |
Construct from components.
Definition at line 71 of file kEpsilon.C.
References RASModelVariables::allocateInitValues(), allocateMeanFields(), mesh, RASModelVariables::mesh_, RASModelVariables::nutBaseName_, RASModelVariables::nutPtr_, RASModelVariables::RASModelVariables(), RASModelVariables::TMVar1BaseName_, RASModelVariables::TMVar1Ptr_, RASModelVariables::TMVar2BaseName_, and RASModelVariables::TMVar2Ptr_.

|
virtualdefault |
Destructor.
|
protectedvirtual |
Reimplemented from RASModelVariables.
Definition at line 43 of file kEpsilon.C.
References RASModelVariables::allocateMeanFields(), IOobjectOption::AUTO_WRITE, Foam::dimArea, Foam::dimTime, GMean_, RASModelVariables::mesh_, Foam::pow3(), IOobjectOption::READ_IF_PRESENT, RASModelVariables::solverControl_, and Foam::Zero.
Referenced by kEpsilon().


|
protected |
Definition at line 93 of file kEpsilon.C.
References GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::devTwoSymm(), Foam::fvc::grad(), IOobject::groupName(), RASModelVariables::mesh_, tmp< T >::New(), RASModelVariables::nutRefInst(), turbulenceModel::propertiesName, IOobject::scopedName(), RASModelVariables::TMVar2(), RASModelVariables::TMVar2Inst(), Foam::type(), and U.
Referenced by computeMeanFields(), and G().


| TypeName | ( | "kEpsilon" | ) |
Runtime type information.
References mesh.
|
virtual |
Return the turbulence production term.
Reimplemented from RASModelVariables.
Definition at line 130 of file kEpsilon.C.
References computeG(), DebugInfo, Foam::endl(), GMean_, and RASModelVariables::solverControl_.

|
virtual |
Compute mean fields on the fly.
Reimplemented from RASModelVariables.
Definition at line 144 of file kEpsilon.C.
References computeG(), RASModelVariables::computeMeanFields(), GMean_, and RASModelVariables::solverControl_.

|
protected |
Average of the production term.
Avaraged separetely due the bi-zonal treatment next to the wall
Definition at line 66 of file kEpsilon.H.
Referenced by allocateMeanFields(), computeMeanFields(), and G().