Commit Graph

12915 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
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
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
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
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
jakobtorben
ac5b6b53c5 Select AMGX mode based on template scalar type 2024-12-18 13:30:02 +01:00
jakobtorben
0290fd0e9f Add support for partial resetup with AMGX 2024-12-18 13:30:02 +01:00
jakobtorben
5dd70eb8bb Add AMGX preconditioner 2024-12-18 13:30:02 +01:00
Bård Skaflestad
be4466ea5d Merge pull request #5792 from akva2/wcycle
added: support WCYCLE
2024-12-17 09:47:55 +01:00
Bård Skaflestad
79d2747cfa Merge pull request #5802 from lisajulia/feature/ms-wells-fix-restart
Feature/ms wells fix restart file error
2024-12-17 09:47:00 +01:00
Arne Morten Kvarving
0470502027 added: support WCYCLE 2024-12-17 08:41:25 +01:00
Arne Morten Kvarving
82a9698d27 added: support a scaling factor for well efficiency 2024-12-17 08:41:25 +01:00
Lisa Julia Nebel
b748bb8c8a Fix error in restart files 2024-12-16 18:00:55 +01:00
Arne Morten Kvarving
410e19e807 remove unused fipnum argument
also allows to drop the default value for the tuningUpdater callback
2024-12-16 14:49:08 +01:00
Atgeirr Flø Rasmussen
1c8724b601 Do not serialize time_point via time_t.
Avoids losing resolution (ms to s).
2024-12-13 09:33:53 +01:00