List of all members
DAResidualPisoFoam Class Reference
Inheritance diagram for DAResidualPisoFoam:
Inheritance graph
[legend]
Collaboration diagram for DAResidualPisoFoam:
Collaboration graph
[legend]

These are state variables, state residuals, and partial derivatives

volVectorField & U_
 
volVectorField URes_
 
volScalarField & p_
 
volScalarField pRes_
 
surfaceScalarField & phi_
 
surfaceScalarField phiRes_
 
volVectorField & fvSource_
 fvSource term More...
 
DATurbulenceModeldaTurb_
 DATurbulenceModel object. More...
 
pisoControl piso_
 pisoControl object which will be initialized in this class More...
 
label hasFvSource_ = 0
 whether to has fvSource term More...
 
word mode_ = "None"
 whether the hybrid adjoint or time accurate adjoint is active More...
 
 TypeName ("DAPisoFoam")
 
 DAResidualPisoFoam (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAResidualPisoFoam ()
 
virtual void clear ()
 clear the members More...
 
virtual void calcResiduals (const dictionary &options)
 compute residual More...
 
virtual void updateIntermediateVariables ()
 update any intermediate variables that are dependent on state variables and are used in calcResiduals More...
 
virtual void correctBoundaryConditions ()
 update the boundary condition for all the states in the selected solver More...
 

Additional Inherited Members

- Public Member Functions inherited from DAResidual
 TypeName ("DAResidual")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, DAResidual, dictionary,(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex),(modelType, mesh, daOption, daModel, daIndex))
 
 DAResidual (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAResidual ()
 
void masterFunction (const dictionary &options, const Vec xvVec, const Vec wVec, Vec resVec)
 the master function that compute the residual vector given the state and point vectors More...
 
- Static Public Member Functions inherited from DAResidual
static autoPtr< DAResidualNew (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
- Protected Attributes inherited from DAResidual
const fvMesh & mesh_
 fvMesh More...
 
const DAOptiondaOption_
 DAOption object. More...
 
const DAModeldaModel_
 DAModel object. More...
 
const DAIndexdaIndex_
 DAIndex. More...
 
DAField daField_
 DAField object. More...
 

Detailed Description

Definition at line 28 of file DAResidualPisoFoam.H.

Constructor & Destructor Documentation

◆ DAResidualPisoFoam()

DAResidualPisoFoam ( const word  modelType,
const fvMesh &  mesh,
const DAOption daOption,
const DAModel daModel,
const DAIndex daIndex 
)

Definition at line 19 of file DAResidualPisoFoam.C.

References allOptions, daOption(), DAResidualPisoFoam::hasFvSource_, and DAResidualPisoFoam::mode_.

Here is the call graph for this function:

◆ ~DAResidualPisoFoam()

virtual ~DAResidualPisoFoam ( )
inlinevirtual

Definition at line 72 of file DAResidualPisoFoam.H.

Member Function Documentation

◆ TypeName()

TypeName ( "DAPisoFoam"  )

◆ clear()

void clear ( )
virtual

clear the members

Implements DAResidual.

Definition at line 49 of file DAResidualPisoFoam.C.

References DAResidualPisoFoam::phiRes_, DAResidualPisoFoam::pRes_, and DAResidualPisoFoam::URes_.

◆ calcResiduals()

void calcResiduals ( const dictionary &  options)
virtual

◆ updateIntermediateVariables()

void updateIntermediateVariables ( )
virtual

update any intermediate variables that are dependent on state variables and are used in calcResiduals

Implements DAResidual.

Definition at line 161 of file DAResidualPisoFoam.C.

◆ correctBoundaryConditions()

void correctBoundaryConditions ( )
virtual

update the boundary condition for all the states in the selected solver

Implements DAResidual.

Definition at line 171 of file DAResidualPisoFoam.C.

References DAResidualPisoFoam::p_, and DAResidualPisoFoam::U_.

Member Data Documentation

◆ U_

volVectorField& U_
protected

◆ URes_

volVectorField URes_
protected

◆ p_

volScalarField& p_
protected

◆ pRes_

volScalarField pRes_
protected

◆ phi_

surfaceScalarField& phi_
protected

Definition at line 40 of file DAResidualPisoFoam.H.

Referenced by DAResidualPisoFoam::calcResiduals().

◆ phiRes_

surfaceScalarField phiRes_
protected

◆ fvSource_

volVectorField& fvSource_
protected

fvSource term

Definition at line 45 of file DAResidualPisoFoam.H.

Referenced by DAResidualPisoFoam::calcResiduals().

◆ daTurb_

DATurbulenceModel& daTurb_
protected

DATurbulenceModel object.

Definition at line 48 of file DAResidualPisoFoam.H.

Referenced by DAResidualPisoFoam::calcResiduals().

◆ piso_

pisoControl piso_
protected

pisoControl object which will be initialized in this class

Definition at line 51 of file DAResidualPisoFoam.H.

◆ hasFvSource_

label hasFvSource_ = 0
protected

whether to has fvSource term

Definition at line 54 of file DAResidualPisoFoam.H.

Referenced by DAResidualPisoFoam::calcResiduals(), and DAResidualPisoFoam::DAResidualPisoFoam().

◆ mode_

word mode_ = "None"
protected

whether the hybrid adjoint or time accurate adjoint is active

Definition at line 57 of file DAResidualPisoFoam.H.

Referenced by DAResidualPisoFoam::calcResiduals(), and DAResidualPisoFoam::DAResidualPisoFoam().


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