49adjointLaminar::adjointLaminar
54 const word& adjointTurbulenceModelName,
64 adjointTurbulenceModelName
108 "adjointMeanFlowSource",
139 "adjointEikonalSource" +
type(),
151 "volumeSensTerm" +
type(),
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< symmTensor, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< symmTensor >::calculatedType())
@ NO_REGISTER
Do not request registration (bool: false).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dictionary()
Default construct, a top-level empty dictionary.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Manages the adjoint mean flow fields and their mean values.
Abstract base class for incompressible turbulence models.
autoPtr< boundaryVectorField > wallShapeSensitivitiesPtr_
Wall sensitivity term for shape optimisation.
autoPtr< boundaryVectorField > adjMomentumBCSourcePtr_
Source to the adjoint momentum BC emerging from differentiating the turbulence model.
autoPtr< boundaryVectorField > wallFloCoSensitivitiesPtr_
Wall sensitivity term for flow control optimisation.
virtual bool read()
Read adjointRASProperties dictionary.
Dummy turbulence model for a laminar incompressible flow. Can also be used when the "frozen turbulenc...
virtual tmp< fvVectorMatrix > divDevReff(volVectorField &U) const
Return the diffusion term for the momentum equation.
virtual tmp< volTensorField > FISensitivityTerm()
Returns zero field.
virtual void correct()
Correct the primal viscosity field. Redundant?
virtual const boundaryVectorField & adjointMomentumBCSource() const
Returns zero field.
virtual tmp< volSymmTensorField > devReff() const
Return the effective stress tensor, i.e. the adjointLaminar stress.
virtual void nullify()
Nullify all adjoint turbulence model fields and their old times.
virtual const boundaryVectorField & wallShapeSensitivities()
Returns zero field.
virtual tmp< volVectorField > adjointMeanFlowSource()
Source terms to the adjoint momentum equation due to the differentiation of the turbulence model.
virtual const boundaryVectorField & wallFloCoSensitivities()
Returns zero field.
virtual tmp< volScalarField > distanceSensitivities()
Returns zero field.
virtual tmp< scalarField > topologySensitivities(const word &designVarsName) const
Returns zero field.
virtual bool read()
Read adjointRASProperties dictionary.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
incompressibleAdjointMeanFlowVars & adjointVars_
tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual void correct()=0
Solve the adjoint turbulence equations.
Base class for solution control classes.
Class for managing objective functions.
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Namespace for incompressible adjoint turbulence models.
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
GeometricField< vector, fvPatchField, volMesh > volVectorField
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
SymmTensor< Cmpt > devTwoSymm(const SymmTensor< Cmpt > &st)
Return the deviatoric part of twice the symmetric part of a SymmTensor.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static constexpr const zero Zero
Global zero (0).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
volVectorField::Boundary boundaryVectorField
dimensioned< tensor > dimensionedTensor
Dimensioned tensor obtained from generic dimensioned type.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.