Commit Graph

2449 Commits

Author SHA1 Message Date
Arne Morten Kvarving
e43e854341 ConnFiltrateData: optionally instantiate for float 2024-08-19 13:09:42 +02:00
Arne Morten Kvarving
2ad3679ae4 ParallelWellInfo: optionally instantiate for float 2024-08-19 13:09:42 +02:00
Arne Morten Kvarving
d1f08e454a ALQState: optionally instantiate for float 2024-08-19 13:09:42 +02:00
Arne Morten Kvarving
b902f83fa6 BlackoilModelParameters: introduce translation unit 2024-08-16 17:15:53 +02:00
Arne Morten Kvarving
3716ee664d move BlackoilModel parameters to TypeTag-free parameter system 2024-08-16 13:20:04 +02:00
Arne Morten Kvarving
aab40a32e2 move EnableTerminalOutput parameter to TypeTag-free parameter system 2024-08-16 13:17:56 +02:00
Lisa Julia Nebel
f59fb57d4b Fix two tests for opening new well connections in an ACTIONX with the keyword COMPDAT 2024-08-16 10:16:04 +02:00
Vegard Kippe
0320a14eed Avoid expensive schedule.getWells() call and also update BlackoilWellModel_impl.hpp to use new signature of updateWellsDefaultALQ 2024-08-15 21:04:04 +02:00
Vegard Kippe
9dc5272ecc Ensure default ALQ is set for all production wells on all processes 2024-08-15 15:11:30 +02:00
Bård Skaflestad
e548bbfd9d
Merge pull request #5528 from totto82/gasmassinj
Pass gas mass rate to summary
2024-08-15 09:47:50 +02:00
Tor Harald Sandve
25b56c39aa Pass gas mass rate to summary 2024-08-14 09:01:10 +02:00
Lisa Julia Nebel
87a46d7b01 Fix NLDD solver for parallel runs with the COMPDAT keyword inside an ACTIONX 2024-08-14 08:31:37 +02:00
Bård Skaflestad
ad595fed5e
Merge pull request #5506 from akva2/move_params_to_parameters
Move parameters to Opm::Parameters namespace
2024-08-09 09:16:10 +02:00
Lisa Julia Nebel
9a97a8d658 Make test on one process pass by taking the possible future connections into account when creating the sparsity pattern of the jacobian and when creating the partitions for the solver 2024-08-06 16:07:01 +02:00
Arne Morten Kvarving
a65ddff8f6 changed: BlackoilModel parameters moved to Opm::Parameters namespace 2024-08-06 09:50:02 +02:00
Arne Morten Kvarving
d75b91aaba changed: SimulatorFullyImplicitBlackoil parameters moved to Opm::Parameters namespace 2024-08-06 09:50:02 +02:00
Tor Harald Sandve
f678c082de Adapt to inj prefix and cleanup 2024-08-01 11:23:00 +02:00
Tor Harald Sandve
5f8916c0c3 Use cell temperature in perforated cell to compute reservoir rates 2024-08-01 11:14:29 +02:00
Kai Bao
706fa281a1
Merge pull request #4935 from plgbrts/auto-choke
WIP: Enabling automatic choke to model a sub-sea manifold in an extended network
2024-07-03 21:29:50 +02:00
Paul
f9d82c6042 adressing several reviewers comments 2024-07-03 16:55:00 +02:00
Paul
6e76602e8f changed assessing safe THP range 2024-07-03 16:54:24 +02:00
Paul
393c70a83e clean up and improvements according reviewer comments 2024-07-03 16:54:05 +02:00
Paul
1ddf675cfd moved common thp calculation to updateWellControls 2024-07-03 16:53:51 +02:00
Paul
6ddf5dd01b allow individual well constraints 2024-07-03 16:53:29 +02:00
Paul
36dcf233c5 simplyfying code as some logic is moved to the parser 2024-07-03 16:52:11 +02:00
Paul
b2258dcf90 autochoke producers control mode set to THP 2024-07-02 12:13:56 +02:00
Paul
30e1f5178c Automatic choke 2024-07-02 12:13:52 +02:00
Kai Bao
ce05406483 make sure a well exists in the process
before closing it due to group action
2024-07-01 22:00:39 +02:00
Bård Skaflestad
0267a3612f
Merge pull request #5446 from atgeirr/fix-uninitialized-member
Initialize member for WellState serialization test constructor.
2024-06-27 15:28:31 +02:00
Atgeirr Flø Rasmussen
34d44876fb Initialize member for test constructor. 2024-06-27 11:24:54 +02:00
Kai Bao
eb83fff9d5
Merge pull request #5435 from steink/updates_in_preparation_for_5157
Minor updates in preparation for New defaults #5157.
2024-06-26 00:24:29 +02:00
Bård Skaflestad
26cd7ab993 Move opm/core/props to opm/simulators/utils
The opm/core directory is no longer meaningful, and it contains only
components which might collectively be described as simulator
utilities.
2024-06-25 12:22:09 +02:00
Stein Krogstad
fd199d2558 Rewrite to properly loop over components 2024-06-25 11:46:53 +02:00
Stein Krogstad
1efcd2c936 Fix potential for solvent + adjust perforation pressures 2024-06-25 11:46:53 +02:00
Kai Bao
d7d74d3a3e
Merge pull request #5424 from GitPaean/fixing_wecon
WECON RATE limit should not be applied if the well is under zero group rate target
2024-06-24 19:02:53 +02:00
Kai Bao
f99956c452
Merge pull request #5432 from vkip/gconprod_item11to13
Allow GCONPROD item 11-13 to actually take effect.
2024-06-24 18:59:29 +02:00
Kai Bao
6ac7f8fdaf not applying WECON RATE limit
when the well is under zero group target.
2024-06-24 14:42:10 +02:00
Markus Blatt
9dbaad2b3e
Merge pull request #5423 from blattms/bugfix/mswell-exceptions-are-problems
Only indicate problems for exceptions whem updating well potentials,
2024-06-20 14:33:17 +02:00
Vegard Kippe
ca1331fe08 Allow GCONPROD item 11-13 to actually take effect. 2024-06-19 10:47:43 +02:00
Markus Blatt
58ede5e789 Only indicate problems for exceptions whem updating well potentials,
Nearly all exceptions throw when computing well potentoals will not
abort the simulator but result in timestep chops. Hence those should not be
counted as errors (e.g. by calling the OPM_*THROW* macros) and be
reported in the PRT file.

This change will cause at least two more  occurences (in
MSWellHelpers) to be treated as problems. For this we added a new
helper function.
2024-06-12 14:25:37 +02:00
Svenn Tveit
adc36d64a5 Output rates to multisegment wells 2024-06-10 14:50:55 +02:00
Svenn Tveit
1645559342 Fix mass exchange term.
Additionally, store separate well terms for free and solution tracers
2024-06-10 14:48:45 +02:00
Atgeirr Flø Rasmussen
74fc1d4a67 Ensure the 'injector' member is initialized, compared etc. 2024-06-06 16:31:46 +02:00
Bård Skaflestad
151de07fa7 Collect Well Level Control Limits/Targets for Summary Output
This commit adds a new stage to the wellData() report function,
assignWellTargets(), which collects the numerical values of the
currently active limits/targets for summary file output purposes.
It is important that we collect these values strictly before we
start mutating the SummaryState object lest user-defined arguments
in keywords like WCONPROD be evaluated seemingly too soon.
Furthermore, it is faster to collect these values on the simulator
side and send them to the I/O rank for file output than to defer the
full calculation to the I/O rank.
2024-06-06 09:13:57 +02:00
Stein Krogstad
37c771cb5f fix bug and attempt to make code clearer 2024-05-31 14:11:10 +02:00
Stein Krogstad
d32d4419a9 fix double -> Scalar 2024-05-31 14:11:10 +02:00
Stein Krogstad
aa8516c085 Respect "global" switching logic also in local solves 2024-05-31 14:11:10 +02:00
Stein Krogstad
008fd268c5 fix bug 2024-05-31 14:11:10 +02:00
Stein Krogstad
c5f7d02bf7 Make thp-func constistent with bhp-func and add some damage prevention logic for severe extrapolation 2024-05-31 14:11:10 +02:00
Arne Morten Kvarving
bcbac79486
Merge pull request #5380 from akva2/linalg_template_scalar
LinAlg classes: template Scalar type
2024-05-31 08:40:11 +02:00