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

These are state variables, state residuals, and partial derivatives

volVectorField & U_
 
volVectorField URes_
 
volScalarField & p_
 
volScalarField pRes_
 
surfaceScalarField & phi_
 
surfaceScalarField phiRes_
 
autoPtr< volScalarField > TResPtr_
 
volVectorField & fvSource_
 fvSource term More...
 
DATurbulenceModeldaTurb_
 DATurbulenceModel object. More...
 
pimpleControl pimple_
 pimpleControl object which will be initialized in this class More...
 
label hasFvSource_ = 0
 whether to has fvSource term More...
 
label hasTField_ = 0
 whether to include the temperature field More...
 
scalar Pr_
 
scalar Prt_
 
 TypeName ("DAPimpleDyMFoam")
 
 DAResidualPimpleDyMFoam (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAResidualPimpleDyMFoam ()
 
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...
 
virtual void calcPCMatWithFvMatrix (Mat PCMat)
 calculating the adjoint preconditioner matrix using fvMatrix 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...
 
bool writeData (Ostream &os) const
 virtual function for regIOobject 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 DAResidualPimpleDyMFoam.H.

Constructor & Destructor Documentation

◆ DAResidualPimpleDyMFoam()

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

◆ ~DAResidualPimpleDyMFoam()

virtual ~DAResidualPimpleDyMFoam ( )
inlinevirtual

Definition at line 78 of file DAResidualPimpleDyMFoam.H.

Member Function Documentation

◆ TypeName()

TypeName ( "DAPimpleDyMFoam"  )

◆ clear()

void clear ( )
virtual

◆ 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 474 of file DAResidualPimpleDyMFoam.C.

◆ correctBoundaryConditions()

void correctBoundaryConditions ( )
virtual

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

Implements DAResidual.

Definition at line 484 of file DAResidualPimpleDyMFoam.C.

References DAResidualPimpleDyMFoam::hasTField_, DAResidual::mesh_, DAResidualPimpleDyMFoam::p_, T, and DAResidualPimpleDyMFoam::U_.

◆ calcPCMatWithFvMatrix()

void calcPCMatWithFvMatrix ( Mat  PCMat)
virtual

Member Data Documentation

◆ U_

volVectorField& U_
protected

◆ URes_

volVectorField URes_
protected

◆ p_

volScalarField& p_
protected

◆ pRes_

volScalarField pRes_
protected

◆ phi_

surfaceScalarField& phi_
protected

◆ phiRes_

surfaceScalarField phiRes_
protected

◆ TResPtr_

autoPtr<volScalarField> TResPtr_
protected

◆ fvSource_

volVectorField& fvSource_
protected

◆ daTurb_

DATurbulenceModel& daTurb_
protected

◆ pimple_

pimpleControl pimple_
protected

pimpleControl object which will be initialized in this class

Definition at line 53 of file DAResidualPimpleDyMFoam.H.

◆ hasFvSource_

label hasFvSource_ = 0
protected

whether to has fvSource term

Definition at line 56 of file DAResidualPimpleDyMFoam.H.

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

◆ hasTField_

label hasTField_ = 0
protected

◆ Pr_

scalar Pr_
protected

◆ Prt_

scalar Prt_
protected

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