Commit Graph
73 Commits
Author SHA1 Message Date
David Landa Marban 85f24cc4de Biofilm and Calcite set to volume fraction instead of concentration 2025-09-19 13:17:21 +02:00
David Landa Marban d3101a9c80 BIOFILM effects for gas-water systems 2025-09-18 11:15:48 +02:00
Arne Morten Kvarving 83d096b232 fix doxy issues 2025-09-08 11:54:45 +02:00
Kai Bao b3e4c4d0d0 removing BlackoilPhases and PhaseUsage
replacing it with a new PhaseUsageInfo and FluidSystem, both of which
are using the same implementation of PhaseUsageInfo, and only one set of
indices is used. Currently, it is the BlackOilDefaultFluidSystemIndices.
2025-09-02 10:19:36 +02:00
Arne Morten Kvarving 3aa69afc79 fixed: argument order differ in prototype and implementation 2025-08-26 10:08:18 +02:00
David Landa Marban c237ab491f Support for CONV_NEW when CONV in RPTRST 2025-08-21 15:13:16 +02:00
jakobtorben 35e1f59f4e Move NLDD reporting implementation out to separate file 2025-04-03 10:25:34 +02:00
jakobtorben f421d77558 Write NLDD nonlinear iterations to file 2025-03-31 10:58:29 +02:00
jakobtorben 5d0363a4f6 Improve NLDD reporting with per-domain solve statistics 2025-03-31 10:58:29 +02:00
jakobtorben 140efe7e6e Write per rank NLDD summary to DBG instead of only rank 0 NLDD to sim summary 2025-03-31 10:58:29 +02:00
Arne Morten Kvarving 9677f2e215 move output of conv data into RSTConv class
move member from model to output module. this way we don't have
to shuffle data around
2025-02-18 10:12:55 +01:00
Arne Morten Kvarving dcd739fa09 BlackoilModel: add impl file 2025-01-15 11:51:39 +01:00
Arne Morten Kvarving 653cdfc247 BlackoilModel: move to has-a instead of is-a modelling of penalty cards 2025-01-14 06:26:52 +01:00
Arne Morten Kvarving 7590f015bf BlackoilModel: make wasSwitched_ private 2025-01-13 14:20:16 +01:00
Arne Morten Kvarving c909283288 BlackoilModel: move properties to separate header 2025-01-13 11:34:14 +01:00
Lisa Julia Nebel 9f4fdd09fa Throw an error if the status "lastStepFailed" in prepareStep of BlackoilModel is not the same across all processes 2024-11-21 15:01:46 +01:00
Kai Bao 3d04a97ff5 removing invalidateLocalData() in updateSolution() in BlackoilModel 2024-10-21 10:42:39 +02:00
jakobtorben 58a8d5ee41 Map global index to local subdomain index in well operator 2024-10-07 09:13:00 +02:00
jakobtorben b830208573 PR review changes 2024-10-03 18:05:06 +02:00
jakobtorben ff20c1f809 Fix calculation of distance 2024-10-03 08:56:39 +02:00
jakobtorben 6ff83e19ae Write penalty count to infoiter file 2024-10-03 08:56:39 +02:00
jakobtorben 71a64fbd13 Ensure correct propagation of failed report 2024-10-03 08:56:39 +02:00
jakobtorben 6d53daaa42 Store report of failed step before cutting from convergence monitoring 2024-10-03 08:56:39 +02:00
jakobtorben eef0ba50bf Change non-convergence monitor to checking if number of non-converged has increased 2024-10-03 08:56:39 +02:00
jakobtorben cda47a6387 Register convergence monitoring parameters 2024-10-03 08:56:39 +02:00
jakobtorben 5f17c9de6a Cut timestep if penlaty exceeds limit 2024-10-03 08:56:39 +02:00
jakobtorben d476a328de Add distance decay penalty 2024-10-03 08:56:39 +02:00
jakobtorben 3e6f9c52bb Reset the total penalty card after each nonlinear iteration 2024-10-03 08:56:39 +02:00
jakobtorben e1e577fab1 Add penalty for unconverged well 2024-10-03 08:56:39 +02:00
jakobtorben 861cfeec49 Add penalty card for increase in convergence metrics 2024-10-03 08:56:39 +02:00
Vegard Kippe 18a8b5bb90 Add energy balance tolerances + use standard tolerances as defaults for now 2024-09-16 14:39:33 +02:00
Vegard Kippe 33b72a9722 Rebased to current master. TODO: pvSplit with energy 2024-09-16 14:39:33 +02:00
Kai Bao 85513754bc splitting Blackoil related to FlowProblemBlackoil
so FlowProblem can be used for compositional or other setting
2024-09-11 14:58:14 +02:00
Atgeirr Flø Rasmussen 9dd54fb11a Avoid capturing structured bindings.
This is an error before C++20, and clang refuses it.
2024-08-30 13:17:07 +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
Arne Morten Kvarving b902f83fa6 BlackoilModelParameters: introduce translation unit 2024-08-16 17:15:53 +02:00
Arne Morten Kvarving 280704e2e0 move AdaptiveTimeStepping parameters to TypeTag-free parameter system 2024-08-16 13:22:17 +02:00
Arne Morten Kvarving 414f313d2a move FlowProblem parameters to TypeTag-free parameter system 2024-08-16 13:20:06 +02:00
Arne Morten Kvarving fdcc9a0fb2 fixed: EnableDebuggingChecks is a property, not a parameter 2024-08-16 13:20:06 +02:00
Arne Morten Kvarving 94c30a74b8 move NonLinearSolver parameters to TypeTag-free parameter system 2024-08-16 13:20:06 +02:00
Arne Morten Kvarving 3716ee664d move BlackoilModel parameters to TypeTag-free parameter system 2024-08-16 13:20:04 +02:00
Tor Harald Sandve d7331ca3ae use -1 as defult min-strict-iter 2024-08-16 10:16:04 +02:00
Arne Morten Kvarving 18a18a64c7 OutputDir moved to TypeTag-free parameter system 2024-08-12 15:51:19 +02:00
Tor Harald Sandve 0a63fc8e24 Move modification of density to convectiveMixingModule 2024-08-09 10:53:38 +02:00
Trine Mykkeltvedt f10c44279f adressed minor comments by reviewer, added enableConvectiveMixing flag to drsdtcon, fixed indentation and bug in lastRs for gas/water 2024-08-09 10:51:19 +02:00
Arne Morten Kvarving 917fdbedfd changed: FlowProblem parameters moved to Opm::Parameters namespace 2024-08-06 09:50:02 +02:00
Arne Morten Kvarving b3fae7f0f9 changed: OutputDir parameter moved to Opm::Parameters namespace 2024-06-28 14:43:11 +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
Markus Blatt 238b7b2980 [fix] Do not count experiencing nans as error in PRT file.
The simulation will just chop the time step and continue.
Note, that the error count in the PRT file is used by engineers to
decide whether a simulation was successfull. Hence the error count
should not be increased here.
2024-06-20 10:40:37 +02:00
Arne Morten Kvarving 2205c68f0d BlackoilModel: use Scalar type 2024-05-23 08:09:53 +02:00