Polymer injection behaviour class using deck WPOLYMER. More...
#include <PolymerInflow.hpp>
Public Member Functions | |
PolymerInflowFromDeck (const Opm::EclipseState &eclipseState, const Wells &wells, const int num_cells, size_t currentStep) | |
Constructor. | |
virtual void | getInflowValues (const double, const double, std::vector< double > &poly_inflow_c) const |
Get inflow concentrations for all cells. |
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.
Opm::PolymerInflowFromDeck::PolymerInflowFromDeck | ( | const Opm::EclipseState & | eclipseState, | |
const Wells & | wells, | |||
const int | num_cells, | |||
size_t | currentStep | |||
) |
Constructor.
[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. |
[in] | deck | Input deck expected to contain WPOLYMER. |
void Opm::PolymerInflowFromDeck::getInflowValues | ( | const | double, | |
const | double, | |||
std::vector< double > & | poly_inflow_c | |||
) | const [virtual] |
Get inflow concentrations for all cells.
[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.