Commit Graph
159 Commits
Author SHA1 Message Date
David Landa Marban 1fd280c68d Removing trailing spaces and adding eol at eof 2025-10-02 10:22:55 +02:00
Tor Harald Sandve d8a609a538 Merge pull request #6456 from totto82/avoid_osc_status
Add parameter for restricting status oscillations between stop and open
2025-09-22 14:55:52 +02:00
Atgeirr Flø Rasmussen 5b31ef1edd Add subsystem argument to detail profiling macros. 2025-09-22 11:02:50 +02:00
David Landa Marban d3101a9c80 BIOFILM effects for gas-water systems 2025-09-18 11:15:48 +02:00
Tor Harald Sandve ed425f1d3b Add parameter for restricting status oscillations between stop and open
The parameters can improve convergence for cases where wells jums between stop and open

Default is 99 i.e. by default we dont restrict ossiclations

We have two levels of parameters for this
The first is due restict the number in the inner iterations
(This functionality is already in the code)
--max-well-status-switch-in-inner-iter-wells

The second is to restrict the number during a time-step
--max-well-status-switch-iter-wells

The second could lead to wells being shut too early and should be
used more carefully
2025-09-15 15:10:07 +02:00
Tor Harald Sandve c91097ded4 Merge pull request #6338 from totto82/avoidOsc
Reduce osscilations between stop and open
2025-09-03 08:38:43 +02:00
Tor Harald Sandve 5be6b65d28 Reduce osscilations between stop and open
We add a cap on the number of allowed swichtes per local well solve.
The maximum number is given by --max-well-status-switch-in-inner-iter-wells=
Currently defaulted to 99. I.e. we basicly allow for unlimited switching
2025-09-01 09:12:29 +02:00
Kai Bao 668dbde200 removing a few functions and include in EmptyModel
it does not looks like they are used.
2025-08-29 15:40:55 +02:00
Atgeirr Flø Rasmussen fcff49470c Remove unneeded function arguments. 2025-07-03 22:45:10 +02:00
Atgeirr Flø Rasmussen ea01701e1d Adapt to upstream ParamCache change. 2025-07-03 16:41:00 +02:00
Kai Bao 15aed9e124 moving FluidSystem::waterEnabled runtime_error to CompWellInterface
having it in the CompWellModel makes it can not run the cases with water
phase
2025-07-01 22:15:22 +02:00
Atgeirr Flø Rasmussen 521a252300 Use if constexpr to handle conditionally stored members.
Also added some more convenience enums to avoid repeated
getPropValue() clutter.
2025-06-27 13:24:47 +02:00
Arne Morten Kvarving bbbee5b4c7 BlackOilConvectiveMixingIntensiveQuantities: properly implement partial specialization
for disabling in convective mixing-less runs
2025-06-26 17:29:19 +02:00
Arne Morten Kvarving 7011d63e6e BlackOilMICPIntensiveQuantities: properly implement partial specialization
for disabling in micp-less runs
2025-06-26 17:26:12 +02:00
Arne Morten Kvarving c8a5bd1cc8 BlackOilEnergyIntensiveQuantities: properly implement partial specialization
for disabling in energy-less runs
2025-06-26 17:25:07 +02:00
Arne Morten Kvarving 1f5fb1de9f BlackOilBrineIntensiveQuantities: properly implement partial specialization
for disabling in brine-less runs
2025-06-26 17:17:45 +02:00
Arne Morten Kvarving 2c7550ee09 BlackOilFoamIntensiveQuantities: properly implement partial specialization
for disabling in foam-less runs
2025-06-26 17:14:44 +02:00
Arne Morten Kvarving 57d4789acb BlackOilPolymerIntensiveQuantities: properly implement partial specialization
for disabling in polymer-less runs
2025-06-26 17:12:17 +02:00
Arne Morten Kvarving d28120cdc9 BlackOilExtBoIntensiveQuantities: properly implement partial specialization
for disabling in extbo-less runs
2025-06-26 17:10:52 +02:00
Arne Morten Kvarving 5c5f52d029 BlackoilSolventIntensiveQuantities: properly implement partial specialization
for disabling in solvent-less runs
2025-06-26 17:08:06 +02:00
Arne Morten Kvarving 2291ddb298 start: use actual rank 2025-05-22 11:13:45 +02:00
Arne Morten Kvarving 1860123de0 start: remove default parameters 2025-05-22 09:51:55 +02:00
Arne Morten Kvarving d7ccfb9118 fixed: simply use {} to zero-initialize
since this is an array of arrays, clang warns and wants
us to use double braces, ie {{0.}}. {} does the same,
it is less messy
2025-05-13 14:21:02 +02:00
Bård Skaflestad 40e67da166 Merge pull request #6219 from akva2/directionalmobility_janitoring
DirectionalMobility: janitoring
2025-05-12 13:46:57 +02:00
Kai Bao aaf8b8612e removing Scalar template paramter from CompWellState
and SingleCompWellState.
2025-05-02 15:40:40 +02:00
Arne Morten Kvarving 3c78a55d8b directionmobility: store data as an array 2025-04-29 11:43:39 +02:00
Arne Morten Kvarving 3346ac92b5 directionalmobility: remove template parameter for Evaluation
grab it from the typetag
2025-04-29 11:43:39 +02:00
Atgeirr Flø Rasmussen a97069a057 Remove unused capture of 'this'. 2025-04-28 12:59:59 +02:00
Kai Bao 477b799dff updating the comments based on new development 2025-04-24 09:15:29 +02:00
Kai Bao 07fcb0f9dd renaming CompositionalWellModel to CompWellModel
so it is consistent with other files.
2025-04-23 16:13:01 +02:00
Kai Bao f103b441c6 removing the usage of PhaseUsage in compositional code 2025-04-23 16:02:41 +02:00
Kai Bao dd3441d9fe adding FluidSystem as a template parameter
for CompWellState and also SingleCompWellState.
2025-04-23 16:02:41 +02:00
Kai Bao 24779684cd using phase_pose in SingleCompWellState_impl
to avoid out-of-bound writing to surface_phase_rates.
2025-04-23 16:02:41 +02:00
Arne Morten Kvarving 5688ed4a82 CompositionalWellModel: mark variable const 2025-04-23 12:51:20 +02:00
Arne Morten Kvarving 4d9aa3aee2 CompositionalWellModel: add missing include 2025-04-23 12:51:20 +02:00
Arne Morten Kvarving 08b316806c CompositionalWellModel_impl: add IDE improvement 2025-04-23 12:51:20 +02:00
Arne Morten Kvarving 6095f12150 CompositionalWellModel_impl.hpp: add license 2025-04-23 12:51:20 +02:00
Kai Bao c62d578f91 two typo correction 2025-04-11 15:50:56 +02:00
Atgeirr Flø Rasmussen b0373b234b Silence various warnings. 2025-04-04 14:53:59 +02:00
Tor Harald Sandve 86620c5efd Merge pull request #6105 from daavid00/micp
Updating MICP
2025-04-03 17:29:33 +02:00
Bård Skaflestad dd09d829da Merge pull request #6132 from GitPaean/restore-compositional-well
Reapply "Compositional well"
2025-04-03 11:46:50 +02:00
Kai Bao aad8b017ac Reapply "Compositional well"
This reverts commit c782a9f512.
2025-04-03 10:38:59 +02:00
David Landa Marban 1541e84f7d Adressing akva2 comments 2025-04-02 22:19:01 +02:00
David Landa Marban ccc452f4d4 Updating MICP 2025-04-02 22:19:01 +02:00
Atgeirr Flø Rasmussen 3966d0f714 For convective mixing, store the saturated dissolution factor. 2025-04-02 15:52:06 +02:00
Bård Skaflestad c782a9f512 Revert "Compositional well" 2025-04-01 21:05:49 +02:00
Kai Bao 10873c6e7b renaming ConnectionData to be CompConnectionData
to avoid naming confusion.
2025-04-01 14:08:06 +02:00
Kai Bao 17e02fd8d6 more cleaning up following reviewing comments
mostly removing the usage of std::cout
2025-04-01 13:25:54 +02:00
Kai Bao 7c7e56c3d8 reducing duplicated code for flash calculation
in CompWell
2025-04-01 10:54:22 +02:00
Kai Bao 00087ccd3b merge toFluidStateScalar and toFluidState use template
to reduce code duplication
2025-03-31 14:25:02 +02:00