Commit Graph

6670 Commits

Author SHA1 Message Date
Arne Morten Kvarving
1acedbd3d7 MechContainer: store displacement as an array instead of 3 vectors 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
564c8e5005 move assignment of displacements into MechContainer 2025-02-06 15:17:01 +01:00
Arne Morten Kvarving
e6a0ff522a move assignment of potential forces into MechContainer 2025-02-06 15:17:01 +01:00
Arne Morten Kvarving
b692bbd15e move output of mech restart data to MechContainer 2025-02-06 15:16:51 +01:00
Arne Morten Kvarving
2fe36caa08 move allocation of mech data into MechContainer 2025-02-06 14:18:57 +01:00
Arne Morten Kvarving
7481f2a8e1 add MechContainer, a container for Mech data output
start by moving data members into it
2025-02-06 14:18:57 +01:00
Bård Skaflestad
87532c6169 Merge pull request #5959 from akva2/add_voigt_symmtensor
Add VoigtArray and SymmTensor classes
2025-02-06 14:12:45 +01:00
Arne Morten Kvarving
da8fde3737 Merge pull request #5958 from kjetilly/smartpointer_nvcc_12_0
Fixes for NVCC older than 12.5.1
2025-02-06 12:58:24 +01:00
Arne Morten Kvarving
41361baa44 added: SymmTensor
this is a VoigtContainer with some algebraic operations
2025-02-06 12:57:25 +01:00
Arne Morten Kvarving
5a3373f93f added: voigt array
this is a container for vector data stored using voigt notation
2025-02-06 12:57:25 +01:00
Halvor M Nilsen
9e235def1c Add Way of Introducing New Well Connections at Runtime
This commit adds a new member function

    void WellInterfaceGeneric<>::addPerforation()

which is, initially, intended as a way of introducing new well
connections arising from hydraulic fracturing.  We expect more work
in this area.
2025-02-06 11:34:44 +01:00
Halvor M Nilsen
646d7c0a04 Output More Geo-Mechanical Quantities to Summary/Restart
In particular, this commit defines multiple additional 3D stress
quantities in the restart file as well as some cell level stress
vectors in the summary file.
2025-02-06 11:34:44 +01:00
Kjetil Olsen Lye
5644da85e4 Fixes for NVCC older than 12.5.1 2025-02-06 10:52:49 +01:00
Kai Bao
a799f463fb Merge pull request #5866 from vkip/fully_supported_validation
Separate keyword validation for fully supported keywords
2025-02-06 10:06:46 +01:00
Halvor M Nilsen
f2e846a14f Make Action Processing Independently Accessible
This commit splits the action processing of member function

    FlowProblemBlackoil::endTimeStep()

out into a separate member function

    void FlowProblemBlackoil::endStepApplyAction()

for use by client code.  The initial use case is to have an
action-like operation that supports adding new connections to wells
in parts of the formation undergoing hydraulic fracturing.
2025-02-05 16:11:49 +01:00
Halvor M Nilsen
a212a1b82e Make Simulator Update Operation Public
This is an independently useful operation that is applicable outside
of just the ACTIONX processing.
2025-02-05 16:11:49 +01:00
Halvor M Nilsen
08e39f7479 Add Helper Functions for Outputting Vectors/Matrices Separately
While here, also add wrapper functions for outputting systems of
linear equations arising in geo-mechanical applications.
2025-02-05 13:48:10 +01:00
Tobias Meyer Andersen
381182dedd Merge pull request #5956 from kjetilly/gpu_memory_copy
Added copy functions from GPU smart pointers
2025-02-05 13:33:46 +01:00
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
e9cf89fd23 Added copy functions from GPU smart pointers 2025-02-05 11:29:22 +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
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
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
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
Arne Morten Kvarving
efbda68f89 move assignment of Co2InGas fip values into FIPContainer 2025-02-03 09:03:48 +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
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