62 mesh_.time().timeName(),
107 TMVar2().internalField().group()
142 <<
"Using GMean" <<
endl;
146 <<
"Using instantaneous G" <<
endl;
157 scalar avIter(iAverageIter);
158 scalar oneOverItP1 = 1./(avIter + 1);
159 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.
DimensionedField< scalar, volMesh > Internal
void correctBoundaryConditions()
Correct boundary field.
@ READ_IF_PRESENT
Reading is optional [identical to LAZY_READ].
@ AUTO_WRITE
Automatically write from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
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.
Abstract base class for objective functions. No point in making this runTime selectable since its chi...
refPtr< volScalarField > TMVar1Ptr_
const volScalarField & TMVar2() const
virtual void allocateMeanFields()
virtual void allocateInitValues()
RASModelVariables(const fvMesh &mesh, const solverControl &SolverControl)
Construct from components.
refPtr< volScalarField > TMVar2Ptr_
const volScalarField & nutRefInst() const
virtual void computeMeanFields()
Compute mean fields on the fly.
const solverControl & solverControl_
const volScalarField & TMVar2Inst() const
refPtr< volScalarField > nutPtr_
tmp< volScalarField::Internal > computeG()
virtual tmp< volScalarField::Internal > G()
Return the turbulence production term.
virtual void allocateMeanFields()
kEpsilon(const fvMesh &mesh, const solverControl &SolverControl)
Construct from components.
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
Lookup and return non-const reference to the object of the given Type. Fatal if not found or the wron...
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
Base class for solver control classes.
bool doAverageIter() const
Whether or not to add fields of the current iteration to the average fields.
label & averageIter()
Return average iteration index reference.
bool useAveragedFields() const
Use averaged fields? For solving the adjoint equations or computing sensitivities based on averaged f...
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
static const word propertiesName
Default name of the turbulence properties dictionary.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#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)
IncompressibleTurbulenceModel< transportModel > turbulenceModel
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
SymmTensor< Cmpt > devTwoSymm(const SymmTensor< Cmpt > &st)
Return the deviatoric part of twice the symmetric part of a SymmTensor.
const dimensionSet dimArea(sqr(dimLength))
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< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.