opm-simulators/opm/simulators
Bård Skaflestad 7f89276fe8 Hook New WBPn Calculation Up to Well Model
This commit activates the support for calculating WBPn summary
result values per well in parallel.  To affect the calculation we
add two new data members in BlackoilWellModelGeneric:

  - conn_idx_map_:
    Maps well's connection index (0..getConnections().size() - 1) to
    connections on current rank.  Its local() connections are
    negative 1 (-1) if the connection is not on current rank, and a
    non-negative value otherwise.  The global() function maps well
    connections on current rank to global connection ID for each
    well.  Effectively the reverse of local().  Finally, the open()
    function maps well connections on current rank to open/flowing
    connections on current rank.  Negative 1 if connection is not
    flowing.

  - wbpCalculationService:
    Parallel collection of WBPn calculation objects that knows how
    to exchange source and result information between all ranks in a
    communicator.  Also handles distributed wells.

We furthermore need a way to compute connection-level fluid mixture
density values.  For the standard well class we add a way to access
the StandardWellConnection's 'perf_densities_' values.  However,
since these are defined for open/flowing connections only, this
means we're not able to fully meet the requirements of the

  WELL/ALL

WPAVE depth correction procedure for standard wells.  The
multi-segmented well type, on the other hand, uses the fluid mixture
density in the associated well segment and is therefore well defined
for ALL connections.  OPEN well connections are supported for both
well types.
2023-07-10 13:42:46 +02:00
..
aquifers isNumericalAquiferCell: put in separate struct for easier reuse 2023-07-04 14:56:10 +02:00
flow BlackoilModelEbos: put Nldd solver in separate class 2023-07-05 13:40:13 +02:00
linalg ISTLSolverEbos: add missing include 2023-07-04 15:25:47 +02:00
timestepping Add NLDD nonlinear solver option. 2023-06-23 16:24:18 +02:00
utils Merge pull request #4735 from blattms/improve-no-active-cells-error 2023-06-30 18:02:16 +02:00
wells Hook New WBPn Calculation Up to Well Model 2023-07-10 13:42:46 +02:00
opm-simulators_doxygen_main.hpp Moved all remaining files out of opm/autodiff. 2019-06-20 11:00:51 +02:00