Commit Graph

21327 Commits

Author SHA1 Message Date
Bård Skaflestad
4b096ed142 Report Connection Level Fracturing Statistics to I/O Layer
Populates the new data::Connection::fract data member.
2025-02-14 17:38:03 +01:00
Bård Skaflestad
d5e84cf9c7 Add Facility for Collecting Connection Level Fracturing Statistics
In particular,

  * RunningStatistics calculates basic statics measures of a running
    sample
  * ConnFracStatistics aggregates those measures for connection
    level fracture pressure, fracture width, and flow rate
2025-02-14 17:38:03 +01:00
Bård Skaflestad
f678b86044 Refactor Connection Value Report Function
In particular, split this function into distinct steps:

  1. Computing the linearised IJK index of each connection.
  2. Reporting multiplicative factors such as the CTF, the D factor,
     and the transmissibility multiplier due to rock compaction.
  3. Reporting pressures, flow rates, and productivity indices.
  4. Reporting filter cake values for injectors

While here, also reverse a condition in init() to enable "early
continue" and reduce levels of nesting and to reduce scope of some
objects.
2025-02-14 17:38:03 +01:00
Bård Skaflestad
69e78a9e4d
Merge pull request #5974 from erikhide/general-controller-updated
General third order time step controller
2025-02-14 17:25:39 +01:00
Erik Hide Saeternes
565f5cffd8 Added #include <array> 2025-02-14 16:29:19 +01:00
Kai Bao
1e89fe7013
Merge pull request #5410 from vkip/extnet_efficiency
Support instantaneous flow rates in extended network (WEFAC and GEFAC item 3)
2025-02-14 14:37:19 +01:00
Erik Hide Saeternes
229c8f7733 Fixed bug in std::array 2025-02-14 14:16:41 +01:00
Erik Hide Saeternes
fb05bbf881 Fixed a few details in the time step control 2025-02-14 13:56:59 +01:00
Bård Skaflestad
8a69818ba5
Merge pull request #5989 from akva2/simplify_doAllocBuffers
Simplify GenericOutputBlackoilModule::doAllocBuffers
2025-02-14 12:36:25 +01:00
Vegard Kippe
1913186383 Minor updates post review 2025-02-14 11:37:29 +01:00
Vegard Kippe
44a87f8e65 Support NEFAC and clean up implementation 2025-02-14 11:37:26 +01:00
Vegard Kippe
cc68f7246a Support instantaneous flow rates in extended network (WEFAC and GEFAC item 3) 2025-02-14 11:35:07 +01:00
Arne Morten Kvarving
41fbe1c839 doAllocBuffers: pass hysteresis config instead of 3 bools 2025-02-14 11:31:03 +01:00
Arne Morten Kvarving
652a5a4646 GenericOutputBlackoilModule: check schedule directly for vappars
avoids a bool param in doAllocBuffers
2025-02-14 11:31:03 +01:00
Bård Skaflestad
ee6d34f4a4
Merge pull request #5987 from akva2/tracer_container
Add TracerContainer, a container for tracer data output
2025-02-14 10:54:12 +01:00
Arne Morten Kvarving
2e5ad4f94b TracerContainer: make data private 2025-02-14 09:59:57 +01:00
Arne Morten Kvarving
dcc4aa30dd move assignment of sol tracer concentration into TracerContainer 2025-02-14 09:59:39 +01:00
Arne Morten Kvarving
00fe560720 move assignment of free tracer concentration into TracerContainer 2025-02-14 09:59:39 +01:00
Arne Morten Kvarving
7386655b65 move output of tracer data into TracerContainer 2025-02-14 09:59:38 +01:00
Arne Morten Kvarving
7f4e3624f7 move allocation of tracer data into TracerContainer 2025-02-14 09:58:54 +01:00
Arne Morten Kvarving
13fb52bf9e add TracerContainer, a container for tracer data output
start by moving data members into it
2025-02-14 08:47:07 +01:00
Atgeirr Flø Rasmussen
c015df56f9
Merge pull request #5952 from hnil/consistent_primary_variables
Consistent primary variables
2025-02-13 18:24:53 +01:00
Arne Morten Kvarving
ca550d325d
Merge pull request #5979 from akva2/fix_instant
fix: instantiation of CompositionalContainer
2025-02-13 13:52:37 +01:00
Arne Morten Kvarving
41fbfb3d22 fix: instantiation of CompositionalContainer 2025-02-13 13:26:09 +01:00
Kai Bao
363d2eb902
Merge pull request #5851 from svenn-t/dummy_water_compositional
Compositional simulator expanded to three phases
2025-02-13 13:09:08 +01:00
Bård Skaflestad
2d9aac3043
Merge pull request #5978 from akva2/compositional_container
Add CompositionalContainer, a container for compositional data output
2025-02-13 12:35:20 +01:00
Arne Morten Kvarving
c8209c39a7 move CompositionalContainer member into OutputCompositionalModule 2025-02-13 12:08:23 +01:00
Arne Morten Kvarving
3b819349f8 CompositionalContainer: make data private 2025-02-13 12:06:02 +01:00
Arne Morten Kvarving
95e3735678 move assignment of gas fractions into CompositionalContainer 2025-02-13 12:06:01 +01:00
Arne Morten Kvarving
ae23b39d40 move assignment of oil fractions into CompositionalContainer 2025-02-13 12:06:01 +01:00
Arne Morten Kvarving
0496f4bb8a move assignment of mole fractions into CompositionalContainer 2025-02-13 12:06:01 +01:00
Arne Morten Kvarving
f4b1c093ce move output of restart data to CompositionalContainer 2025-02-13 12:06:01 +01:00
Arne Morten Kvarving
686f110a34 move allocation of compositional data into CompositionalContainer 2025-02-13 12:06:01 +01:00
Arne Morten Kvarving
4bfadcd80d add CompositionalContainer, a container for compositional data output
start by moving data members into it
2025-02-13 11:12:49 +01:00
Arne Morten Kvarving
de1e2480f8 replace typedefs with type aliases 2025-02-13 11:12:49 +01:00
Svenn Tveit
e7a2d954fe Update Sw in fluid state after normalization 2025-02-13 11:08:14 +01:00
Erik Hide Saeternes
7ac57ae177 Added test 2025-02-13 10:18:51 +01:00
Halvor M Nilsen
ec1359c915 Change primary variables to be consistent when updated from wellstate 2025-02-12 16:38:28 +01:00
Kjetil Olsen Lye
b99b606575
Merge pull request #5852 from multitalentloes/cudagraph_experiment
Improve gpuistl using cudaGraphs
2025-02-12 15:01:20 +01:00
Atgeirr Flø Rasmussen
586e667db0
Merge pull request #5950 from akva2/fluidsystem_int_comp_indices
component indices are now int
2025-02-12 14:57:54 +01:00
Tobias Meyer Andersen
66fa971079 use cudagraphs in gpu DILU and ILU0 apply
expected to give performance gain on current
nvidia cards, no significant change on AMD cards
for cases of reasonable size

uses new GPU convenence objects
2025-02-12 11:10:40 +01:00
Atgeirr Flø Rasmussen
5cdde7230e
Merge pull request #5969 from kjetilly/critical_error
Using the CriticalException in PreconditionerFactory and ISTLSolver
2025-02-12 11:08:14 +01:00
Erik Hide Saeternes
2be953f73d Added missing safety factor paramet for time step controller 2025-02-11 18:10:07 +01:00
Erik Hide Saeternes
d78cf2e32e Implemented general third order controller for adaptive time stepping 2025-02-11 18:10:06 +01:00
Bård Skaflestad
5f40515cec
Merge pull request #5968 from bska/tidy-up-grid-proc-impl
Tidy Up Parts of Grid Processing Implementation
2025-02-10 17:19:52 +01:00
Halvor M Nilsen
69a5c39738 Tidy Up Parts of Grid Processing Implementation
In particular

  1. Reduce scope of some objects
  2. Remove unneeded objects
  3. Split some long lines.
  4. Realign some code that was indented multiple levels
  5. Tag '#endif' pre-processor statements with their condition

This is in preparation of introducing support for edge-conformal
processing of corner-point descriptions.
2025-02-10 16:43:00 +01:00
Bård Skaflestad
710e3bb7ba
Merge pull request #5973 from bska/fix-main-dispatch-link
Link MainDispatchDynamic to LibFMT
2025-02-10 16:39:34 +01:00
Kjetil Olsen Lye
791e5974f2 Now providing a message for CritcalError when rethrowing in ISTLSolver 2025-02-10 16:08:43 +01:00
Bård Skaflestad
f86383f194 Link MainDispatchDynamic to LibFMT
Some code in implementation depends on the libfmt headers.
2025-02-10 15:07:09 +01:00
Atgeirr Flø Rasmussen
fa67170c85
Merge pull request #5970 from kjetilly/clang-format-newline
clang-format now adds newline at the end of file.
2025-02-10 13:59:48 +01:00