Calculation of adjoint based sensitivities at vol BSplines control points using the SI or eSI approach (determined by surface sensitivities) More...
Public Member Functions  
TypeName ("volumetricBSplines")  
Runtime type information. More...  
sensitivityVolBSplines (const fvMesh &mesh, const dictionary &dict, incompressibleVars &primalVars, incompressibleAdjointVars &adjointVars, objectiveManager &objectiveManager)  
Construct from components. More...  
virtual  ~sensitivityVolBSplines ()=default 
Destructor. More...  
virtual void  assembleSensitivities () 
Assemble sensitivities. More...  
virtual void  clearSensitivities () 
Zero sensitivity fields and their constituents. More...  
virtual void  write (const word &baseName=word::null) 
Write sensitivities to file. More...  
Public Member Functions inherited from SIBase  
TypeName ("volumetricBSplinesFI")  
Runtime type information. More...  
SIBase (const fvMesh &mesh, const dictionary &dict, incompressibleVars &primalVars, incompressibleAdjointVars &adjointVars, objectiveManager &objectiveManager)  
Construct from components. More...  
virtual  ~SIBase ()=default 
Destructor. More...  
virtual bool  readDict (const dictionary &dict) 
Read dict if changed. More...  
virtual void  accumulateIntegrand (const scalar dt) 
Accumulate sensitivity integrands. More...  
const sensitivitySurface &  getSurfaceSensitivities () const 
Return reference to underlaying surface sensitivities. More...  
Public Member Functions inherited from shapeSensitivities  
TypeName ("shapeSensitivities")  
Runtime type information. More...  
shapeSensitivities (const fvMesh &mesh, const dictionary &dict, incompressibleVars &primalVars, incompressibleAdjointVars &adjointVars, objectiveManager &objectiveManager)  
Construct from components. More...  
virtual  ~shapeSensitivities ()=default 
Destructor. More...  
Public Member Functions inherited from adjointSensitivity  
TypeName ("adjointSensitivity")  
Runtime type information. More...  
declareRunTimeSelectionTable (autoPtr, adjointSensitivity, dictionary,(const fvMesh &mesh, const dictionary &dict, incompressibleVars &primalVars, incompressibleAdjointVars &adjointVars, objectiveManager &objectiveManager),(mesh, dict, primalVars, adjointVars, objectiveManager))  
adjointSensitivity (const fvMesh &mesh, const dictionary &dict, incompressibleVars &primalVars, incompressibleAdjointVars &adjointVars, objectiveManager &objectiveManager)  
Construct from components. More...  
virtual  ~adjointSensitivity ()=default 
Destructor. More...  
virtual const scalarField &  calculateSensitivities () 
Calculates and returns sensitivity fields. More...  
const scalarField &  getSensitivities () const 
Returns the sensitivity fields. More...  
tmp< volTensorField >  computeGradDxDbMultiplier () 
tmp< volVectorField >  adjointMeshMovementSource () 
Compute source term for adjoint mesh movement equation. More...  
Public Member Functions inherited from sensitivity  
TypeName ("sensitivity")  
Runtime type information. More...  
sensitivity (const fvMesh &mesh, const dictionary &dict)  
Construct from components. More...  
virtual  ~sensitivity ()=default 
Destructor. More...  
const dictionary &  dict () const 
Return the construction dictionary. More...  
virtual void  computeDerivativesSize () 
Compute design variables number. Does nothing in the base. More...  
Protected Member Functions  
void  computeObjectiveContributions () 
void  computeBCContributions () 
Protected Member Functions inherited from SIBase  
void  read () 
Read options from dict. More...  
Protected Member Functions inherited from shapeSensitivities  
virtual void  accumulateDirectSensitivityIntegrand (const scalar dt) 
Accumulate direct sensitivities. More...  
virtual void  accumulateBCSensitivityIntegrand (const scalar dt) 
Accumulate sensitivities enamating from the boundary conditions. More...  
tmp< boundaryVectorField >  dvdbMult () const 
Compute multiplier of dv_i/db. More...  
Additional Inherited Members  
Static Public Member Functions inherited from adjointSensitivity  
static autoPtr< adjointSensitivity >  New (const fvMesh &mesh, const dictionary &dict, incompressibleVars &primalVars, incompressibleAdjointVars &adjointVars, objectiveManager &objectiveManager) 
Return a reference to the selected turbulence model. More...  
Calculation of adjoint based sensitivities at vol BSplines control points using the SI or eSI approach (determined by surface sensitivities)
Definition at line 57 of file sensitivityVolBSplinesIncompressible.H.
sensitivityVolBSplines  (  const fvMesh &  mesh, 
const dictionary &  dict,  
incompressibleVars &  primalVars,  
incompressibleAdjointVars &  adjointVars,  
objectiveManager &  objectiveManager  
) 
Construct from components.
Definition at line 143 of file sensitivityVolBSplinesIncompressible.C.
References Foam::mkDir(), and Foam::Zero.

virtualdefault 
Destructor.

protected 
Definition at line 54 of file sensitivityVolBSplinesIncompressible.C.
References volBSplinesBase::boundControlPointMovement(), volBSplinesBase::boxesRef(), sensitivityVolBSplines::dndbSens_, shapeSensitivities::dnfdbMult_, sensitivityVolBSplines::dSdbSens_, shapeSensitivities::dSfdbMult_, shapeSensitivities::dxdbDirectMult_, sensitivityVolBSplines::dxdbDirectSens_, forAll, Foam::gSum(), SIBase::includeObjective_, sensitivityVolBSplines::volBSplinesBase_, and Foam::Zero.
Referenced by sensitivityVolBSplines::assembleSensitivities().

protected 
Definition at line 116 of file sensitivityVolBSplinesIncompressible.C.
References shapeSensitivities::bcDxDbMult_, sensitivityVolBSplines::bcSens_, volBSplinesBase::boundControlPointMovement(), volBSplinesBase::boxesRef(), forAll, and sensitivityVolBSplines::volBSplinesBase_.
Referenced by sensitivityVolBSplines::assembleSensitivities().
TypeName  (  "volumetricBSplines"  ) 
Runtime type information.

virtual 
Assemble sensitivities.
Implements SIBase.
Definition at line 188 of file sensitivityVolBSplinesIncompressible.C.
References sensitivitySurface::assembleSensitivities(), sensitivityVolBSplines::bcSens_, volBSplinesBase::boundControlPointMovement(), volBSplinesBase::boxesRef(), sensitivityVolBSplines::computeBCContributions(), sensitivityVolBSplines::computeObjectiveContributions(), adjointSensitivity::derivatives_, sensitivityVolBSplines::dndbSens_, sensitivityVolBSplines::dSdbSens_, sensitivityVolBSplines::dxdbDirectSens_, sensitivityVolBSplines::flowSens_, forAll, SIBase::surfaceSensitivity_, and sensitivityVolBSplines::volBSplinesBase_.

virtual 
Zero sensitivity fields and their constituents.
Reimplemented from SIBase.
Definition at line 254 of file sensitivityVolBSplinesIncompressible.C.
References sensitivityVolBSplines::bcSens_, SIBase::clearSensitivities(), sensitivityVolBSplines::dndbSens_, sensitivityVolBSplines::dSdbSens_, sensitivityVolBSplines::dxdbDirectSens_, sensitivityVolBSplines::flowSens_, and VectorSpace< Vector< Cmpt >, Cmpt, 3 >::zero.

virtual 
Write sensitivities to file.
Reimplemented from SIBase.
Definition at line 266 of file sensitivityVolBSplinesIncompressible.C.
References adjointSensitivity::adjointVars_, sensitivityVolBSplines::bcSens_, volBSplinesBase::boxesRef(), IOstream::defaultPrecision(), adjointSensitivity::derivatives_, sensitivityVolBSplines::derivativesFolder_, sensitivityVolBSplines::dndbSens_, sensitivityVolBSplines::dSdbSens_, sensitivityVolBSplines::dxdbDirectSens_, Foam::endl(), sensitivityVolBSplines::flowSens_, forAll, Foam::Info, UPstream::master(), Foam::max(), sensitivity::mesh_, Foam::name(), Foam::setw(), variablesSet::solverName(), fvMesh::time(), Time::timeName(), sensitivityVolBSplines::volBSplinesBase_, and SIBase::write().

protected 
Reference to underlaying volumetric BSplines morpher.
Definition at line 66 of file sensitivityVolBSplinesIncompressible.H.
Referenced by sensitivityVolBSplines::assembleSensitivities(), sensitivityVolBSplines::computeBCContributions(), sensitivityVolBSplines::computeObjectiveContributions(), and sensitivityVolBSplines::write().

protected 
Flow related term.
Definition at line 69 of file sensitivityVolBSplinesIncompressible.H.
Referenced by sensitivityVolBSplines::assembleSensitivities(), sensitivityVolBSplines::clearSensitivities(), and sensitivityVolBSplines::write().

protected 
Term depending on delta(n dS)/delta b.
Definition at line 72 of file sensitivityVolBSplinesIncompressible.H.
Referenced by sensitivityVolBSplines::assembleSensitivities(), sensitivityVolBSplines::clearSensitivities(), sensitivityVolBSplines::computeObjectiveContributions(), and sensitivityVolBSplines::write().

protected 
Term depending on delta (n)/delta b.
Definition at line 75 of file sensitivityVolBSplinesIncompressible.H.
Referenced by sensitivityVolBSplines::assembleSensitivities(), sensitivityVolBSplines::clearSensitivities(), sensitivityVolBSplines::computeObjectiveContributions(), and sensitivityVolBSplines::write().

protected 
Term depending on dxdb for objective functions directly depending on x
Definition at line 79 of file sensitivityVolBSplinesIncompressible.H.
Referenced by sensitivityVolBSplines::assembleSensitivities(), sensitivityVolBSplines::clearSensitivities(), sensitivityVolBSplines::computeObjectiveContributions(), and sensitivityVolBSplines::write().

protected 
Term dependng on the differentiation of boundary conditions.
Definition at line 82 of file sensitivityVolBSplinesIncompressible.H.
Referenced by sensitivityVolBSplines::assembleSensitivities(), sensitivityVolBSplines::clearSensitivities(), sensitivityVolBSplines::computeBCContributions(), and sensitivityVolBSplines::write().

protected 
Definition at line 84 of file sensitivityVolBSplinesIncompressible.H.
Referenced by sensitivityVolBSplines::write().