Vegard Kippe
0485bfb47f
Set correct episode before initial call to invalidateAndUpdateIntensiveQuantities
2024-08-28 15:04:15 +02:00
Vegard Kippe
8f45cbe4c4
Properly initialize mixing controls after restart.
2024-08-28 15:04:15 +02:00
Vegard Kippe
cc08df226e
Update after merging #5527
2024-08-28 15:04:15 +02:00
Bård Skaflestad
9dca8256f3
Split Request Writing Into Stages
...
This commit introduces helper functions for each individual part of
a convergence report record in the INFOITER file. In particular, we
create helpers for
- Time related columns (report step, time step, time &c)
- CNV pore-volume histogram columns
- Reservoir convergence metrics (CNV and MB values per phase)
- Well convergence metrics
This makes the body of the main loop in writeConvergenceRequest()
slightly easier to read and means that we can apply some additional
logic to the CNV pore-volume histograms if the number of values does
not match the expected 3 per type. In that case we output sentinel
values (e.g., NaN and -1) to signify that the corresponding pieces
of information are unavailable.
2024-08-27 10:50:06 +02:00
Bård Skaflestad
68cc5d917e
Output CNV Histogram to INFOITER File
...
This commit tracks the number of cells and their associate fraction
of the model's "eligible" pore volume (total pore volume in
numerical aquifers subtracted from the model's total pore volume) in
three distinct categories as a function of the non-linear iteration
number:
- 0: MAX_p { CNV_p } <= strict CNV tolerance
- 1: MAX_p { CNV_p } \in (strict, relaxed]
- 2: MAX_p { CNV_p } > relaxed CNV tolerance
We then output these cell counts and pore volume fractions as new
items in the INFOITER file to enable more targeted analysis of the
non-linear convergence behaviour.
To this end, introduce a type alias CnvPvSplit in the
ConvergenceReport and aggregate these across the MPI ranks before we
collect them in the ConvergenceReport objects.
While here, also reduce the amount of repeated logic in
gatherConvergenceReport.cpp through a few local lambdas.
2024-08-27 10:50:06 +02:00
Kjetil Olsen Lye
f97389d1b5
Merge pull request #5554 from multitalentloes/refactor_cuistl
...
refactor cuistl to gpuistl
2024-08-26 09:55:13 +02:00
Markus Blatt
7ebb6e7034
Merge pull request #5547 from lisajulia/feature/action-parsing-strictness
...
Add action-parsing-strictness command line parameter
2024-08-26 09:06:25 +02:00
Bård Skaflestad
3dbeed2199
Merge pull request #5550 from akva2/float_support3
...
Float support in simulators: Batch 3
2024-08-23 10:29:14 +02:00
Tobias Meyer Andersen
85a9ad2b61
refactor cuistl folder names
2024-08-22 15:32:21 +02:00
Tor Harald Sandve
66fd1dfcf3
Merge pull request #5527 from totto82/pvtnum_drdsdtcon
...
Support deactivation of individual DRSDT/DRVDT/DRSDTCON regions
2024-08-22 14:30:03 +02:00
Tobias Meyer Andersen
3f4ae4ddf4
refactor cuistl namespace
2024-08-22 13:52:50 +02:00
Atgeirr Flø Rasmussen
9b4c51de7e
Merge pull request #5553 from jakobtorben/add_support_for_changing_local_solver_in_NLDD
...
Make local solver in NLDD a runtime specified ISTLSolver
2024-08-22 09:45:32 +02:00
Tor Harald Sandve
b0bfe9f1c1
Adapt to mixControl moving from genericProblem
2024-08-21 16:03:59 +02:00
jakobtorben
1f285ae0d5
Make local solver in NLDD a runtime specified ISTLSolver
2024-08-21 14:24:23 +02:00
Arne Morten Kvarving
267d282d1d
NonlinearSolver: optionally instantiate for float
2024-08-21 10:12:25 +02:00
Arne Morten Kvarving
d938d821ad
EclGenericWriter: optionally instantiate for float
2024-08-21 10:05:04 +02:00
Arne Morten Kvarving
6a364ea961
GenericOutputBlackoilModule: optionally instantiate for float
2024-08-21 09:56:01 +02:00
Arne Morten Kvarving
aadc5cb69c
GenericOutputBlackoilModule: obtain data using appropriate overload
2024-08-21 09:49:22 +02:00
Arne Morten Kvarving
05d37bfbf6
InitStateEquil: optionally instantiate for float
2024-08-21 09:45:11 +02:00
Arne Morten Kvarving
b16fd2f724
EquilibrationHelpers: optionally instantiate for float
2024-08-21 09:43:25 +02:00
Arne Morten Kvarving
bff3dae230
GenericTracerModel: optionally instantiate for float
2024-08-21 09:41:56 +02:00
Arne Morten Kvarving
d28b751742
BlackoilModelParameters: optionally instantiate for float
2024-08-21 09:23:31 +02:00
Bård Skaflestad
5fd5027ebd
Merge pull request #5549 from akva2/actionhandler_float
...
ActionHandler: instance for float
2024-08-21 09:22:13 +02:00
Tor Harald Sandve
fffa19e757
Only resize drsdt related vectors when needed
2024-08-21 09:17:25 +02:00
Tor Harald Sandve
914f0b8644
Support deactivation of individual DRSDT/DRVDT/DRSDTCON regions
2024-08-21 09:17:25 +02:00
Arne Morten Kvarving
d762f2b29c
ActionHandler: optionally instantiate for float
2024-08-20 12:31:10 +02:00
Kai Bao
5866e9af84
Merge pull request #5535 from GitPaean/relocate_mixing_control
...
relocating mixControls_ form FlowGenericProblem to FlowProblem
2024-08-20 11:50:39 +02:00
Lisa Julia Nebel
d02f84afb7
Add action-parsing-strictness
2024-08-20 10:50:56 +02:00
Atgeirr Flø Rasmussen
1615719993
Merge pull request #5110 from totto82/fixDrift
...
Remove check for active wells for drift compensation
2024-08-20 09:53:25 +02:00
Arne Morten Kvarving
352beaf2ae
FlowUtils: optionally instantiate for float
2024-08-19 13:19:39 +02:00
Arne Morten Kvarving
e0f9fefbc7
FlowProblemParameters: optionally instantiate for float
2024-08-19 13:18:03 +02:00
Arne Morten Kvarving
122aeba4d3
RSTConv: optionally instantiate for float
2024-08-19 13:09:41 +02:00
Arne Morten Kvarving
e0deff8b1e
Transmissibility: optionally instantiate for float
2024-08-19 13:09:41 +02:00
Arne Morten Kvarving
174b73ebd1
GenericThresholdPressure: optionally instantiate for float
2024-08-19 13:09:41 +02:00
Arne Morten Kvarving
c29d60640c
GenericThresholdPressure: convert data to appropriate Scalar
2024-08-19 13:09:41 +02:00
Arne Morten Kvarving
1113746b7d
FlowGenericProblem: optionally instantiate for float
2024-08-19 13:09:41 +02:00
Arne Morten Kvarving
6ad616bd98
FlowGenericProblem: convert data to appropriate Scalar type
2024-08-19 13:09:41 +02:00
Arne Morten Kvarving
ae38896b1c
MixingRateControls: optionally instantiate for float
2024-08-19 13:09:41 +02:00
Arne Morten Kvarving
5a935ccfb5
SolutionContainers: optionally instantiate for float
2024-08-19 13:09:41 +02:00
Arne Morten Kvarving
58a930507a
LogOutputHelper: optionally instantiate for float
2024-08-19 13:09:41 +02:00
Arne Morten Kvarving
e267c377e6
GenericCpGridVanguard: optionally instantiate for float
2024-08-19 13:09:41 +02:00
Tor Harald Sandve
8fe55dba4e
Remove check for active wells for drift compensation
2024-08-19 12:37:22 +02:00
Arne Morten Kvarving
5cf468e48a
fixed: do not try to hide parameters that are not registered without MPI
2024-08-19 09:14:10 +02:00
Kai Bao
6f2073908c
relocating mixControls_ form FlowGenericProblem to FlowProblem
...
so FlowGenericProblem can be used for non-blackoil setting
2024-08-17 00:41:28 +02:00
Arne Morten Kvarving
d15cdea9ec
FlowProblem: move parameter registration to FlowProblemParameters.cpp
2024-08-16 17:15:53 +02:00
Arne Morten Kvarving
19c77bdaa1
FlowBaseVanguard: move parameter registration to FlowGenericVanguard
2024-08-16 17:15:53 +02:00
Arne Morten Kvarving
9a9d4e0974
FlowMain: move hiding of parameters to utility function in FlowUtils
2024-08-16 17:15:53 +02:00
Arne Morten Kvarving
b902f83fa6
BlackoilModelParameters: introduce translation unit
2024-08-16 17:15:53 +02:00
Arne Morten Kvarving
a0ec0fca72
NonlinearSolver: move parameter registration to translation unit
2024-08-16 16:59:51 +02:00
Arne Morten Kvarving
f6cc23aa4e
DamarisParameters: introduce translation unit
2024-08-16 16:59:51 +02:00