opm-simulators/opm/polymer/polymertransport.hpp
Atgeirr Flø Rasmussen 37ce9d0db3 Improved treatment of inflow (source) polymer concentration:
- solver now takes parameter for inflow_c
 - simulator calls polymerInflowAtTime(double time) for its value
 - currently starts polymer injection after 4 days (0.4 pv)
Also added some (inactive) debug printouts.
Still not working when injecting polymer.
2012-02-07 09:09:34 +01:00

31 lines
703 B
C++

/* Copyright 2011 (c) Jostein R. Natvig <Jostein.R.Natvig at sintef.no> */
/* Copyright 2012 (c) SINTEF */
#ifndef POLYMERTRANSPORT_HPP_INCLUDED
#define POLYMERTRANSPORT_HPP_INCLUDED
namespace Opm
{
class IncompPropertiesInterface;
}
struct UnstructuredGrid;
struct PolymerData;
void polymertransport(
const double *porevolume,
const double *porosity,
const double *source,
const double dt,
const double inflow_c,
struct UnstructuredGrid *grid,
const Opm::IncompPropertiesInterface* props,
const PolymerData* polydata,
const double *darcyflux,
double *saturation,
double *concentration,
double *cmax);
#endif /* POLYMERTRANSPORT_HPP_INCLUDED */