Commit Graph

10861 Commits

Author SHA1 Message Date
Håkon Hægland
67bcc491ff Remove unused variables 2024-03-05 09:22:15 +01:00
Håkon Hægland
66eb6e1625 use the elements() range generator 2024-03-05 08:53:54 +01:00
Håkon Hægland
757c67f284 Return vectors by value
Return vectors by value instead of unique pointers to arrays.
2024-03-01 14:22:37 +01:00
Håkon Hægland
55aab60549 Get primary variables and fluid state from Python
Added methods to Python module opm.simulators.BlackOilSimulator to
access primary variables and fluid state variables.
2024-03-01 14:22:35 +01:00
Arne Morten Kvarving
def5c9cb24 AdaptiveTimeStepping: use {fmt} to format messages
std::to_string doesn't use generic format and thus small numbers
are truncated to 0.0000000
2024-02-29 11:58:26 +01:00
Markus Blatt
5bafd76b94
Merge pull request #5230 from akva2/fractioncalculator_split
FractionCalculator: put in separate translation unit
2024-02-29 08:22:59 +01:00
Bård Skaflestad
d1d22668ea Add Utility for Region-Based Phase-Filled Averages
The initial use case is calculating the phase-filled pore-volume
weighted average of the fluid mass densities per PVT region.  This
value goes into calculating depth-corrected per-cell phase pressure
values such as the BPPO and BPPG summary vectors.

This class manages a single linear array which separately tracks the
averages' numerators and denominators as running sums per region and
region set.  We pick this data structure to simplify the cross-rank
reduction needed in MPI parallel runs.  Client code is expected to
add individual per-cell and per-phase contributions using the
addCell() member function and then call the accumulateParallel()
member to affect the cross-rank reduction.  The averages will then
be available through the fieldValue() and value() member functions.

As a further view towards the initial use case, we track two
different types of average per phase--one for the phase-filled
volume and one for the pore-volume filled volume.  The latter is the
average we would get for the case of the phase saturation being one
throughout the region.  This alternative value is the fallback
option for the case of the phase saturation being identically zero
throughout the region.
2024-02-28 12:08:24 +01:00
Kai Bao
06dba324d2
Merge pull request #5221 from vkip/avoid_injector_alq_lookup
Avoid injector alq lookup
2024-02-28 11:40:27 +01:00
Arne Morten Kvarving
33dcc0bd50 FractionCalculator: put in separate translation unit 2024-02-27 13:00:23 +01:00
Arne Morten Kvarving
3087950c35
Merge pull request #5181 from akva2/move_gradient_calculator
move ebos/ecldummygradientcalculator.hh to opm/simulators/flow
2024-02-23 15:24:44 +01:00
Arne Morten Kvarving
6b0dbfdf2d rename EclAquiferModel property to AquiferModel 2024-02-23 10:25:16 +01:00
Arne Morten Kvarving
991f89816e rename EclWellModel property to WellModel 2024-02-23 10:24:53 +01:00
Markus Blatt
cc9d9bab41
Merge pull request #5193 from akva2/move_timestepping_params
move ebos/ecltimesteppingparams.hh to opm/simulators/timestepping
2024-02-23 10:13:24 +01:00
Markus Blatt
72d8abb837
Merge pull request #5209 from akva2/drop_ecl_typetags
Rename typetags - drop Ecl prefix
2024-02-23 10:01:26 +01:00
Arne Morten Kvarving
4aa6dc355f rename TTag::EclFlowProblemTPFA to TTag::FlowProblemTPFA 2024-02-23 09:27:48 +01:00
Arne Morten Kvarving
67c9bba4c9 rename TTag::EclFlowProblem to TTag::FlowProblem 2024-02-23 09:27:48 +01:00
Arne Morten Kvarving
73410e1c3a remove unused includes 2024-02-23 08:20:14 +01:00
Arne Morten Kvarving
9cc13977b0 MultisegmentWell: use CTAD 2024-02-23 08:20:14 +01:00
Arne Morten Kvarving
d8fa9c3396 LogOutputHelper: align table 2024-02-23 08:20:14 +01:00
Vegard Kippe
6a760f40dd Avoid looking up (non-existing) ALQ value for injectors. 2024-02-22 14:33:39 +01:00
Markus Blatt
3dfb808724
Merge pull request #5220 from vkip/actionx_low_parsing_strictness
Respect low parsing strictness in actions
2024-02-22 14:27:01 +01:00
Vegard Kippe
45e63bd498 Readability improvement 2024-02-22 13:03:54 +01:00
Vegard Kippe
b14df39503 Update schedule object after it is actually created.. 2024-02-21 21:47:51 +01:00
Vegard Kippe
cd1b0f808b Respect low parsing strictness when reprocessing the schedule section after action application. 2024-02-21 17:02:33 +01:00
Markus Blatt
4d40197406
Merge pull request #5215 from vkip/nextstep_without_tuning
Ensure NEXTSTEP is respected also without --enable-tuning=true
2024-02-21 16:09:23 +01:00
Atgeirr Flø Rasmussen
283086edeb
Merge pull request #5211 from akva2/flows_simplify_data_structure
Flows: simplify data structure
2024-02-20 13:42:51 +01:00
Atgeirr Flø Rasmussen
f79b5abe8a
Merge pull request #5173 from totto82/relaxed_mb
Add relaxed mb tolerance parameter
2024-02-20 11:30:56 +01:00
Vegard Kippe
b8b9a3810d Ensure NEXTSTEP is respected also withouth --enbale-tuning=true 2024-02-19 19:15:43 +01:00
Arne Morten Kvarving
846da295d6 move ebos/ecltimesteppingparams.hh to opm/simulators/timestepping 2024-02-19 09:28:50 +01:00
Arne Morten Kvarving
e7f32f44e7 remove duplicate EclEnableTuning parameter 2024-02-16 17:53:27 +01:00
Arne Morten Kvarving
7dcc411397 Flows: simplify data structure 2024-02-16 14:51:51 +01:00
Tor Harald Sandve
c73337186e clean-up relaxed tolerances 2024-02-15 09:22:42 +01:00
Tor Harald Sandve
3c8ac1fd74 Use relaxed tolerances if maximum number of iterations are used 2024-02-15 08:27:51 +01:00
Tor Harald Sandve
50670b35c4 Add relaxed mb tolerance parameter 2024-02-15 08:27:51 +01:00
Atgeirr Flø Rasmussen
780f282ed8
Merge pull request #5174 from atgeirr/time-reporting-improvements
Time reporting improvements
2024-02-14 19:36:43 +01:00
Kai Bao
60594a5e1b
Merge pull request #5129 from steink/avoid_reopening_stopped_wells
Avoid re-opening previously stopped wells
2024-02-12 14:44:15 +01:00
Arne Morten Kvarving
d738ad2740 move ebos/ecldummygradientcalculator.hh to opm/simulators/flow 2024-02-12 11:19:23 +01:00
Atgeirr Flø Rasmussen
346e37c218 Removing redundant report output and renaming. 2024-02-12 10:54:50 +01:00
Atgeirr Flø Rasmussen
4a60c3c6c2 Add setup and deck read timing to end-of-run report. 2024-02-09 14:52:34 +01:00
Atgeirr Flø Rasmussen
d78288a401 Minor improvements to timing report.
- Using the term Wasted instead of Failed.
 - Making all indents two spaces.
 - Allowing one more digit for linear solver timing output.
2024-02-09 14:50:21 +01:00
Bård Skaflestad
d69ba021a9
Merge pull request #5168 from lisajulia/feature/removeFilesOnSimulationStartup
Feature/remove files on simulation startup
2024-02-08 17:30:07 +01:00
Lisa Julia Nebel
e4080a3fe4 Add 'prepareResultOutputDirectory' function in Opm namespace that removes possible old simulation output files from the specified output directory.
This function is called during 'setupLogging' before the actual logging starts.
2024-02-08 16:08:50 +01:00
Arne Morten Kvarving
dd290b4a1d RegionAverageCalculator: rename EbosSimulator to Simulator 2024-02-08 14:45:29 +01:00
Arne Morten Kvarving
7706748210 RateConverter: rename EbosSimulator to Simulator 2024-02-08 14:45:02 +01:00
Bård Skaflestad
f569f4bbe9
Merge pull request #5171 from akva2/blackoilmodel_drop_ebos
BlackoilModel: drop ebos in variable names
2024-02-08 13:33:27 +01:00
Arne Morten Kvarving
3b570cdfeb BlackoilModelNldd: rename ebosResid to residual 2024-02-08 11:45:41 +01:00
Arne Morten Kvarving
251efaf38c BlackoilModelNldd: rename ebosProblem to problem 2024-02-08 11:43:46 +01:00
Arne Morten Kvarving
f81d72faef BlackoilModelNldd: rename ebosModel to model 2024-02-08 11:38:47 +01:00
Arne Morten Kvarving
9287374ad8 BlackoilModelNldd: rename ebosNewtonMethod to newtonMethod 2024-02-08 11:31:02 +01:00
Arne Morten Kvarving
16b0b942e9 BlackoilModel: rename ebosProblem to problem 2024-02-08 11:24:49 +01:00