Commit Graph

17084 Commits

Author SHA1 Message Date
Tor Harald Sandve
de05c84b1d Add co2 mass in place summary vectors 2024-01-26 09:15:43 +01:00
Atgeirr Flø Rasmussen
2626fbb84b
Merge pull request #5002 from multitalentloes/add_cudilu
Add cudilu
2024-01-25 15:43:39 +01:00
Bård Skaflestad
d2af824b27
Merge pull request #5120 from atgeirr/avoid-nldd-crash
Avoid illegal combination of options.
2024-01-25 15:38:36 +01:00
Tobias Meyer Andersen
4b0dd54f15 Add CUDA implementation of the DILU
preconditioner. Uses graph coloring to exploit
parallelism in upper and triangular solves when
computing a diagonal approximate inverse of a
sparse matrix. Supports blocksizes up to 3.
2024-01-25 14:26:38 +01:00
Bård Skaflestad
79a33d0f53
Merge pull request #4993 from bska/conn-rock-compact-mult
Communicate Dynamic Transmissibility Multiplier to Output Layer
2024-01-25 11:39:55 +01:00
Bård Skaflestad
6dd043446e Communicate Dynamic Transmissibility Multiplier to Output Layer
This commit captures the rock compaction transmissibility multiplier
in the 'PerfData' during the non-lienear iterations and communicates
the converged value back to the output layer through the new data
member to the data::Connection structure,

    double data::Connection::compact_mult
2024-01-25 09:35:08 +01:00
Tor Harald Sandve
68c1b45f13
Merge pull request #4992 from bska/connection-dake-model
Calculate D-Factor in Terms of Connection Class
2024-01-25 08:43:24 +01:00
Bård Skaflestad
8a8af09e7a Defer More Static D-Factor Calculation to Connection Class
In particular, we don't need the porosity value anymore now that the
"getDFactor()" function takes only the component density of gas at
surface conditions, the current dynamic gas viscosity at reservoir
conditions and a Connection object.

While here, split a few long lines and make more objects 'const' for
better maintainability.
2024-01-24 18:03:09 +01:00
Atgeirr Flø Rasmussen
3c4dd1f3b7 Avoid illegal combination of options.
NLDD requires --matrix-add-well-contributions=true for now.

Also: minor improvement to well rank and subdomain output clutter.
2024-01-24 14:19:07 +01:00
Bård Skaflestad
0c359983b7
Merge pull request #5118 from aritorto/rvActnum
Unnecessary vector removed
2024-01-24 13:48:56 +01:00
Bård Skaflestad
bd74dfc033
Merge pull request #5119 from atgeirr/update-messages-trueimpesanalytic
Add cpr_trueimpesanalytic option for LinearSolver parameter.
2024-01-24 13:48:12 +01:00
Atgeirr Flø Rasmussen
7c2f01996a Add cpr_trueimpesanalytic option for LinearSolver parameter. 2024-01-24 13:03:18 +01:00
Bård Skaflestad
9b57cbce96
Merge pull request #5117 from bska/use-declared-maxreg
Support at Least NTFIP Distinict Regions for Inter-Region Flow
2024-01-24 10:44:13 +01:00
Antonella Ritorto
5bf0e10f3e Unnecessary container actnumData removed 2024-01-24 10:40:40 +01:00
Bård Skaflestad
eb9ead5577 Support at Least NTFIP Distinict Regions for Inter-Region Flow
This commit ensures that we have backing support for region IDs up
to and including NTFIP (TABDIMS(5), REGDIMS(1)).  The existing setup
would fail (segmentation violation) in the case of a summary vector
of the form

    ROFT
      36 31 /
    /

when the maximum FIPNUM value was 30.  We nevertheless support
maximum FIPNUM values exceeding NTFIP.

We add a new optional parameter to the EclInterRegionFlowMap
constructor.  The parameter allows client code to specifiy a
"minimum maximum" region ID that all ranks must support.  This value
will be enforced during parallel aggregation.
2024-01-24 09:54:44 +01:00
Bård Skaflestad
24ebb77257
Merge pull request #5116 from atgeirr/parallel-well-domain-output
Parallel well domain and error logging for NLDD
2024-01-23 15:41:11 +01:00
Bård Skaflestad
42476bedb2
Merge pull request #5115 from akva2/move_mpi_serializer
changed: move ebos/eclmpiserializer.hh to opm/simulators/utils/MPISerializer.hpp
2024-01-23 12:53:21 +01:00
Atgeirr Flø Rasmussen
9102b2a352 Use to_string() for WellFailure.
New functionality added is local well failure logging for NLDD.
2024-01-23 11:52:22 +01:00
Atgeirr Flø Rasmussen
04492413ff Move formatting utilities for convergence failures.
This makes them available for use in other places. The function
std::string to_string(const ConvergenceReport::WellFailure& wf) is new,
but uses the format already established.
2024-01-23 11:16:57 +01:00
Arne Morten Kvarving
98c704c1c3 changed: move ebos/eclmpiserializer.hh to opm/simulators/utils/MPISerializer.hpp
it does not use the typetag system
2024-01-23 10:51:32 +01:00
Atgeirr Flø Rasmussen
4eef78e1c8
Merge pull request #5101 from totto82/nodisp_gas
warn against no dispersion in gas phase
2024-01-23 09:25:50 +01:00
Atgeirr Flø Rasmussen
5fa48824d0
Merge pull request #5109 from jcbowden/damaris-fix-mesh-offsets-size
Fix for crash when Damaris is deallocating variables
2024-01-23 09:00:07 +01:00
Tor Harald Sandve
7c37470bd8
Merge pull request #5107 from totto82/addTemp
Add support for temperature in Source
2024-01-23 08:44:30 +01:00
Tor Harald Sandve
af65aa4626
Merge pull request #5112 from akva2/rstconv_sol_pol_sal
added: RST CONV support for polymer, solvent and brine
2024-01-22 15:23:15 +01:00
Markus Blatt
8b4bc32d62
Merge pull request #5079 from aritorto/lgrCreateResetTrans
Support LGRs when creating/resetting transmissibilities
2024-01-22 11:46:29 +01:00
Arne Morten Kvarving
873102e9ea added: RST CONV support for polymer, solvent and brine 2024-01-22 09:58:06 +01:00
Atgeirr Flø Rasmussen
1842df7cfd Output well subdomain info properly in the parallel case. 2024-01-19 16:15:53 +01:00
Tor Harald Sandve
e585e14ef6
Merge pull request #5108 from totto82/fixThermalBoundary
Compute enthalpy for thermal boundary
2024-01-19 13:18:05 +01:00
Tor Harald Sandve
222358c49e Add support for temperature in Source 2024-01-19 08:26:26 +01:00
Atgeirr Flø Rasmussen
ae838d0b84
Merge pull request #5103 from hnil/trueimpesanalytic
add analytic true impes
2024-01-18 22:51:57 +01:00
hnil
bec5a233eb removed more warings and a bug for strange index settings 2024-01-18 18:25:50 +01:00
hnil
cced62edc0 fixed warning 2024-01-18 18:18:42 +01:00
Joshua Bowden
5e66b07255 fix for crash when cleaning up damaris mesh offset variable due to shared memory buffer being size off by one 2024-01-18 16:36:47 +01:00
Tor Harald Sandve
5c1bbd304b Compute entalpy for thermal boundary 2024-01-18 16:04:32 +01:00
hnil
be27e2388d fixed name in cpp file 2024-01-18 11:40:59 +01:00
hnil
1900379343 changes to adjust to review comments 2024-01-18 10:37:48 +01:00
Bård Skaflestad
ff8372bc40
Merge pull request #5106 from atgeirr/initialize-communication-object-earlier
Initialize the communication object in initialize().
2024-01-17 13:36:36 +01:00
Atgeirr Flø Rasmussen
a52bcf51b1 Initialize the communication object in initialize(). 2024-01-17 12:39:52 +01:00
Bård Skaflestad
63208c38f6
Merge pull request #5054 from akva2/rstconv
added: hook up RPTRST CONV output to restart file if requested
2024-01-16 13:35:29 +01:00
Arne Morten Kvarving
be84969338 added: hook up RPTRST CONV output to restart file if requested 2024-01-16 12:58:02 +01:00
Bård Skaflestad
44bb4172fa
Merge pull request #4989 from bska/chase-opm-connection-ctor-api
Chase Constructor API Change for Opm::Connection Class
2024-01-15 14:47:21 +01:00
Arne Morten Kvarving
3b78350706 use stricter tolerances for WINJMULT_MSW/WINJDAM_MSW parallel tests
so we can use standard rel_tol tolerances and not the very relaxed
values currently in use
2024-01-15 11:05:02 +01:00
Bård Skaflestad
ceffbd2fc5 Chase Constructor API Change for Opm::Connection Class 2024-01-15 11:05:02 +01:00
Bård Skaflestad
534465d212
Merge pull request #5104 from atgeirr/nldd-improved-reporting
Nldd improved reporting
2024-01-15 11:00:58 +01:00
Atgeirr Flø Rasmussen
6eb670b5c7 Improve parallel logging in NLDD solver. 2024-01-15 09:08:52 +01:00
hnil
61329532a7 -- add true impes
-- moved code to hpp to avoid unnesseary logic
2024-01-12 15:33:09 +01:00
Tor Harald Sandve
8a1f4d5455
Merge pull request #5089 from totto82/explicit_rockcomp
add option for explicit pressure for rock compaction (only transmissibility)
2024-01-12 12:24:33 +01:00
Tor Harald Sandve
624ef7faf1
Merge pull request #5088 from totto82/avgTransMult
use arithmetic averaged compaction transmissibility multipliers
2024-01-12 10:01:14 +01:00
Tor Harald Sandve
d72ea5fcb0 add option for explicit pressure for rock compaction (only transmissibility) 2024-01-11 16:09:08 +01:00
Tor Harald Sandve
51532231b3 warn against no dispersion in gas phase 2024-01-11 15:27:40 +01:00