Polymer injection behaviour class using deck WPOLYMER. This class reads the accumulated WPOLYMER lines from the deck, and applies the last row given for each well.
More...
#include <PolymerInflow.hpp>
|
| PolymerInflowFromDeck (Opm::DeckConstPtr deck, const Wells &wells, const int num_cells) |
|
| PolymerInflowFromDeck (Opm::DeckConstPtr deck, Opm::EclipseStateConstPtr eclipseState, const Wells &wells, const int num_cells, size_t currentStep) |
|
virtual void | getInflowValues (const double, const double, std::vector< double > &poly_inflow_c) const |
|
Polymer injection behaviour class using deck WPOLYMER. This class reads the accumulated WPOLYMER lines from the deck, and applies the last row given for each well.
◆ PolymerInflowFromDeck() [1/2]
Opm::PolymerInflowFromDeck::PolymerInflowFromDeck |
( |
Opm::DeckConstPtr |
deck, |
|
|
const Wells & |
wells, |
|
|
const int |
num_cells |
|
) |
| |
Constructor.
- Parameters
-
[in] | deck | Input deck expected to contain WPOLYMER. |
[in] | wells | Wells structure. |
[in] | num_cells | Number of cells in grid. |
◆ PolymerInflowFromDeck() [2/2]
Opm::PolymerInflowFromDeck::PolymerInflowFromDeck |
( |
Opm::DeckConstPtr |
deck, |
|
|
Opm::EclipseStateConstPtr |
eclipseState, |
|
|
const Wells & |
wells, |
|
|
const int |
num_cells, |
|
|
size_t |
currentStep |
|
) |
| |
Constructor.
- Parameters
-
[in] | deck | Input deck expected to contain WPOLYMER. |
[in] | wells | Wells structure. |
[in] | num_cells | Number of cells in grid. |
[in] | currentStep | Number of current simulation step. |
◆ getInflowValues()
virtual void Opm::PolymerInflowFromDeck::getInflowValues |
( |
const double |
, |
|
|
const double |
, |
|
|
std::vector< double > & |
poly_inflow_c |
|
) |
| const |
|
virtual |
Get inflow concentrations for all cells.
- Parameters
-
[in] | step_start | Start of timestep. |
[in] | step_end | End of timestep. |
[out] | poly_inflow_c | Injection concentrations to use for timestep, per cell. Must be properly sized before calling. |
Implements Opm::PolymerInflowInterface.
The documentation for this class was generated from the following file: