Commit Graph

12942 Commits

Author SHA1 Message Date
Arne Morten Kvarving
bc45c1e80a changed: remove unused code in WellConnectionAuxilliaryModule 2025-01-07 10:36:15 +01:00
Atgeirr Flø Rasmussen
733e24fe78 Fix clang complaints about incorrect constexpr usage.
Also make one more if constexpr.
2025-01-07 10:11:08 +01:00
Arne Morten Kvarving
89dbda4621 changed: move GasLift to separate class
move to has-a instead of is-a for modelling in BlackoilWellModel
2025-01-06 15:15:59 +01:00
Arne Morten Kvarving
7c5f9c59b3 BlackoilWellModel: move initialization of terminal_output_ to the generic class
it is now possible since parameter system does not need typetag
2025-01-06 15:09:56 +01:00
Atgeirr Flø Rasmussen
9ba48c7464 Add missing include. 2025-01-06 10:32:27 +01:00
Atgeirr Flø Rasmussen
6df2d8ceea Reduce size of enums to save 15 bytes per cell. 2025-01-06 10:32:10 +01:00
Matthew Goodfield
c367ea8697
[Nit] Add EHYSTR(HYSTMOD) = 4 to list of supported values in message 2025-01-03 09:56:36 +00:00
Bård Skaflestad
36008aeec4
Merge pull request #5835 from akva2/change_ide_impr_guard
changed: use standard header guard structure for _impl.hpp clangd helpers
2025-01-03 10:33:54 +01:00
Bård Skaflestad
1c6622e528
Merge pull request #5834 from akva2/split_adaptive_time_stepping
split AdaptiveTimeStepping to use an impl file
2025-01-03 10:32:21 +01:00
Arne Morten Kvarving
ca9ea2ccf1 AdaptiveTimeStepping: move controller creation to translation unit 2025-01-03 10:08:43 +01:00
Arne Morten Kvarving
c25a7480cd AdaptiveTimeStepping::init_: change from if nest to map of creators 2025-01-03 10:08:17 +01:00
Arne Morten Kvarving
0465d3f0af AdaptiveTimeStepping: use fmt for formatting 2025-01-03 09:30:14 +01:00
Arne Morten Kvarving
f0cb0595d1 remove unnecessary std::to_string
format can handle floating point numbers
2025-01-03 09:30:14 +01:00
Arne Morten Kvarving
1556169221 changed: do no assert for user provided data
instead throw an exception
2025-01-03 09:30:14 +01:00
Arne Morten Kvarving
a2bd8b5810 split AdaptiveTimeStepping to use an impl file 2025-01-03 09:30:14 +01:00
Arne Morten Kvarving
0ee1d2fae5 changed: use standard header guard structure for _impl.hpp clangd helpers 2025-01-03 09:25:49 +01:00
Atgeirr Flø Rasmussen
96132fefcf
Merge pull request #5779 from multitalentloes/adjust_gpu_autotuning
adjust output and parameters in gpu autotuner
2025-01-02 16:08:47 +01:00
Arne Morten Kvarving
34fa8914f6 cosmetics 2025-01-02 13:26:56 +01:00
Arne Morten Kvarving
f71a92cf63 use std::find_if instead of loop 2025-01-02 13:26:56 +01:00
Markus Blatt
e667efe522
Merge pull request #5829 from aritorto/addGridArgument
Add grid argument to recycle code
2024-12-20 20:03:16 +01:00
Antonella Ritorto
950c5f0765 Add grid argument to recycle code 2024-12-20 19:32:36 +01:00
Markus Blatt
a36c613f84
Merge pull request #5828 from aritorto/rmIf
Unnecessary check isInterior
2024-12-20 17:56:39 +01:00
Antonella Ritorto
b680c13bd8 Unnecessary check if(isInterior) 2024-12-20 17:28:35 +01:00
Atgeirr Flø Rasmussen
939f944b86 Remove unneded capture of 'this'. 2024-12-20 14:44:02 +01:00
Tor Harald Sandve
032b296836
Merge pull request #5783 from totto82/fixVREP2
use reservoir rates not reduction rate in target calculator for VREP
2024-12-20 12:53:59 +01:00
Tor Harald Sandve
94e574ea56 use reservoir rates not reduction rate in target calculator for VREP 2024-12-20 12:01:10 +01:00
Arne Morten Kvarving
e5f8ea3e13 simplify: applyScaleAdd can be shared between regular and domain operators 2024-12-20 11:05:41 +01:00
Arne Morten Kvarving
4a797a7017 simplify: separate out application of a single well
and share code between normal and domain operators
2024-12-20 11:05:26 +01:00
Arne Morten Kvarving
165d0a953f changed: move implementation of WellOperators out of BlackoilWellModel 2024-12-20 10:41:58 +01:00
Arne Morten Kvarving
27ec1eb390 BlackoilWellModel: add some accessors 2024-12-20 10:41:58 +01:00
Lisa Julia Nebel
890f285cbf Remove the mpi calls from the business logic
Implement mmv and mv functions that are called from the business layer that do the communication
2024-12-20 09:23:23 +01:00
Arne Morten Kvarving
572da1ca62
Merge pull request #5820 from lisajulia/feature/ms-wells-fix-communication-mistake
Fix really stupid communication mistake
2024-12-20 08:19:22 +01:00
Tor Harald Sandve
c0318c8759
Merge pull request #5754 from plgbrts/ac-group-guide-rates
Allow group guide rates in case that a group is an auto choke group
2024-12-20 07:54:57 +01:00
Lisa Julia Nebel
09d036a4fb Fix really stupid communication mistake 2024-12-20 07:41:56 +01:00
Antonella Ritorto
423b6596fb Minor refactorization in LevelCartesianIndexMapper for AluGrid and PolyhedralGrid 2024-12-19 19:02:16 +01:00
plgbrts
8158ae8abe allow defaulted group guide rates
clean up
2024-12-19 14:49:18 +00:00
Arne Morten Kvarving
4f5c86d72c
Merge pull request #5816 from akva2/fix_wcycle_glob
Allow query for efficiency scaling factor in off-process wells where required
2024-12-19 13:53:30 +01:00
Bård Skaflestad
53bed60917
Merge pull request #5742 from akva2/more_code_generic_well_model
More some more code to generic well model
2024-12-19 13:50:31 +01:00
Bård Skaflestad
9ddc32a637
Merge pull request #5815 from atgeirr/hypre-fix-bigint-usage
Necessary to compile with my Hypre install.
2024-12-19 13:35:17 +01:00
Vegard Kippe
60d738bc1c Allow query for efficiency scaling factor in off-process wells where required 2024-12-19 13:31:52 +01:00
Paul
9d735b8d6e add group target calculation
added temporary output

mainly rebasing

rebasing

some further attempts

fixed target calculations

remove some case specific choices

clean up

some clean up

generalised code for calculating target rate in groupControlledWells

small rebase fix

<double> replaced by <Scalar>

<double> replaced by <Scalar> (2)
2024-12-19 12:11:00 +00:00
Paul
6b2c372f11 allow individual well constraints
before rebasing

moved common thp calculation to updateWellControls

Small fix

clean up and improvements according reviewer comments

clean up and improvements according reviewer comments, part 2

changed assessing safe THP range

rebasing fixes

removed unused argument

rebasing
2024-12-19 12:10:50 +00:00
Arne Morten Kvarving
822fc11a3d cosmetics 2024-12-19 13:10:46 +01:00
Arne Morten Kvarving
44c8b6086b computeWellBlockAveragePressures: move to BlackoilWellModelGeneric 2024-12-19 13:10:46 +01:00
Arne Morten Kvarving
4d998545eb initializeWBPCalculationService: move to BlackoilWellModelGeneric 2024-12-19 13:10:46 +01:00
Paul
32e45489d7 This is a combination of 3 commits.
autochoke producers control mode set to THP

simplyfying code as some logic is moved to the parser

minor repair work
2024-12-19 12:08:59 +00:00
Arne Morten Kvarving
a67e8c44b4 registerOpenWellsForWbpCalculation: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00
Arne Morten Kvarving
7ab8d1938f wbpCalcMap_: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00
Arne Morten Kvarving
3d10b549e7 setPrimaryVarsDomain: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00
Arne Morten Kvarving
a36d40957b getPrimaryVarsDomain: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00