Commit Graph

21204 Commits

Author SHA1 Message Date
Kai Bao
f46bcd43b4
Merge pull request #5945 from vkip/limit_haaland_f
Limit relative roughness in Haaland friction factor calculation
2025-02-05 12:45:31 +01:00
Kjetil Olsen Lye
51edfd6f95
Merge pull request #5955 from multitalentloes/gpu_tools_fix
fix include error and rename test_smart_pointers
2025-02-04 17:10:38 +01:00
Tobias Meyer Andersen
f993fe9361 fix include error, rename test_smart_pointers.cu
This pr fixes an include error caused by a bad
rebase. I also change the name of the test for
gpu smart pointers to start with "gpu" to make it
easier to run all gpu tests at once
2025-02-04 16:03:05 +01:00
Tobias Meyer Andersen
2babeb848d
Merge pull request #5951 from kjetilly/cuda_resources
Added utility class to hold a GPU resource (stream, event, graph, etc).
2025-02-04 15:26:33 +01:00
Kjetil Olsen Lye
c7e2ad39c2 Added utility class to hold a GPU resource (stream, event, graph, etc). 2025-02-04 14:53:31 +01:00
Bård Skaflestad
b95490fabc
Merge pull request #5847 from akva2/blackoilwellmodel_nldd
changed: move NLDD BlackoilWellModel code to separate class
2025-02-04 14:46:50 +01:00
Tobias Meyer Andersen
4172deb815
Merge pull request #5946 from kjetilly/smart_pointers
Smart pointers for GPU memory
2025-02-04 14:45:59 +01:00
Vegard Kippe
8d37ca9035 Limit roughness during input handling instead, but keep a check here. 2025-02-04 14:22:34 +01:00
Bård Skaflestad
795aa1392d
Merge pull request #5947 from bska/support-ptree-put-bool
Support Inserting Bools Into Property Trees
2025-02-04 13:23:47 +01:00
Kjetil Olsen Lye
db440df072 Added convenience functions for smart pointers on GPU and a view to pointers. 2025-02-04 10:26:48 +01:00
Halvor M Nilsen
bc227ab784 Support Inserting Bools Into Property Trees
While here, also add a simple unit test that as_vector<T>() returns
nullopt for non-existing property nodes.
2025-02-04 10:02:14 +01:00
Bård Skaflestad
c8b5732bd6
Merge pull request #5949 from akva2/fix_flows_compiler_warning
Fix compiler warning in FLOWS code
2025-02-04 09:55:41 +01:00
Vegard Kippe
32876479fd Slightly larger safety margin to avoid numerical issues. 2025-02-04 00:43:42 +01:00
Vegard Kippe
86e47384dd Limit relative roughness to avoid singularity in Haaland friction factor calculations 2025-02-03 23:40:44 +01:00
Bård Skaflestad
f5ebea3505
Merge pull request #5942 from bska/expose-cornercells-and-overlaplayers
Expose CornerCells and OverlapLayers Load Balancing Settings
2025-02-03 17:02:56 +01:00
Arne Morten Kvarving
a9f9c7d193 fix warning 2025-02-03 15:53:46 +01:00
Halvor M Nilsen
cfbb4a9573 Expose CornerCells and OverlapLayers Load Balancing Settings
We introduce two new run-time parameters,

  AddCorners (--add-corners=BOOL, default 'false')
  NumOverlap (--num-overlap=INT, default '1')

that are passed on to the grid's load-balancing engine as the
'addCornerCells' and 'overlapLayers' settings.
2025-02-03 15:31:47 +01:00
Arne Morten Kvarving
45d27f446c make all canonicalToActiveComponentIndex variants constexpr 2025-02-03 15:27:29 +01:00
Bård Skaflestad
d2f1b576bd
Merge pull request #5944 from akva2/quell_false_oob_warning
fixed: use if constexpr to avoid compiler warning
2025-02-03 14:55:29 +01:00
Arne Morten Kvarving
1671d060c8 fixed: use if constexpr to avoid compiler warning
while we are never actually here without an index,
compiler cannot know since the enum is a runtime argument
2025-02-03 14:15:06 +01:00
Bård Skaflestad
fca5899b43
Merge pull request #5941 from bska/add-precond-for-interior-sizes
Add Preconditions to Avoid Incorrect Interior Sizes
2025-02-03 13:19:28 +01:00
Halvor M Nilsen
4c386b0e45 Add Preconditions to Avoid Incorrect Interior Sizes 2025-02-03 12:15:46 +01:00
Bård Skaflestad
cd5a036663
Merge pull request #5939 from akva2/output_refactor_fip
OutputBlackoilModule: add a container for the FIP data
2025-02-03 12:08:00 +01:00
Arne Morten Kvarving
01a5641a3b FIPContainer: change to using has() 2025-02-03 11:30:22 +01:00
Arne Morten Kvarving
e78ce63b4e FIPContainer: take ownership of map 2025-02-03 11:30:00 +01:00
Arne Morten Kvarving
651ecf7223 FIPContainer: add accessor for phase vectors 2025-02-03 11:29:59 +01:00
Arne Morten Kvarving
51efe81015 FIPContainer: add helper to check if there are Co2InWater entries 2025-02-03 11:29:59 +01:00
Arne Morten Kvarving
d79e0fd8c2 FIPContainer: add helper to check if there are Co2InGas entries 2025-02-03 11:29:57 +01:00
Arne Morten Kvarving
f816995329 FIPContainer: add query function for phase presence 2025-02-03 11:20:05 +01:00
Kai Bao
236d09c7db
Merge pull request #5929 from steink/pass-on-current-well-state-to-potential-calculations
Pass on current well state to (implicit) potential calculations
2025-02-03 11:09:31 +01:00
Arne Morten Kvarving
57ef2b63e8 move output of restart FIP values into FIPContainer 2025-02-03 11:03:47 +01:00
Arne Morten Kvarving
9ae656fd58 move assignment of porevolume fip values into FIPContainer 2025-02-03 10:58:38 +01:00
Arne Morten Kvarving
9cc5f11084 move assignment of Co2InWater fip values into FIPContainer 2025-02-03 10:48:45 +01:00
Arne Morten Kvarving
58c1a16299 move assignment of OilGasDistribution fip values into FIPContainer 2025-02-03 10:14:01 +01:00
Arne Morten Kvarving
be86ef16c5 OutputBlackoilModule: move updateInplaceVolumesReservoir to FIPContainer 2025-02-03 10:00:00 +01:00
Arne Morten Kvarving
3ffd6594f2 OutputBlackoilModule: move updateInplaceVolumesSurface to FIPContainer 2025-02-03 09:53:35 +01:00
Arne Morten Kvarving
63042c25ee OutputBlackoilModule: move gas-water fip assignment code to FIPContainer 2025-02-03 09:53:32 +01:00
Bård Skaflestad
2459bb74b2
Merge pull request #5940 from bska/remove-unused-header
Remove Unused FMT Header
2025-02-03 09:34:22 +01:00
Arne Morten Kvarving
efbda68f89 move assignment of Co2InGas fip values into FIPContainer 2025-02-03 09:03:48 +01:00
Halvor M Nilsen
0fd2623e05 Remove Unused FMT Header
Makes using the header from an installed location harder than it
needs to be.
2025-01-31 17:15:32 +01:00
Arne Morten Kvarving
50f3d7d342 add a FIPContainer class
this is a container for the FIP map and associated code
in OutputBlackoilModule.

start by adding allocation functionality. for now the container
only owns a reference to the map
2025-01-31 15:50:53 +01:00
Bård Skaflestad
1858b493aa
Merge pull request #5938 from akva2/fix_pyaction_tests
fixed: pyaction tests for super build
2025-01-31 14:53:31 +01:00
Arne Morten Kvarving
b0c1a63537 fixed: pyaction tests for super build
properly set python path in tests to find the opm_embedded module
2025-01-31 14:38:11 +01:00
Kai Bao
4fc7545e98
Merge pull request #5926 from GitPaean/fixing_exp_comp_running
hacking to register the parameter ForceDisableFluidInPlaceOutput
2025-01-31 14:33:33 +01:00
Bård Skaflestad
1f81756a8d
Merge pull request #5608 from akva2/explicit_ctor_tabulated1d_function
adjust to constructor being marked explicit
2025-01-31 12:06:01 +01:00
Bård Skaflestad
6bdbb6abdf
Merge pull request #5934 from bska/install-more-headers
Install More Headers
2025-01-31 09:00:36 +01:00
Bård Skaflestad
e0e089d820
Merge pull request #5936 from akva2/eclstring_inplace
GenericOutputBlackoilModule: use EclString from Inplace
2025-01-31 09:00:12 +01:00
Arne Morten Kvarving
a0d371c615 GenericOutputBlackoilModule: use EclString from Inplace 2025-01-31 08:32:27 +01:00
Bård Skaflestad
38ade97e86 Install More Headers
Needed for Main::runStatic<>() to be usable out-of-tree.
2025-01-30 18:20:19 +01:00
Bård Skaflestad
1df6079007
Merge pull request #5928 from bska/main-dispatch-dynamic-tu
Move Dynamic Dispatch Function to Separate TU
2025-01-30 13:53:30 +01:00