Go to the documentation of this file.
38 namespace incompressibleAdjoint
48 adjointTurbulenceModel::adjointTurbulenceModel
53 const word& adjointTurbulenceModelName
60 adjointTurbulenceModelName,
61 primalVars.
U().time().constant(),
67 primalVars_(primalVars),
68 adjointVars_(adjointVars),
69 runTime_(primalVars.
U().time()),
70 mesh_(primalVars.
U().mesh())
81 const word& adjointTurbulenceModelName
90 "turbulenceProperties",
91 primalVars.
U().time().constant(),
100 Info<<
"Selecting turbulence model type " << modelType <<
endl;
103 adjointTurbulenceModelConstructorTablePtr_->cfind(modelType);
105 if (!cstrIter.found())
109 "adjointTurbulenceModel",
111 *adjointTurbulenceModelConstructorTablePtr_
122 adjointTurbulenceModelName
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Manages the adjoint mean flow fields and their mean values.
class for managing incompressible objective functions.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
static autoPtr< adjointTurbulenceModel > New(incompressibleVars &primalVars, incompressibleAdjointMeanFlowVars &adjointVars, objectiveManager &objManager, const word &adjointTurbulenceModelName=typeName)
Return a reference to the selected turbulence model.
Ostream & endl(Ostream &os)
Add newline and flush stream.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
defineTypeNameAndDebug(adjointRASModel, 0)
messageStream Info
Information stream (uses stdout - output is on the master only)
const singlePhaseTransportModel & laminarTransport() const
Return const reference to transport model.
const volVectorField & U() const
Return const reference to velocity.
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
virtual void correct()=0
Solve the adjoint turbulence equations.
defineRunTimeSelectionTable(adjointRASModel, dictionary)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
incompressibleVars & primalVars_
virtual void correct()
Correct the laminar viscosity.
Base class for solution control classes.