Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
incompressibleAdjointMeanFlowVars Class Reference

Manages the adjoint mean flow fields and their mean values. More...

Inheritance diagram for incompressibleAdjointMeanFlowVars:
Inheritance graph
[legend]
Collaboration diagram for incompressibleAdjointMeanFlowVars:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("incompressibleAdjointMeanFlowVars")
 
 incompressibleAdjointMeanFlowVars (fvMesh &mesh, solverControl &SolverControl, incompressibleVars &primalVars)
 
virtual ~incompressibleAdjointMeanFlowVars ()=default
 
const incompressibleVarsprimalVars () const
 
const volScalarFieldpa () const
 
volScalarFieldpa ()
 
const volVectorFieldUa () const
 
volVectorFieldUa ()
 
const surfaceScalarFieldphia () const
 
surfaceScalarFieldphia ()
 
const volScalarFieldpaInst () const
 
volScalarFieldpaInst ()
 
const volVectorFieldUaInst () const
 
volVectorFieldUaInst ()
 
const surfaceScalarFieldphiaInst () const
 
surfaceScalarFieldphiaInst ()
 
bool computeMeanFields () const
 
const solverControlgetSolverControl () const
 
virtual void nullify ()
 
- Public Member Functions inherited from variablesSet
 TypeName ("variablesSet")
 
 variablesSet (fvMesh &mesh, const dictionary &dict)
 
virtual autoPtr< variablesSetclone () const
 
virtual ~variablesSet ()=default
 
const wordsolverName () const
 
bool useSolverNameForFields () const
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > allocateField (const fvMesh &mesh, const word &baseName, const word &solverName, const bool useSolverNameForFields)
 
template<class Type >
void renameTurbulenceField (GeometricField< Type, fvPatchField, volMesh > &baseField, const word &solverName)
 
tmp< surfaceScalarFieldallocateFluxField (const fvMesh &mesh, const volVectorField &velocity, const word &baseName, const word &solverName, const bool useSolverNameForFields)
 
virtual void transfer (variablesSet &vars)
 

Protected Member Functions

void setFields ()
 
void setMeanFields ()
 
- Protected Member Functions inherited from variablesSet
template<class Type , template< class > class PatchField, class GeoMesh >
autoPtr< GeometricField< Type, PatchField, GeoMesh > > allocateRenamedField (const autoPtr< GeometricField< Type, PatchField, GeoMesh >> &bf)
 
template<class Type , template< class > class PatchField, class GeoMesh >
void swapAndRename (autoPtr< GeometricField< Type, PatchField, GeoMesh >> &p1, autoPtr< GeometricField< Type, PatchField, GeoMesh >> &p2)
 

Protected Attributes

solverControlsolverControl_
 
incompressibleVarsprimalVars_
 
autoPtr< volScalarFieldpaPtr_
 
autoPtr< volVectorFieldUaPtr_
 
autoPtr< surfaceScalarFieldphiaPtr_
 
autoPtr< volScalarFieldpaMeanPtr_
 
autoPtr< volVectorFieldUaMeanPtr_
 
autoPtr< surfaceScalarFieldphiaMeanPtr_
 
- Protected Attributes inherited from variablesSet
fvMeshmesh_
 
word solverName_
 
bool useSolverNameForFields_
 

Additional Inherited Members

- Static Public Member Functions inherited from variablesSet
template<class Type >
static void setField (autoPtr< GeometricField< Type, fvPatchField, volMesh >> &fieldPtr, const fvMesh &mesh, const word &baseName, const word &solverName, const bool useSolverNameForFields)
 
static void setFluxField (autoPtr< surfaceScalarField > &fieldPtr, const fvMesh &mesh, const volVectorField &velocity, const word &baseName, const word &solverName, const bool useSolverNameForFields)
 
static tmp< volVectorFieldautoCreateMeshMovementField (const fvMesh &mesh, const word &name, const dimensionSet &dims)
 
template<class Type , template< class > class PatchField, class GeoMesh >
static void nullifyField (GeometricField< Type, PatchField, GeoMesh > &fieldPtr)
 

Detailed Description

Manages the adjoint mean flow fields and their mean values.

Definition at line 45 of file incompressibleAdjointMeanFlowVars.H.

Constructor & Destructor Documentation

◆ incompressibleAdjointMeanFlowVars()

incompressibleAdjointMeanFlowVars ( fvMesh mesh,
solverControl SolverControl,
incompressibleVars primalVars 
)

Definition at line 112 of file incompressibleAdjointMeanFlowVars.C.

◆ ~incompressibleAdjointMeanFlowVars()

virtual ~incompressibleAdjointMeanFlowVars ( )
virtualdefault

Member Function Documentation

◆ setFields()

void setFields ( )
protected

◆ setMeanFields()

void setMeanFields ( )
protected

◆ TypeName()

TypeName ( "incompressibleAdjointMeanFlowVars"  )

◆ primalVars()

const incompressibleVars & primalVars ( ) const

◆ pa() [1/2]

volScalarField & pa ( ) const

◆ pa() [2/2]

volScalarField& pa ( )

◆ Ua() [1/2]

volVectorField & Ua ( ) const

◆ Ua() [2/2]

volVectorField& Ua ( )

◆ phia() [1/2]

surfaceScalarField & phia ( ) const

◆ phia() [2/2]

surfaceScalarField& phia ( )

◆ paInst() [1/2]

volScalarField & paInst ( ) const

◆ paInst() [2/2]

volScalarField& paInst ( )

◆ UaInst() [1/2]

volVectorField & UaInst ( ) const

◆ UaInst() [2/2]

volVectorField& UaInst ( )

◆ phiaInst() [1/2]

surfaceScalarField & phiaInst ( ) const

◆ phiaInst() [2/2]

surfaceScalarField& phiaInst ( )

◆ computeMeanFields()

bool computeMeanFields ( ) const

Definition at line 254 of file incompressibleAdjointMeanFlowVars.C.

References solverControl::average(), and incompressibleAdjointMeanFlowVars::solverControl_.

Here is the call graph for this function:

◆ getSolverControl()

const solverControl & getSolverControl ( ) const

◆ nullify()

void nullify ( )
virtual

Reimplemented in incompressibleAdjointVars.

Definition at line 266 of file incompressibleAdjointMeanFlowVars.C.

References variablesSet::nullifyField(), incompressibleAdjointMeanFlowVars::paPtr_, incompressibleAdjointMeanFlowVars::phiaPtr_, and incompressibleAdjointMeanFlowVars::UaPtr_.

Referenced by incompressibleAdjointVars::nullify().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ solverControl_

solverControl& solverControl_
protected

◆ primalVars_

incompressibleVars& primalVars_
protected

◆ paPtr_

autoPtr<volScalarField> paPtr_
protected

◆ UaPtr_

autoPtr<volVectorField> UaPtr_
protected

◆ phiaPtr_

autoPtr<surfaceScalarField> phiaPtr_
protected

◆ paMeanPtr_

autoPtr<volScalarField> paMeanPtr_
protected

◆ UaMeanPtr_

autoPtr<volVectorField> UaMeanPtr_
protected

◆ phiaMeanPtr_

autoPtr<surfaceScalarField> phiaMeanPtr_
protected

The documentation for this class was generated from the following files: