37 namespace incompressibleAdjoint
39 namespace adjointRASModels
49 adjointLaminar::adjointLaminar
54 const word& adjointTurbulenceModelName,
64 adjointTurbulenceModelName
108 "adjointMeanFlowSource",
139 "adjointEikonalSource" +
type(),
151 "volumeSensTerm" +
type(),
virtual void correct()
Correct the primal viscosity field. Redundant?
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual tmp< volScalarField > distanceSensitivities()
Returns zero field.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Class for managing objective functions.
virtual bool read()
Read adjointRASProperties dictionary.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
virtual tmp< fvVectorMatrix > divDevReff(volVectorField &U) const
Return the diffusion term for the momentum equation.
autoPtr< boundaryVectorField > adjMomentumBCSourcePtr_
Source to the adjoint momentum BC emerging from differentiating the turbulence model.
virtual void correct()=0
Solve the adjoint turbulence equations.
autoPtr< boundaryVectorField > wallShapeSensitivitiesPtr_
Wall sensitivity term for shape optimisation.
incompressibleAdjointMeanFlowVars & adjointVars_
Macros for easy insertion into run-time selection tables.
tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual bool read()
Read adjointRASProperties dictionary.
autoPtr< boundaryVectorField > wallFloCoSensitivitiesPtr_
Wall sensitivity term for flow control optimisation.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Base class for solution control classes.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
Dummy turbulence model for a laminar incompressible flow. Can also be used when the "frozen turbulenc...
virtual void nullify()
Nullify all adjoint turbulence model fields and their old times.
A class for handling words, derived from Foam::string.
Abstract base class for incompressible turbulence models.
const volVectorField & Ua() const
Return const reference to velocity.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
virtual tmp< volTensorField > FISensitivityTerm()
Returns zero field.
addToRunTimeSelectionTable(adjointRASModel, adjointkOmegaSST, dictionary)
dimensioned< tensor > dimensionedTensor
Dimensioned tensor obtained from generic dimensioned type.
virtual const boundaryVectorField & wallFloCoSensitivities()
Returns zero field.
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())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
virtual tmp< volSymmTensorField > devReff() const
Return the effective stress tensor, i.e. the adjointLaminar stress.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual const boundaryVectorField & wallShapeSensitivities()
Returns zero field.
Manages the adjoint mean flow fields and their mean values.
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
label nCells() const noexcept
Number of mesh cells.
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity.
defineTypeNameAndDebug(adjointkOmegaSST, 0)
A class for managing temporary objects.
virtual const boundaryVectorField & adjointMomentumBCSource() const
Returns zero field.
Do not request registration (bool: false)
SymmTensor< Cmpt > devTwoSymm(const SymmTensor< Cmpt > &st)
Return the deviatoric part of twice the symmetric part of a SymmTensor.
virtual tmp< volVectorField > adjointMeanFlowSource()
Source terms to the adjoint momentum equation due to the differentiation of the turbulence model...
static constexpr const zero Zero
Global zero (0)
virtual tmp< scalarField > topologySensitivities(const word &designVarsName) const
Returns zero field.