Go to the documentation of this file.
73 void operator=(
const ATCModel&) =
delete;
124 (
mesh, primalVars, adjointVars,
dict)
virtual ~ATCModel()=default
Destructor.
A class for handling words, derived from Foam::string.
TypeName("ATCModel")
Runtime type information.
A class for managing temporary objects.
virtual bool writeData(Ostream &) const
Dummy writeData function required from regIOobject.
scalar getExtraConvectionMultiplier()
Get the extra convection multiplier.
void computeLimiter()
Compute limiter based on the cells given by zeroATCcells.
Base class for selecting the adjoint transpose convection model. Inherits from regIOobject to add loo...
Class including all adjoint fields for incompressible flows.
const scalar extraDiffusion_
declareRunTimeSelectionTable(autoPtr, ATCModel, dictionary,(const fvMesh &mesh, const incompressibleVars &primalVars, const incompressibleAdjointVars &adjointVars, const dictionary &dict),(mesh, primalVars, adjointVars, dict))
const labelList & getZeroATCcells()
Get the list of cells on which to zero ATC.
const volScalarField & getLimiter() const
Get the list of cells on which to zero ATC.
virtual tmp< volTensorField > getFISensitivityTerm() const =0
Get the FI sensitivity derivatives term coming from the ATC.
autoPtr< zeroATCcells > zeroATCcells_
scalar getExtraDiffusionMultiplier()
Get the extra diffusion multiplier.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
void smoothFieldBasedOnCells(GeometricField< Type, fvPatchField, volMesh > &vf, const labelList &cells)
Smooth an arbitrary field on a given list of cells.
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...
virtual void addATC(fvVectorMatrix &UaEqn)=0
Add ATC to the given matrix.
Macros to ease declaration of run-time selection tables.
const incompressibleAdjointVars & adjointVars_
volScalarField ATClimiter_
static tmp< volScalarField > createLimiter(const fvMesh &mesh, const dictionary &dict)
A special matrix type and solver, designed for finite volume solutions of scalar equations....
void smoothATC()
Limit ATC field using ATClimiter_.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
tmp< areaScalarField > limiter(const areaScalarField &phi)
const bool reconstructGradients_
const scalar extraConvection_
const incompressibleVars & primalVars_
Base class for solution control classes.
static autoPtr< ATCModel > New(const fvMesh &mesh, const incompressibleVars &primalVars, const incompressibleAdjointVars &adjointVars, const dictionary &dict)
Return a reference to the selected turbulence model.