38namespace incompressible
107 TMVar2().internalField().group()
116 this->
type() +
":GbyNu",
140 <<
"Using GMean" <<
endl;
144 <<
"Using instantaneous G" <<
endl;
155 scalar avIter(iAverageIter);
156 scalar oneOverItP1 = 1./(avIter + 1);
157 scalar mult = avIter*oneOverItP1;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void correctBoundaryConditions()
Correct boundary field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
Templated abstract base class for single-phase incompressible turbulence models.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
static word timeName(const scalar t, const int precision=precision_)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
Abstract base class for objective functions. No point in making this runTime selectable since its chi...
refPtr< volScalarField > TMVar1Ptr_
const volScalarField & TMVar2() const
refPtr< volScalarField > distPtr_
virtual void allocateMeanFields()
virtual void allocateInitValues()
refPtr< volScalarField > TMVar2Ptr_
const volScalarField & nutRefInst() const
virtual void computeMeanFields()
Compute mean fields on the fly.
const solverControl & solverControl_
const volScalarField & nutRef() const
const volScalarField & TMVar2Inst() const
refPtr< volScalarField > nutPtr_
tmp< volScalarField::Internal > computeG()
virtual tmp< volScalarField::Internal > G()
Return the turbulence production term.
virtual void allocateMeanFields()
virtual void computeMeanFields()
Compute mean fields on the fly.
autoPtr< volScalarField::Internal > GMean_
Average of the production term.
Type & lookupObjectRef(const word &name, const bool recursive=false) const
const Type & lookupObject(const word &name, const bool recursive=false) const
static const word propertiesName
Default name of the phase properties dictionary.
Base class for solver control classes.
bool doAverageIter() const
label & averageIter()
Return average iteration index reference.
bool useAveragedFields() const
bool average() const
Whether averaging is enabled or not.
A class for managing temporary objects.
const volVectorField & U() const
Access function to velocity field.
word GName() const
Helper function to return the name of the turbulence G field.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
compressible::turbulenceModel & turbulence
#define DebugInfo
Report an information message using Foam::Info.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimArea(sqr(dimLength))
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static constexpr const zero Zero
Global zero (0)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)