All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Opm::TransportSolverTwophaseImplicit Class Reference
Inheritance diagram for Opm::TransportSolverTwophaseImplicit:
Opm::TransportSolverTwophaseInterface

Public Member Functions

 TransportSolverTwophaseImplicit (const UnstructuredGrid &grid, const Opm::IncompPropertiesInterface &props, const std::vector< double > &porevol, const double *gravity, const std::vector< double > &half_trans, const ParameterGroup &param)
 Construct solver. More...
 
virtual void solve (const double *porevolume, const double *source, const double dt, TwophaseState &state)
 Solve for saturation at next timestep. More...
 
- Public Member Functions inherited from Opm::TransportSolverTwophaseInterface
virtual ~TransportSolverTwophaseInterface ()
 Virtual destructor to enable inheritance.
 

Constructor & Destructor Documentation

Opm::TransportSolverTwophaseImplicit::TransportSolverTwophaseImplicit ( const UnstructuredGrid &  grid,
const Opm::IncompPropertiesInterface props,
const std::vector< double > &  porevol,
const double *  gravity,
const std::vector< double > &  half_trans,
const ParameterGroup param 
)

Construct solver.

Parameters
[in]gridA 2d or 3d grid.
[in]propsRock and fluid properties.
[in]porevolPore volumes
[in]gravityGravity vector (null for no gravity).
[in]half_transHalf-transmissibilities (one-sided)
[in]maxitMaximum number of non-linear iterations used.

Member Function Documentation

void Opm::TransportSolverTwophaseImplicit::solve ( const double *  porevolume,
const double *  source,
const double  dt,
TwophaseState state 
)
virtual

Solve for saturation at next timestep.

Parameters
[in]porevolumeArray of pore volumes.
[in]sourceTransport source term. For interpretation see Opm::computeTransportSource().
[in]dtTime step.
[in,out]stateReservoir state. Calling solve() will read state.faceflux() and read and write state.saturation().

Implements Opm::TransportSolverTwophaseInterface.


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