opm-simulators/opm/simulators
Bård Skaflestad 2e70fc407e Add Oil Phase Saturation Function Consistency Checks
This commit introduces a set of consistency checks for the oil phase
saturation functions.  These plug into the framework introduced in
commit c3939c544 (PR #5438).  We implement the following four checks
for the gas/oil two-phase system

  - 0 <= SOGCR < 1
  - SWL + SGU <= 1
  - SOGCR < 1 - SWL - SGL
  - SOGCR < 1 - SWL - SGCR

which all guarantee a non-negative (mobile) oil saturation in the
gas/oil system.  Similarly, we implement the following four checks
for the oil/water two-phase system

  - 0 <= SOWCR < 1
  - SGL + SWU <= 1
  - SOWCR < 1 - SWL - SGL
  - SOWCR < 1 - SWCR - SGL

which provide the same guarantees as outlined above, but for the
oil/water system.

We add a base class, PhaseCheckBase<Scalar>, which provides a common
representation of the violated/critical predicates and implement the
specific checks as derived types of this base class.
2024-09-03 12:35:44 +02:00
..
aquifers AquiferAnalytical: add missing include 2024-07-01 12:06:47 +02:00
flow Fix DRVDT Initialisation Conditional 2024-08-30 15:16:46 +02:00
linalg Import opm-models 2024-09-02 10:55:19 +02:00
timestepping Revise Convergence Report Collection Procedure 2024-08-27 10:50:06 +02:00
utils Add Oil Phase Saturation Function Consistency Checks 2024-09-03 12:35:44 +02:00
wells BlackoilModel: use appropriate Scalar type 2024-08-23 11:15:03 +02:00
opm-simulators_doxygen_main.hpp Remove reference to ebos in doxygen header 2024-02-06 14:01:55 +01:00