63 mesh_.time().timeName(),
110 TMVar2().internalField().group()
146 <<
"Using GMean" <<
endl;
150 <<
"Using instantaneous G" <<
endl;
161 scalar avIter(iAverageIter);
162 scalar oneOverItP1 = 1./(avIter + 1);
163 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.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
DimensionedField< scalar, volMesh > Internal
void correctBoundaryConditions()
Correct boundary field.
@ REGISTER
Request registration (bool: true).
@ 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.
static FOAM_NO_DANGLING_REFERENCE const wallDist & New(const fvMesh &mesh, Args &&... args)
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 correctBoundaryConditions(const incompressible::turbulenceModel &turbulence)
correct bounday conditions of turbulent fields
refPtr< volScalarField > distPtr_
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 & 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 correctBoundaryConditions(const incompressible::turbulenceModel &turbulence)
Correct boundary conditions of turbulent fields.
virtual void allocateMeanFields()
kOmegaSST(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 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
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
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.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)