Commit Graph

17198 Commits

Author SHA1 Message Date
Arne Morten Kvarving
96a3a6d45a changed: move hdf5serializer to opm/simulators/utils/HDF5Serializer.hpp
does not interact with typetag system
2024-01-29 09:42:49 +01:00
Stein Krogstad
24c4f75ecb Use stricter tolerance when dynamic thp 2024-01-26 15:02:14 +01:00
Stein Krogstad
a9ab62e6b8 Don't set lower bound on network update 2024-01-26 14:58:06 +01:00
Lisa Julia Nebel
6dfa9b1b76 Add comment on trailing return type with decltype that is used for detecting the signature of the coarsen function of the Dune::Amg::IndicesCoarsener 2024-01-26 14:29:19 +01:00
Lisa Julia Nebel
74608147c0 Add comment on trailing return type with decltype that is used for detecting the existence of setUseFixedOrder member function 2024-01-26 14:29:15 +01:00
Markus Blatt
ddb174f401
Merge pull request #5125 from aritorto/rmNumElems
[refactor] Remove numElems from LookUpData methods
2024-01-26 14:19:04 +01:00
Lisa Julia Nebel
5b50a4801f Construct the matrices in the AMG hierarchy (created in the twolevelmethod) with deterministic indices if possible.
The function 'coarsen' for the coarser level is called with the respective flag if it is defined. Then the matrices in the AMG hierarchy are constructed with deterministic indices.
If it is not defined yet, it is called without the flag and the matrices in the AMG hierarchy are constructed with non-deterministic indices.
2024-01-26 13:51:41 +01:00
Bård Skaflestad
3cb254f3ae
Merge pull request #5114 from totto82/addMassCo2Output
Add co2 mass in place summary vectors
2024-01-26 13:20:13 +01:00
Antonella Ritorto
b9124a2688 Fix warning unused-variable 2024-01-26 12:28:06 +01:00
Vegard Kippe
31b46b4829 Revert the choice to open history wells at every step, since this may cause some models to be stuck at very short time steps. 2024-01-26 12:05:26 +01:00
Antonella Ritorto
921b7b577a Remove numElems from LookUpData methods 2024-01-26 09:40:05 +01:00
Tor Harald Sandve
2fce942a5c refactor updateCO2InWater 2024-01-26 09:33:26 +01:00
Tor Harald Sandve
343f1201eb make test independent on inplace.size() 2024-01-26 09:15:43 +01:00
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
Lisa Julia Nebel
60b0a33bd4 Construct the matrices in the AMG hierarchy (created in the PreconditionerFactory) with deterministic indices if possible.
The function 'setUseFixedOrder' is called if it is defined and the matrices in the AMG hierarchy are constructed with deterministic indices.
If it is not defined yet, it is not called and the matrices in the AMG hierarchy are constructed with non-deterministic indices.
2024-01-25 11:32:09 +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