Opm::PolymerInflowFromDeck Class Reference

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>

Inheritance diagram for Opm::PolymerInflowFromDeck:
Inheritance graph

Public Member Functions

 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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PolymerInflowFromDeck() [1/2]

Opm::PolymerInflowFromDeck::PolymerInflowFromDeck ( Opm::DeckConstPtr  deck,
const Wells &  wells,
const int  num_cells 
)

Constructor.

Parameters
[in]deckInput deck expected to contain WPOLYMER.
[in]wellsWells structure.
[in]num_cellsNumber 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]deckInput deck expected to contain WPOLYMER.
[in]wellsWells structure.
[in]num_cellsNumber of cells in grid.
[in]currentStepNumber of current simulation step.

Member Function Documentation

◆ 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_startStart of timestep.
[in]step_endEnd of timestep.
[out]poly_inflow_cInjection 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: