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

Protected Attributes

These are state variables, state residuals, and partial derivatives
volVectorField & U_
 
volVectorField URes_
 
volScalarField & p_
 
volScalarField pRes_
 
volScalarField & T_
 
volScalarField TRes_
 
surfaceScalarField & phi_
 
surfaceScalarField phiRes_
 
volVectorField & fvSource_
 fvSource term More...
 
volScalarField & fvSourceEnergy_
 fvSource term for the energy equation More...
 
fv::options & fvOptions_
 fvOptions term More...
 
fluidThermo & thermo_
 thermophysical property More...
 
These are intermediate variables
volScalarField & he_
 
volScalarField & rho_
 
volScalarField & alphat_
 
volScalarField & psi_
 
DATurbulenceModeldaTurb_
 DATurbulenceModel object. More...
 
simpleControl simple_
 simpleControl object which will be initialized in this class More...
 
pressureControl pressureControl_
 pressureControl object to set ref pressure More...
 
IOMRFZoneListDFMRF_
 Multiple Reference Frame. More...
 
- 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...
 

These are constants to update the intermediate variables

scalar molWeight_
 
scalar Cp_
 
label hasFvSource_ = 0
 whether to have fvSource term More...
 
 TypeName ("DARhoSimpleFoam")
 
 DAResidualRhoSimpleFoam (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
 
virtual ~DAResidualRhoSimpleFoam ()
 
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)
 

Detailed Description

Definition at line 31 of file DAResidualRhoSimpleFoam.H.

Constructor & Destructor Documentation

◆ DAResidualRhoSimpleFoam()

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

◆ ~DAResidualRhoSimpleFoam()

virtual ~DAResidualRhoSimpleFoam ( )
inlinevirtual

Definition at line 105 of file DAResidualRhoSimpleFoam.H.

Member Function Documentation

◆ TypeName()

TypeName ( "DARhoSimpleFoam"  )

◆ clear()

void clear ( )
virtual

◆ calcResiduals()

void calcResiduals ( const dictionary &  options)
virtual

◆ updateIntermediateVariables()

void updateIntermediateVariables ( )
virtual

◆ correctBoundaryConditions()

void correctBoundaryConditions ( )
virtual

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

Implements DAResidual.

Definition at line 294 of file DAResidualRhoSimpleFoam.C.

References DAResidualRhoSimpleFoam::p_, DAResidualRhoSimpleFoam::T_, and DAResidualRhoSimpleFoam::U_.

Member Data Documentation

◆ U_

volVectorField& U_
protected

◆ URes_

volVectorField URes_
protected

◆ p_

volScalarField& p_
protected

◆ pRes_

volScalarField pRes_
protected

◆ T_

volScalarField& T_
protected

◆ TRes_

volScalarField TRes_
protected

◆ phi_

surfaceScalarField& phi_
protected

◆ phiRes_

surfaceScalarField phiRes_
protected

◆ fvSource_

volVectorField& fvSource_
protected

fvSource term

Definition at line 52 of file DAResidualRhoSimpleFoam.H.

Referenced by DAResidualRhoSimpleFoam::calcResiduals().

◆ fvSourceEnergy_

volScalarField& fvSourceEnergy_
protected

fvSource term for the energy equation

Definition at line 55 of file DAResidualRhoSimpleFoam.H.

Referenced by DAResidualRhoSimpleFoam::calcResiduals().

◆ fvOptions_

fv::options& fvOptions_
protected

◆ thermo_

fluidThermo& thermo_
protected

thermophysical property

Definition at line 61 of file DAResidualRhoSimpleFoam.H.

Referenced by DAResidualRhoSimpleFoam::calcResiduals().

◆ he_

volScalarField& he_
protected

◆ rho_

volScalarField& rho_
protected

◆ alphat_

volScalarField& alphat_
protected

Definition at line 67 of file DAResidualRhoSimpleFoam.H.

Referenced by DAResidualRhoSimpleFoam::calcResiduals().

◆ psi_

volScalarField& psi_
protected

◆ daTurb_

DATurbulenceModel& daTurb_
protected

DATurbulenceModel object.

Definition at line 72 of file DAResidualRhoSimpleFoam.H.

Referenced by DAResidualRhoSimpleFoam::calcResiduals().

◆ simple_

simpleControl simple_
protected

simpleControl object which will be initialized in this class

Definition at line 75 of file DAResidualRhoSimpleFoam.H.

◆ pressureControl_

pressureControl pressureControl_
protected

pressureControl object to set ref pressure

Definition at line 78 of file DAResidualRhoSimpleFoam.H.

Referenced by DAResidualRhoSimpleFoam::calcResiduals().

◆ MRF_

IOMRFZoneListDF& MRF_
protected

◆ molWeight_

scalar molWeight_
protected

◆ Cp_

scalar Cp_
protected

◆ hasFvSource_

label hasFvSource_ = 0
protected

whether to have fvSource term

Definition at line 90 of file DAResidualRhoSimpleFoam.H.

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


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