Commit Graph

20942 Commits

Author SHA1 Message Date
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
Vegard Kippe
802e73fe28 Fix RFT output for shut distributed wells and permamently inactive wells split across processors (partition method 3 issue only). 2024-12-20 10:46:14 +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
Atgeirr Flø Rasmussen
1dfe2fb3f4
Merge pull request #5819 from lisajulia/feature/ms-wells-separate-mpi-calls-from-business-logic
Remove the mpi calls from the business logic
2024-12-20 10:14:17 +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
Lisa Julia Nebel
ece9456438 Change msw-simple test to use solver-max-time-step-in-days=15 instead of solver-max-time-step-in-days=10 2024-12-20 07:41:10 +01:00
Lisa Julia Nebel
78708e1213
Merge pull request #5715 from aritorto/missedCommentPR5712
LevelCartesianIndexMapper constructor for AluGrid taking only a grid as an argument
2024-12-20 07:32:02 +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
Arne Morten Kvarving
5217e63309 logPrimaryVars: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00
Arne Morten Kvarving
5897805e5b well_domain_: move to BlackoilWellModelGeneric 2024-12-19 12:58:49 +01:00
Arne Morten Kvarving
58ac8f2553 setPrimaryVarsDomain: take domain index as parameter 2024-12-19 12:58:29 +01:00
Arne Morten Kvarving
75dc66d4d2 getPrimaryVarsDomain: take domain index as parameter 2024-12-19 12:58:29 +01:00
Arne Morten Kvarving
b0bb6473c9 connectionDensity: move to WellInterfaceGeneric 2024-12-19 12:58:29 +01:00
Arne Morten Kvarving
32dc2f990c setPrimaryVars: move to WellInterfaceGeneric 2024-12-19 12:58:29 +01:00
Arne Morten Kvarving
a36b44dbdf getPrimaryVars: move to WellInterfaceGeneric 2024-12-19 12:58:29 +01:00
Atgeirr Flø Rasmussen
86436cdd5c Necessary to compile with my Hypre install.
HYPRE_Bigint are 64 bit integers on some platforms by default, and
can be configured as such in any case. The HYPRE API asks for
HYPRE_BigInt* so it is better to use that type rather than int.
2024-12-19 12:56:14 +01:00
Bård Skaflestad
172ae7ee76
Merge pull request #5744 from akva2/add_ratio_calc
Add dedicated class for some ratio calculation in StandardWell
2024-12-19 11:22:16 +01:00
Arne Morten Kvarving
15dcc39bcd
Merge pull request #5814 from akva2/fix_wcycle_parallel
Fix WCYCLE in parallel
2024-12-19 11:02:13 +01:00
Arne Morten Kvarving
c17aad19bf add parallel regression test for WCYCLE 2024-12-19 10:01:49 +01:00
Arne Morten Kvarving
644a7f2616 fixed: need to sync adjusted timestep across processes in parallel 2024-12-19 10:01:49 +01:00
Tor Harald Sandve
b6999cfbc0
Merge pull request #5785 from svenn-t/rockopts_store
Use initial pressure if ROCKOPTS item 2 is STORE
2024-12-19 09:23:04 +01:00
Markus Blatt
a77668a55e
Merge pull request #5813 from aritorto/fixSeqLGR
Do not write initial FIP for CpGrid with LGRs for now
2024-12-19 08:49:21 +01:00
Bård Skaflestad
78c6033ab4
Merge pull request #5797 from bska/revised-wbp-depth-corr
Chase WBP Source Requirement Change
2024-12-18 19:10:50 +01:00
Antonella Ritorto
9624eb7185 Do not write initial FIP for CpGrid with LGRs for now 2024-12-18 17:05:40 +01:00
Bård Skaflestad
8f42288d71 Chase WBP Source Requirement Change
The revised depth correction algorithm requires per-cell depth
information (in SourceDataSpan::Item::Depth) for the reservoir
contributions so honour this requirement.

This is potentially a somewhat wasteful approach since the cell
centre depth is constant throughout a simulation, but it's a simple
strategy that does not require large API and synchronisation
changes, so we nevertheless stick to this as a first implementation.
We will reduce the amount of communication if this becomes a
bottleneck.
2024-12-18 16:35:13 +01:00
Atgeirr Flø Rasmussen
369332ef3d
Merge pull request #5808 from jakobtorben/AMGX_integration
Amgx integration
2024-12-18 16:27:02 +01:00
Arne Morten Kvarving
3c4600cf02
Merge pull request #5810 from michal-toth/test/partition-method-3
Regression test for --partition-method=3
2024-12-18 16:11:26 +01:00
Michal Tóth
a8349d2111 Disambiguate the casename of the test. 2024-12-18 15:59:45 +01:00
Michal Tóth
6d7758fbf8 Remove trailing + 2024-12-18 15:41:19 +01:00
Michal Tóth
0a9b51e643 Regression test for --partition-method=3 2024-12-18 14:27:30 +01:00