Commit Graph

1412 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Arne Morten Kvarving
a0d371c615 GenericOutputBlackoilModule: use EclString from Inplace 2025-01-31 08:32:27 +01:00
Bård Skaflestad
1bf755f5e8 Move Dynamic Dispatch Function to Separate TU
This moves about 300 lines of code out of Main.hpp and, especially,
moves the <flow/flow_*.hpp> include statements as well.  This, in
turn, makes Main::runStatic<>() usable for out-of-tree consumers.
2025-01-30 13:18:02 +01:00
Bård Skaflestad
54663f96a4 Add Missing Headers to Python Simulator
These were originally obtained through transitive includes,
especially from Main.hpp, but that's not a stable condition if the
set of transitive includes changes.
2025-01-30 12:17:39 +01:00
Bård Skaflestad
a0f907b59b Install Type Tag for TPFA Flow Problems
Makes this accessible for out-of-tree uses.
2025-01-30 11:35:19 +01:00
Kai Bao
dd9a7db39e register ForceDisableFluidInPlaceOutput for flowexp_comp
FluidSystem<0> at this stage due to how it is implemented
2025-01-29 14:48:17 +01:00
Arne Morten Kvarving
aa3226a71f janitoring: use string concat instead of operator+
and avoid unnecessary temporary
2025-01-29 13:23:25 +01:00
Atgeirr Flø Rasmussen
d2b272b5f5
Merge pull request #5923 from michal-toth/bugfix/log-message
Correct a keyword in a message
2025-01-29 09:23:43 +01:00
Michal Tóth
f9af91abfc Correct the keyword in the message 2025-01-28 16:04:12 +01:00
Kai Bao
536ad41987
Merge pull request #5918 from vkip/nwparam
Parameterize network sub-iterations and pressure update dampening
2025-01-28 10:44:37 +01:00
Atgeirr Flø Rasmussen
2fedd5c29e
Merge pull request #5912 from atgeirr/use-element-chunks
Switch property evaluation to using ElementChunks.
2025-01-28 10:39:15 +01:00
Atgeirr Flø Rasmussen
57fb01ad57 Switch property evaluation to using ElementChunks. 2025-01-28 09:59:16 +01:00
Atgeirr Flø Rasmussen
e912d3b3de
Merge pull request #5890 from akva2/multithread_tran_calc
Add multi-threading to transmissibility calculation
2025-01-28 09:22:23 +01:00
Vegard Kippe
1d2e413d63 Parameterize network sub-iterations and pressure update dampening 2025-01-27 11:44:10 +01:00
Arne Morten Kvarving
2b930ca51c SimulatorSerializer: add LoadFile to ignore list 2025-01-24 14:33:58 +01:00
Arne Morten Kvarving
f68864db8c reindent 2025-01-24 12:27:41 +01:00