OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

fvSolver Class Reference

Solver class returned by the solver function. More...

Collaboration diagram for fvSolver:

List of all members.


Public Member Functions

 fvSolver (fvMatrix< Type > &fvMat, autoPtr< lduMatrix::solver > sol)
lduMatrix::solverPerformance solve (const dictionary &)
 Solve returning the solution statistics.
lduMatrix::solverPerformance solve ()
 Solve returning the solution statistics.
template<>
Foam::lduMatrix::solverPerformance solve (const dictionary &solverControls)
template<>
lduMatrix::solverPerformance solve (const dictionary &)

Detailed Description

template<class Type>
class Foam::fvMatrix< Type >::fvSolver

Solver class returned by the solver function.

used for systems in which it is useful to cache the solver for reuse e.g. if the solver is potentialy expensive to construct (AMG) and can be used several times (PISO)

Definition at line 203 of file fvMatrix.H.


Constructor & Destructor Documentation

fvSolver ( fvMatrix< Type > &  fvMat,
autoPtr< lduMatrix::solver sol 
) [inline]

Definition at line 213 of file fvMatrix.H.


Member Function Documentation

lduMatrix::solverPerformance solve ( const dictionary  ) 

Solve returning the solution statistics.

Use the given solver controls

Foam::lduMatrix::solverPerformance solve (  )  [inline]

Solve returning the solution statistics.

Solver controls read from fvSolution

Definition at line 168 of file fvMatrixSolve.C.

References DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), fvMatrix< Type >::psi_, and fvMatrix< Type >::solver().

Here is the call graph for this function:

Foam::lduMatrix::solverPerformance solve ( const dictionary solverControls  )  [inline]

Definition at line 89 of file fvScalarMatrix.C.

lduMatrix::solverPerformance solve ( const dictionary  )  [inline]


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd