mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -06:00
- 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.
31 lines
703 B
C++
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 */
|