All Classes Namespaces Files Functions Variables Typedefs Enumerator Pages
Opm::PolymerInflowFromDeck Class Reference

Polymer injection behaviour class using deck WPOLYMER. More...

#include <PolymerInflow.hpp>

Inheritance diagram for Opm::PolymerInflowFromDeck:
Opm::PolymerInflowInterface

Public Member Functions

 PolymerInflowFromDeck (const Opm::EclipseState &eclipseState, const Wells &wells, const int num_cells, size_t currentStep)
 Constructor. More...
 
virtual void getInflowValues (const double, const double, std::vector< double > &poly_inflow_c) const
 Get inflow concentrations for all cells. More...
 
- Public Member Functions inherited from Opm::PolymerInflowInterface
virtual ~PolymerInflowInterface ()
 Virtual destructor for subclassing.
 

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

Opm::PolymerInflowFromDeck::PolymerInflowFromDeck ( const Opm::EclipseState &  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.
[in]deckInput deck expected to contain WPOLYMER.

Member Function Documentation

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 files: