Commit Graph

21245 Commits

Author SHA1 Message Date
Arne Morten Kvarving
d6ba124e41 MechContainer: data should be moved into solution container 2025-02-07 12:25:19 +01:00
Arne Morten Kvarving
3b95a1ecca FIPContainer: data should be moved into container 2025-02-07 12:25:19 +01:00
Arne Morten Kvarving
57099a433c fixed: output is supposed to use move semantics 2025-02-07 12:25:19 +01:00
Bård Skaflestad
a88901c97c
Merge pull request #5960 from akva2/add_mech_container
Add MechContainer
2025-02-07 08:59:59 +01:00
Arne Morten Kvarving
cda742b0ff MechContainer: make data private 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
be0fbac68b store fracStress as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
7136f97d6e move assignment of fracStress into MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
d1b9cab189 store linStress as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
6809268d12 move assignment of linStress into MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
779a225c9d store delStress as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
9e8ab101ed move assignment of delStress into MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
dd36273cb6 store strain as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
83f99a5fe4 move assignment of strain into MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
b41e92e67f MechContainer::outputData: add support for registering vectors and tensors
avoid repeated code, indexing errors, ..

use this to register for displacement and stress
2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
76e343d54d store stress as a VoigtArray in MechContainer 2025-02-07 08:21:19 +01:00
Arne Morten Kvarving
21b41cf5c3 move assignment of stress into MechContainer 2025-02-07 08:21:19 +01:00
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
Bård Skaflestad
75cb43ec9f
Merge pull request #5801 from bska/geomech
Add Infrastructure for Geomechanical Analysis
2025-02-06 12:41:30 +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
Markus Blatt
ba619095a6
Merge pull request #5957 from bska/make-more-operations-accessible
Make Simulator Operations Generally Accessible
2025-02-05 16:53:23 +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
Bård Skaflestad
7952ba0d0d
Merge pull request #5953 from bska/vector-matrix-output-helpers
Add Helper Functions for Outputting Vectors/Matrices Separately
2025-02-05 15:55:04 +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
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