|
|
|
fvMatrix Class Template ReferenceInheritance diagram for fvMatrix:![]() ![]() Detailed Descriptiontemplate<class Type>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| typedef GeometricField< Type, fvsPatchField, surfaceMesh > * | surfaceTypeFieldPtr |
| Declare return type of the faceFluxCorrectionPtr() function. | |
Public Member Functions | |
| ClassName ("fvMatrix") | |
| fvMatrix (GeometricField< Type, fvPatchField, volMesh > &, const dimensionSet &) | |
| Construct given a field to solve for. | |
| fvMatrix (const fvMatrix< Type > &) | |
| Construct as copy. | |
| fvMatrix (GeometricField< Type, fvPatchField, volMesh > &, Istream &) | |
| Construct from Istream given field to solve for. | |
| virtual | ~fvMatrix () |
| const GeometricField< Type, fvPatchField, volMesh > & | psi () const |
| GeometricField< Type, fvPatchField, volMesh > & | psi () |
| const dimensionSet & | dimensions () const |
| Field< Type > & | source () |
| const Field< Type > & | source () const |
| FieldField< Field, Type > & | internalCoeffs () |
| fvBoundary scalar field containing pseudo-matrix coeffs | |
| FieldField< Field, Type > & | boundaryCoeffs () |
| fvBoundary scalar field containing pseudo-matrix coeffs | |
| surfaceTypeFieldPtr & | faceFluxCorrectionPtr () |
| Return pointer to face-flux non-orthogonal correction field. | |
| void | setValues (const labelList &cells, const Field< Type > &values) |
| Set solution in given cells and eliminate corresponding. | |
| void | setReference (const label cell, const Type &value) |
| Set reference level for solution. | |
| void | setComponentReference (const label patchi, const label facei, const direction cmpt, const scalar value) |
| Set reference level for a component of the solution. | |
| void | relax (const scalar alpha) |
| Relax matrix (for steady-state solution). | |
| void | relax () |
| Relax matrix (for steadty-state solution). | |
| autoPtr< fvSolver > | solver (Istream &) |
| Construct and return the solver. | |
| autoPtr< fvSolver > | solver () |
| Construct and return the solver. | |
| lduMatrix::solverPerformance | solve (Istream &) |
| Solve returning the solution statistics. | |
| lduMatrix::solverPerformance | solve () |
| Solve returning the solution statistics. | |
| tmp< Field< Type > > | residual () const |
| Return the matrix residual. | |
| tmp< scalarField > | D () const |
| Return the matrix scalar diagonal. | |
| tmp< Field< Type > > | DD () const |
| Return the matrix Type diagonal. | |
| tmp< volScalarField > | A () const |
| Return the central coefficient. | |
| tmp< GeometricField< Type, fvPatchField, volMesh > > | H () const |
| Return the H operation source. | |
| tmp< volScalarField > | H1 () const |
| Return H(1). | |
| tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | flux () const |
| Return the face-flux field from the matrix. | |
| void | operator= (const fvMatrix< Type > &) |
| void | operator= (const tmp< fvMatrix< Type > > &) |
| void | negate () |
| void | operator+= (const fvMatrix< Type > &) |
| void | operator+= (const tmp< fvMatrix< Type > > &) |
| void | operator-= (const fvMatrix< Type > &) |
| void | operator-= (const tmp< fvMatrix< Type > > &) |
| void | operator+= (const GeometricField< Type, fvPatchField, volMesh > &) |
| void | operator+= (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) |
| void | operator-= (const GeometricField< Type, fvPatchField, volMesh > &) |
| void | operator-= (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) |
| void | operator+= (const dimensioned< Type > &) |
| void | operator-= (const dimensioned< Type > &) |
| void | operator+= (const Zero &) |
| void | operator-= (const Zero &) |
| void | operator *= (const volScalarField &) |
| void | operator *= (const tmp< volScalarField > &) |
| void | operator *= (const dimensioned< scalar > &) |
| template<> | |
| void | setComponentReference (const label patchi, const label facei, const direction, const scalar value) |
| template<> | |
| autoPtr< fvMatrix< scalar >::fvSolver > | solver (Istream &) |
| template<> | |
| lduMatrix::solverPerformance | solve (Istream &) |
| template<> | |
| tmp< scalarField > | residual () const |
| template<> | |
| tmp< volScalarField > | H () const |
| template<> | |
| tmp< volScalarField > | H1 () const |
Friends | |
| tmp< GeometricField< Type, fvPatchField, volMesh > > | operator & (const fvMatrix< Type > &, const GeometricField< Type, fvPatchField, volMesh > &) |
| tmp< GeometricField< Type, fvPatchField, volMesh > > | operator & (const fvMatrix< Type > &, const tmp< GeometricField< Type, fvPatchField, volMesh > > &) |
| tmp< GeometricField< Type, fvPatchField, volMesh > > | operator & (const tmp< fvMatrix< Type > > &, const GeometricField< Type, fvPatchField, volMesh > &) |
| tmp< GeometricField< Type, fvPatchField, volMesh > > | operator & (const tmp< fvMatrix< Type > > &, const tmp< GeometricField< Type, fvPatchField, volMesh > > &) |
| Ostream & | operator (Ostream &, const fvMatrix< Type > &) |
Classes | |
| class | fvSolver |
| Solver class returned by the solver function. More... | |
| typedef GeometricField<Type, fvsPatchField, surfaceMesh>* surfaceTypeFieldPtr |
Declare return type of the faceFluxCorrectionPtr() function.
Definition at line 312 of file fvMatrix.H.
| fvMatrix | ( | GeometricField< Type, fvPatchField, volMesh > & | , | |
| const dimensionSet & | ||||
| ) |
Construct given a field to solve for.
| fvMatrix | ( | GeometricField< Type, fvPatchField, volMesh > & | , | |
| Istream & | ||||
| ) |
Construct from Istream given field to solve for.
| virtual ~fvMatrix | ( | ) | [virtual] |
| ClassName | ( | "fvMatrix< Type >" | ) |
| const GeometricField<Type, fvPatchField, volMesh>& psi | ( | ) | const [inline] |
Definition at line 266 of file fvMatrix.H.
| GeometricField<Type, fvPatchField, volMesh>& psi | ( | ) | [inline] |
Definition at line 271 of file fvMatrix.H.
| const dimensionSet& dimensions | ( | ) | const [inline] |
Definition at line 276 of file fvMatrix.H.
| Field<Type>& source | ( | ) | [inline] |
Definition at line 281 of file fvMatrix.H.
| const Field<Type>& source | ( | ) | const [inline] |
Definition at line 286 of file fvMatrix.H.
| FieldField<Field, Type>& internalCoeffs | ( | ) | [inline] |
fvBoundary scalar field containing pseudo-matrix coeffs
for internal cells
Definition at line 295 of file fvMatrix.H.
| FieldField<Field, Type>& boundaryCoeffs | ( | ) | [inline] |
fvBoundary scalar field containing pseudo-matrix coeffs
for boundary cells
Definition at line 304 of file fvMatrix.H.
| surfaceTypeFieldPtr& faceFluxCorrectionPtr | ( | ) | [inline] |
Return pointer to face-flux non-orthogonal correction field.
Definition at line 315 of file fvMatrix.H.
Set solution in given cells and eliminate corresponding.
equations from the matrix
| void setReference | ( | const label | cell, | |
| const Type & | value | |||
| ) |
Set reference level for solution.
| void setComponentReference | ( | const label | patchi, | |
| const label | facei, | |||
| const direction | cmpt, | |||
| const scalar | value | |||
| ) |
Set reference level for a component of the solution.
on a given patch face
| void relax | ( | const scalar | alpha | ) |
Relax matrix (for steady-state solution).
alpha = 1 : diagonally equal alpha < 1 : ,, dominant alpha = 0 : do nothing
| void relax | ( | ) |
Relax matrix (for steadty-state solution).
alpha is read from controlDict
Construct and return the solver.
Solver controls read from Istream
Construct and return the solver.
Solver controls read from fvSolution
| lduMatrix::solverPerformance solve | ( | Istream & | ) |
Solve returning the solution statistics.
Solver controls read from Istream
| lduMatrix::solverPerformance solve | ( | ) |
Solve returning the solution statistics.
Solver controls read from fvSolution
| tmp<scalarField> D | ( | ) | const |
Return the matrix scalar diagonal.
| tmp<volScalarField> A | ( | ) | const |
Return the central coefficient.
| tmp<GeometricField<Type, fvPatchField, volMesh> > H | ( | ) | const |
Return the H operation source.
| tmp<volScalarField> H1 | ( | ) | const |
| tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > flux | ( | ) | const |
Return the face-flux field from the matrix.
| void operator= | ( | const fvMatrix< Type > & | ) |
| void negate | ( | ) |
Reimplemented from lduMatrix.
| void operator+= | ( | const fvMatrix< Type > & | ) |
| void operator-= | ( | const fvMatrix< Type > & | ) |
| void operator+= | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) |
| void operator+= | ( | const tmp< GeometricField< Type, fvPatchField, volMesh > > & | ) |
| void operator-= | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) |
| void operator-= | ( | const tmp< GeometricField< Type, fvPatchField, volMesh > > & | ) |
| void operator+= | ( | const dimensioned< Type > & | ) |
| void operator-= | ( | const dimensioned< Type > & | ) |
| void operator+= | ( | const Zero & | ) |
| void operator-= | ( | const Zero & | ) |
| void operator *= | ( | const volScalarField & | ) |
| void operator *= | ( | const tmp< volScalarField > & | ) |
| void operator *= | ( | const dimensioned< scalar > & | ) |
| void setComponentReference | ( | const label | patchi, | |
| const label | facei, | |||
| const | direction, | |||
| const scalar | value | |||
| ) |
| lduMatrix::solverPerformance solve | ( | Istream & | ) |
| tmp< scalarField > residual | ( | ) | const |
| tmp< volScalarField > H | ( | ) | const |
| tmp< volScalarField > H1 | ( | ) | const |
Reimplemented from lduMatrix.
| tmp<GeometricField<Type,fvPatchField,volMesh> > operator & | ( | const fvMatrix< Type > & | , | |
| const GeometricField< Type, fvPatchField, volMesh > & | ||||
| ) | [friend] |
| tmp<GeometricField<Type,fvPatchField,volMesh> > operator & | ( | const fvMatrix< Type > & | , | |
| const tmp< GeometricField< Type, fvPatchField, volMesh > > & | ||||
| ) | [friend] |
| tmp<GeometricField<Type,fvPatchField,volMesh> > operator & | ( | const tmp< fvMatrix< Type > > & | , | |
| const GeometricField< Type, fvPatchField, volMesh > & | ||||
| ) | [friend] |
| tmp<GeometricField<Type,fvPatchField,volMesh> > operator & | ( | const tmp< fvMatrix< Type > > & | , | |
| const tmp< GeometricField< Type, fvPatchField, volMesh > > & | ||||
| ) | [friend] |