38namespace incompressibleAdjoint
53 const word& adjointTurbulenceModelName
60 adjointTurbulenceModelName,
67 primalVars_(primalVars),
68 adjointVars_(adjointVars),
69 runTime_(primalVars.
U().time()),
70 mesh_(primalVars.
U().
mesh())
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...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const Time & time() const
Return Time associated with the objectRegistry.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
const word & constant() const
Return constant name.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
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
Manages the adjoint mean flow fields and their mean values.
Abstract base class for incompressible adjoint turbulence models (RAS, LES and laminar).
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 incompressible objective functions.
constant condensation/saturation model.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
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.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.