Commit Graph

1740 Commits

Author SHA1 Message Date
Arne Morten Kvarving
051425bc84 eclgenerictracermodel_impl.hh: cleanup headers 2023-08-02 12:06:41 +02:00
Arne Morten Kvarving
af8cda0ed2 eclgenerictracermodel.hh: cleanup headers 2023-08-02 12:03:21 +02:00
Arne Morten Kvarving
cbcba661d8 eclgenericoutputblackoilmodule.hh: cleanup headers 2023-08-02 11:57:09 +02:00
Arne Morten Kvarving
cd3c36042b eclgenericcpgridvanguard.hh: cleanup headers 2023-08-02 11:53:35 +02:00
Arne Morten Kvarving
0d7b373983 eclequilinitializer.hh: cleanup headers 2023-08-02 11:49:18 +02:00
Arne Morten Kvarving
46455ab65f ecldummygradientcalcultor.hh: cleanup headers 2023-08-02 11:45:51 +02:00
Arne Morten Kvarving
a976ec5c13 eclcpgridvanguard.hh: cleanup headers 2023-08-02 11:43:39 +02:00
Arne Morten Kvarving
fe9fefd004 eclbasevanguard.hh: cleanup headers 2023-08-02 11:41:02 +02:00
Arne Morten Kvarving
87665c8843 eclalugridvanguard.hh: cleanup headers 2023-08-02 11:36:47 +02:00
Arne Morten Kvarving
516cf5caab ebos.hh: cleanup headers 2023-08-02 11:31:21 +02:00
Arne Morten Kvarving
c644ff755a collecttoiorank.hh: cleanup headers 2023-08-02 11:24:46 +02:00
Arne Morten Kvarving
26e9428ced alucartesianindexmapper.hh: cleanup headers 2023-08-02 11:21:09 +02:00
Arne Morten Kvarving
2ec1a98998 eclfluxmodule.hh: cleanup headers
add needed, remove unneeded and reorder
2023-08-02 11:15:26 +02:00
Arne Morten Kvarving
eaa3281485 changed: add a container for micp solution components
makes it easy to pass data around to enable some refactoring
2023-08-01 13:45:29 +02:00
Arne Morten Kvarving
841d11efed changed: add a container for polymer solution components
makes it easy to pass data around to enable some refactoring
2023-08-01 13:45:14 +02:00
hnil
f3338ac26a -- fixed error in thermal boundary 2023-07-27 16:30:48 +02:00
hnil
de42e1eb67 -- fixed comment 2023-07-27 16:30:48 +02:00
hnil
59de509105 -- moved fully implict related updates to FIblackoil
-- changed spesicic nldd calls to use subDomain instead of gridview
(-- clang formated FIBlackoil)
2023-07-26 11:07:26 +02:00
Markus Blatt
313e9540c5 Added missing include of cstdint needed by GCC-13 2023-07-24 10:59:19 +02:00
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
Bård Skaflestad
4ac439475b Support Block-Level Phase Density Summary Vectors
In particular, add support for the

    BxDEN and BDENx

summary vectors (x = {O, G, W}).  The latter are alternative
spellings of the former keywords.
2023-07-04 18:32:59 +02:00
Bård Skaflestad
6868382cde Undo Unwanted Whitespace Adjustments
Added in commit ec2983df4.
2023-07-04 18:28:29 +02:00
Bård Skaflestad
b39f2f20ee Merge pull request #4718 from vkip/num_pressure_points_equil
Adding --num-pressure-points-equil as a developer parameter
2023-06-30 12:45:39 +02:00
Arne Morten Kvarving
4201d94241 BlackoilModelEbos: remove unused includes 2023-06-30 09:53:59 +02:00
Markus Blatt
8c428caa80 Merge pull request #4726 from blattms/increase-supported-equil-regions
Increase supported equil regions from 255 to 65525
2023-06-29 10:13:21 +02:00
Markus Blatt
6496e871ed Improved messages about equilibration regions. 2023-06-29 09:08:18 +02:00
Markus Blatt
c2d1236cff Added warning about memory/performance for large number of equil regions. 2023-06-28 15:52:34 +02:00
Markus Blatt
a6809c84f3 Store equil region idx as unsigned short (allows 65535 regions). 2023-06-28 15:52:34 +02:00
Markus Blatt
78b629767f [refactor] Use limits and OPM_THROW when checking max equil regions.
that will ease changing the limits and the error will appear in all logs.
2023-06-28 15:52:34 +02:00
Tor Harald Sandve
74e951303e add support for changing boundary conditions 2023-06-28 15:08:23 +02:00
Vegard Kippe
e5e7ff7287 Now using value (also default) from EQLDIMS item 2, unless --num-pressure-points-equil=N is specified on the command line. 2023-06-27 13:40:24 +02:00
Tor Harald Sandve
c72ae2c76c Fix out of range rs/rv/rvw 2023-06-27 12:41:35 +02:00
Bård Skaflestad
a31f1cefd5 Merge pull request #4705 from totto82/guardAgainstinvalidRegions
Add guard against invalid satnum, pvtnum, imbnum, eqlnum
2023-06-26 14:29:01 +02:00
Tor Harald Sandve
40bd07a3b5 Add guard against invalid satnum, pvtnum, imbnum, eqlnum 2023-06-26 13:11:19 +02:00
Tor Harald Sandve
bf5413d853 Use sqrt of numerical_limit epsilon instead of zero to check for non zero saturations
The reason is to make it more robust in terms of numerical noise.
2023-06-26 13:04:49 +02:00
Vegard Kippe
31ecb416be Adding default value to the InitialStateComputer constructor to avoid specifying the number of pressure points when using outside simulator (i.e., in testing..) 2023-06-22 16:53:08 +02:00
Vegard Kippe
ea587d53b2 Adding --num-pressure-points-equil as a developer parameter (not visible to end users) 2023-06-22 14:58:09 +02:00
Arne Morten Kvarving
90821b5a45 add some timing blocks 2023-06-19 11:55:34 +02:00
Bård Skaflestad
59e0d9904e Merge pull request #4707 from svenn-t/ppcwmax
Equilibration with PPCWMAX
2023-06-16 15:15:33 +02:00
Svenn Tveit
264ac8e0c0 std::tuple to pair and revert unnecessary changes.
Minor changes according to review comments as well.
2023-06-15 15:03:03 +02:00
Bård Skaflestad
ea07e8429f Chase Upstream API Update
The eval_assign() and eval() member functions of UDQConfig now take
a 'const Schedule&' parameter.
2023-06-14 09:54:21 +02:00
Svenn Tveit
745d8b5a97 Accommodate for PPCWMAX in SWATINIT equilibration 2023-06-14 08:35:14 +02:00
Atgeirr Flø Rasmussen
005bd49fb4 Do not set pressure diff to zero when not necessary.
With zero threshold pressure and zero pressure difference, the existing code will
set the pressure diff explicitly to zero. This will also set any derivatives to
zero as well, which may disconnect the corresponding matrix rows.
2023-06-11 13:48:45 +02:00
Bård Skaflestad
9d75915e4b Prepare for Revised Implementation of WBPn
This initial commit changes the API of the CollectDataToIORank
class' handling of WBPn values from collecting a set cell pressures
into communicating pre-computed WBPn values through the new
WellBlockAveragePressures container class.  This is in preparation
of moving the WBPn calculation to the simulator side for greater
parallelism.  For now we do not compute any of the actual WBPn
values.  That will be the subject of follow-up commits.

While here, also split a number of very long lines for readability.
2023-06-09 13:25:43 +02:00
Tor Harald Sandve
bbd65d8968 Merge pull request #4688 from plgbrts/equil-fix
Fix water evaporation initialization for two-phase gas-water system
2023-06-07 09:46:28 +02:00
Paul
2a668ec938 fix water evaporation initialization fo two-phase gas-water system 2023-06-06 10:39:26 +02:00
Tor Harald Sandve
b99fbe0a97 Merge pull request #4620 from hakonhagland/wvfpdp
Add support for WVFPDP
2023-06-05 09:14:10 +02:00
Bård Skaflestad
d1fd5539af Merge pull request #4675 from totto82/fixInitRv
Fix rvw and rv initialization
2023-06-02 16:11:58 +02:00
Tor Harald Sandve
4dcc655f4d Fix rvw and rv initialization 2023-06-02 15:27:03 +02:00
Håkon Hægland
6d4959854e Undo last commit 2023-06-02 09:25:34 +02:00