Commit Graph
174 Commits
Author SHA1 Message Date
David Landa Marban d59ddcfbca Fixing a couple of warnings 2026-03-31 13:56:01 +02:00
Kai Bao 07b45cd26f using the solvent related from BlackOilFluidState 2026-03-17 11:10:16 +01:00
Atgeirr Flø Rasmussen 842e7fc751 Restore old behaviour for relaxation in wells. 2026-03-13 10:05:02 +01:00
Atgeirr Flø Rasmussen aecdf722ac Merge pull request #6880 from jakobtorben/refactor_logic_based_on_iteration_index
Introduce NewtonIterationContext and refactor logic based on iteration index
2026-02-27 15:03:04 +01:00
Jakob Torben 61113726d8 Refactor logic based on iteration index 2026-02-26 17:35:14 +01:00
Kai Bao 125eb0b4b2 correcting typo Surfance -> Surface 2026-02-26 14:12:21 +01:00
Arne Morten Kvarving f00ab30268 replace std::fill with std::ranges::fill where appropriate
the c++-20 constrained algorithm is safer and code is more readable
2026-02-23 10:23:45 +01:00
Tor Harald Sandve 26d5a3497f Speedup the temperature module
- Use its own fluidstate and Evaluation class to avoid having to add an extra derivative to the main equations
- Sotre the scaling factor to avoid calling the parameter all the time
2026-02-18 11:31:27 +01:00
Atgeirr Flø Rasmussen 7d6feee0d9 Merge pull request #6676 from multitalentloes/make_newtranfluxmodule_gpu_friendly
make more files gpu-compatible
2026-02-18 08:47:36 +01:00
Tobias Meyer Andersen 61608c1ff7 simplify code 2026-02-17 13:33:45 +01:00
Arne Morten Kvarving c4c81bb55e quell signed/unsigned comparison warning 2026-02-17 10:55:59 +01:00
David Landa Marban 71c48581c6 Fix warnings for builds with -DWITH_NDEBUG=1 2026-01-08 10:42:49 +01:00
Tobias Meyer Andersen c53730d6b0 make compileable with main branch 2025-12-11 10:49:53 +01:00
Tor Harald Sandve 288e97dc39 Make a seqential solver for temperature
Use with TEMP
2025-11-21 12:55:26 +01:00
Tor Harald Sandve 8e63489f75 Add energy module type and use it.
This also add an no_temp implementation that can be used by the standard blackoil model
to avoid storing temperature in the fluid state.
2025-10-24 16:05:32 +02:00
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