Commit Graph

16781 Commits

Author SHA1 Message Date
David Landa Marban
bc03821d57 Support for mechanical dispersion 2023-11-16 16:55:01 +01:00
Arne Morten Kvarving
960663e7b8
Merge pull request #4849 from akva2/vendor_pybind11_fetchcontent
changed: vendor pybind11 using FetchContent
2023-11-16 11:55:15 +01:00
Arne Morten Kvarving
9c38f01997 changed: vendor pybind11 using FetchContent 2023-11-16 10:02:04 +01:00
Arne Morten Kvarving
f7067897b3
Merge pull request #4982 from akva2/implement_rptsol_rptsched
Implement support for RPTSOL and RPTSCHED configuration of FIP output
2023-11-16 09:29:47 +01:00
Arne Morten Kvarving
db85303a3e added: write out RPTSOL configured FIPs to PRT file on simulation start
add a method in EclWriter to enable this.
this is called the first time a call is made to WriteOutput,
as that happens after initial conditions have been applied which
is required to get the proper output.

this also fixes a long-standing issue where the initial FIP state was
taken after the first time step.
2023-11-16 08:28:57 +01:00
Arne Morten Kvarving
1e41df3bca added: pass reportStep to FIP output functions
use this to decide whether or not to use the RPTSOL configuration
(reportStep == 0) or to read flags from RPTSCHED (reportStep > 0)
2023-11-16 08:12:55 +01:00
Kai Bao
e355990ac2
Merge pull request #4999 from vkip/always_open_historic_wells
Always check if wells on historic controls can be opened
2023-11-15 20:29:21 +01:00
Vegard Kippe
e0d1ff9c66 Always check if wells on historic controls can be opened 2023-11-15 19:04:48 +01:00
Atgeirr Flø Rasmussen
6fa81d54a1
Merge pull request #4864 from bska/parallel-nldd-partitioning-zoltan
Make Zoltan-Based NLDD Domain Partitioning MPI Aware
2023-11-15 15:34:36 +01:00
Bård Skaflestad
ed77c90238 Make Zoltan-Based Domain Partitioning MPI Aware
This commit switches the current implementation of
'partitionCellsZoltan()', i.e., 'partitionCells("zoltan", ...)' into
using the MPI-aware ParallelNLDDPartitioningZoltan utility.  In
doing so we make 'partitionCellsZoltan()' private since its
availability is not guaranteed.  We also slightly reorder the
parameters and switch from passing a "Grid" into passing a
"GridView" as an argument to partitionCells(), and specialise this
function for the known grid views in OPM Flow.

We extract the Zoltan-related parameters out to an Entity-dependent
helper structure and move the complexity of forming this type to a
new helper function, BlackoilModelEbosNldd::partitionCells().
2023-11-15 13:31:41 +01:00
Bård Skaflestad
27aaa28c71 Add Partitioner for Unstructured Connectivity Graph
Invokes Zoltan library and requires MPI.  Client code constructs an
abstract connectivity graph by defining connections/edges through
the 'registerConnection()' member function.  May also impose a
restriction that certain cells/vertices be placed in the same
domain/block in the resulting partition.  Client code must supply a
callback function that defines globally unique cell/vertex/object
IDs, across all MPI ranks, for each vertex in the connectivity
graph.

Member function 'partitionElement()' forms the resulting partition
vector, the size of which is the total number of objects visible to
the local rank-typically the number of cells owned by the rank, and
the number of overlap cells--i.e., the size of the local grid view.
2023-11-15 13:31:41 +01:00
Bård Skaflestad
f195f73949 Extract Binary_Search Out to Helper
Mostly for readability.
2023-11-15 13:31:41 +01:00
Bård Skaflestad
0b2c396a01
Merge pull request #4961 from vkip/network_restart_use_node_pressures
Use network pressures from restart
2023-11-15 09:46:35 +01:00
Markus Blatt
ae97b00d53
Merge pull request #4987 from blattms/update-man-page
Update manpage for release
2023-11-14 10:01:30 +01:00
Markus Blatt
a70df8cf0a
Merge pull request #4995 from aritorto/removeSmallNonCart
Lgrs neighbors considered in removeSmallNonCart
2023-11-14 10:00:34 +01:00
Markus Blatt
f3b9a146a9
Merge pull request #4994 from aritorto/connectOnce
Check connect only once, with elemIdx instead of cart
2023-11-14 09:59:33 +01:00
Antonella Ritorto
33f8d3e7bc Lgrs neighbors considered in removeSmallNonCart 2023-11-13 15:55:36 +01:00
Tor Harald Sandve
e33d27ca90
Merge pull request #4973 from daavid00/enabledisgaswatvap
Enabling disGas and watVap at compile time for gasWaterBrine systems
2023-11-13 15:01:38 +01:00
Kai Bao
bbdad520d6
Merge pull request #4915 from vkip/network_multi_root
Support computation of network pressures in networks with multiple roots
2023-11-13 14:39:07 +01:00
Antonella Ritorto
555dd87f1d Check connect only once, with elemIdx instead of cart 2023-11-13 14:26:04 +01:00
Atgeirr Flø Rasmussen
cd5ba003d8
Merge pull request #4905 from vkip/allow_nowellmatch_with_lowstrictness
If parsing strictness is set to 'low', proceed (with warning) if no matching wells found
2023-11-13 10:56:54 +01:00
Markus Blatt
f1d75297d3
Merge pull request #4990 from akva2/janitoring
Avoid some dead stores
2023-11-12 21:49:00 +01:00
Atgeirr Flø Rasmussen
66f34eb234
Merge pull request #4979 from blattms/complete-log-problem-cont
log problem if asked to continue with nonconverged nonlinear solver.
2023-11-12 19:01:24 +01:00
Markus Blatt
e39a60d676
Merge pull request #4983 from aritorto/eclTransLookUp
Lookup NTG on Leaf Grid View
2023-11-12 09:59:46 +01:00
Bård Skaflestad
fe67e9f9d3
Merge pull request #4978 from akva2/loghelper_refactor_fip_output
changed: refactor LogOutputHelper::fip
2023-11-10 14:49:09 +01:00
Arne Morten Kvarving
ddd0c5629d GasLiftSingleWellGeneric: avoid dead store
all branches below write a new value
2023-11-10 14:32:30 +01:00
Arne Morten Kvarving
9a8e58d7c3 changed: use prefix for increments
avoids dead store in the final block while still maintaining
easy cut-n-paste additions
2023-11-10 14:30:13 +01:00
Vegard Kippe
194bf9d6af Set SCHEDULE_INVALID_NAME to warning with --parsing-strictness=low 2023-11-10 11:48:18 +01:00
Antonella Ritorto
0f0eb55d59 Removed wrong lookup in coarse grid 2023-11-10 09:35:34 +01:00
Vegard Kippe
4ce9c41a37 Replacing loop by assignment 2023-11-10 09:01:09 +01:00
Bård Skaflestad
16c8184e3f
Merge pull request #4914 from vkip/extra_network_output
Allow output of network pressures based on rates at end of time step
2023-11-09 23:19:48 +01:00
Antonella Ritorto
1f4583f674 Improved ntg lookup 2023-11-09 17:36:31 +01:00
Antonella Ritorto
9ae887681e Lookup NTG on Leaf Grid View 2023-11-09 16:59:30 +01:00
Bård Skaflestad
5d1559a9e7
Merge pull request #4981 from totto82/addLETtest
Add test case for LET based relative permeability
2023-11-09 16:16:33 +01:00
Markus Blatt
386d3723ab Update manpage for release 2023-11-09 15:34:20 +01:00
Arne Morten Kvarving
8982c67e79
Merge pull request #4980 from akva2/fipconfig_serialize
add extra instantation for bitset
2023-11-09 14:42:39 +01:00
Arne Morten Kvarving
44ce054492 changed: refactor LogOutputHelper::fip
only do one output per call. allow passing the name of the
regions to process
2023-11-09 13:08:17 +01:00
Bård Skaflestad
ea9bc39657
Merge pull request #4975 from atgeirr/add-extra-well-convergence-output
Add extra output to INFOITER file detailing unconverged wells.
2023-11-09 11:03:54 +01:00
Arne Morten Kvarving
9b8c6de98e add extra instantation for bitset 2023-11-09 11:02:52 +01:00
Tor Harald Sandve
d7302c79f7 Add test case for LET 2023-11-09 10:15:58 +01:00
Bård Skaflestad
7832c1ba54
Merge pull request #4976 from totto82/fix_rsw
Fix rsw computation of wellbore density for StW
2023-11-09 09:37:16 +01:00
Atgeirr Flø Rasmussen
4633578792 Add extra output to INFOITER file detailing unconverged wells. 2023-11-09 09:23:39 +01:00
Kai Bao
25b007c46e
Merge pull request #4945 from vkip/network_reroute
Network reroute - avoid looking up nonexisting nodes
2023-11-08 19:59:40 +01:00
Markus Blatt
0cc839314e log problem if asked to continue with nonconverged nonlinear solver.
The user has explicitly asked for this behavior using
--solver-continue-on-convergence-failure=true in this rare case.
2023-11-08 17:16:21 +01:00
Markus Blatt
5531c63df6
Merge pull request #4977 from atgeirr/use-problem-not-error
Add and use OPM_DEFLOG_PROBLEM macro.
2023-11-08 16:40:23 +01:00
Atgeirr Flø Rasmussen
749ea93e24 Add and use OPM_DEFLOG_PROBLEM macro.
This should replace OPM_DEFLOG_THROW in places where the problem
category is more appropriate than the error category.

In this commit, uses of OPM_DEFLOG_THROW have been replaced whenever
the exception class used was NumericalProblem.
2023-11-08 15:16:17 +01:00
Bård Skaflestad
895074eb3b
Merge pull request #4749 from bska/trigger-actionx-in-middle-of-report-step
Update Well Topology if Triggered From ACTIONX
2023-11-07 19:55:40 +01:00
David Landa Marban
92de5355b2 Enabling disGas and watVap at compile time for gasWaterBrine 2023-11-07 18:35:30 +01:00
Bård Skaflestad
a2fa381877 Run ACTIONX_M1 With Shorter Time Steps
Needed for increased determinism in sensitive test (WBHP trigger).
2023-11-07 17:02:18 +01:00
Bård Skaflestad
abfb5c9d82 Update Well Topology if Triggered From ACTIONX
This commit adds a new flag data member,

    wellStructureChangedDynamically_

to the generic black-oil well model.  This flag captures the

    well_structure_changed

value from the 'SimulatorUpdate' structure in the updateEclWells()
member function.  Then, in BlackoilWellModel::beginTimeStep(), we
key a well structure update off this flag when set.  This, in turn,
enables creating or opening wells as a result of an ACTIONX block
updating the structure in the middle of a report step.
2023-11-07 17:02:18 +01:00