◆ TransportSolverTwophaseImplicit()
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] | grid | A 2d or 3d grid. |
[in] | props | Rock and fluid properties. |
[in] | porevol | Pore volumes |
[in] | gravity | Gravity vector (null for no gravity). |
[in] | half_trans | Half-transmissibilities (one-sided) |
[in] | maxit | Maximum number of non-linear iterations used. |
◆ solve()
void Opm::TransportSolverTwophaseImplicit::solve |
( |
const double * |
porevolume, |
|
|
const double * |
source, |
|
|
const double |
dt, |
|
|
TwophaseState & |
state |
|
) |
| |
|
virtual |
Solve for saturation at next timestep.
- Parameters
-
[in] | porevolume | Array of pore volumes. |
[in] | source | Transport source term. For interpretation see Opm::computeTransportSource(). |
[in] | dt | Time step. |
[in,out] | state | Reservoir 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: