48adjointTurbulenceModel::adjointTurbulenceModel
53 const word& adjointTurbulenceModelName
60 adjointTurbulenceModelName,
81 const word& adjointTurbulenceModelName
90 "turbulenceProperties",
100 Info<<
"Selecting turbulence model type " << modelType <<
endl;
102 auto* ctorPtr = adjointTurbulenceModelConstructorTable(modelType);
108 "adjointTurbulenceModel",
110 *adjointTurbulenceModelConstructorTablePtr_
121 adjointTurbulenceModelName
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
@ NO_REGISTER
Do not request registration (bool: false).
@ NO_READ
Nothing to be read.
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const Time & time() const noexcept
Return Time associated with the objectRegistry.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
const word & constant() const noexcept
Return constant name.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
Manages the adjoint mean flow fields and their mean values.
Abstract base class for incompressible adjoint turbulence models (RAS, LES and laminar).
incompressibleAdjointMeanFlowVars & adjointVars_
static autoPtr< adjointTurbulenceModel > New(incompressibleVars &primalVars, incompressibleAdjointMeanFlowVars &adjointVars, objectiveManager &objManager, const word &adjointTurbulenceModelName=typeName)
Return a reference to the selected turbulence model.
virtual void correct()=0
Solve the adjoint turbulence equations.
incompressibleVars & primalVars_
Base class for solution control classes.
const volVectorField & U() const
Return const reference to velocity.
const singlePhaseTransportModel & laminarTransport() const
Return const reference to transport model.
Class for managing objective functions.
regIOobject(const IOobject &io, const bool isTimeObject=false)
Construct from IOobject. The optional flag adds special handling if the object is the top-level regIO...
virtual void correct()
Correct the laminar viscosity.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
Different types of constants.
Namespace for incompressible adjoint turbulence models.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.