Opm::TransportSolverTwophaseImplicit Class Reference

#include <TransportSolverTwophaseImplicit.hpp>

Inheritance diagram for Opm::TransportSolverTwophaseImplicit:
Inheritance graph

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 parameter::ParameterGroup &param)
 
virtual ~TransportSolverTwophaseImplicit ()
 
virtual void solve (const double *porevolume, const double *source, const double dt, TwophaseState &state)
 

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 parameter::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.
virtual Opm::TransportSolverTwophaseImplicit::~TransportSolverTwophaseImplicit ( )
virtual

Member Function Documentation

virtual 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 file: