Simulator programs and utilities for automatic differentiation.
Go to file
Bård Skaflestad 1a182d4a48 Add basic equilibration facility
This commit adds a simple facility for calculating initial phase
pressures assuming stationary conditions, a known reference pressure
in the oil zone as well as the depth and capillary pressures at the
water-oil and gas-oil contacts.

Function 'Opm::equil::phasePressures()' uses a simple ODE/IVP-based
approach, solved using the traditional RK4 method with constant step
sizes, to derive the required pressure values.  Specifically, we
solve the ODE

      dp/dz = rho(z,p) * g

with 'z' represening depth, 'p' being a phase pressure and 'rho' the
associate phase density.  Finally, 'g' is the acceleration of
gravity.  We assume that we can calculate phase densities, e.g.,
from table look-up.  This assumption holds in the case of an ECLIPSE
input deck.

Using RK4 with constant step sizes is a limitation of this
implementation.  This, basically, assumes that the phase densities
varies only smoothly with depth and pressure (at reservoir
conditions).
2018-01-02 14:28:06 +01:00
bin relax the python script to check the reference solutions 2013-07-07 19:02:28 +02:00
doc slightly improve the handbook build script 2017-01-16 15:32:16 +01:00
examples adapt to the refactoring of the thermal laws in opm-material 2017-12-11 17:39:56 +01:00
opm/core/simulator Add basic equilibration facility 2018-01-02 14:28:06 +01:00
tests Add basic equilibration facility 2018-01-02 14:28:06 +01:00