Commit Graph
908 Commits
Author SHA1 Message Date
Arne Morten Kvarving 46c5afa490 add mpi serialization for ColumnSchema 2019-12-16 14:39:17 +01:00
Arne Morten Kvarving e08a5c3046 add mpi serialization for Rock2dtrTable 2019-12-16 14:35:17 +01:00
Arne Morten Kvarving 5a1f1a6b36 add mpi serialization for Rock2dTable 2019-12-16 14:32:14 +01:00
Arne Morten Kvarving fb7d4b7cb9 add mpi serialization for NNC and EDITNNC 2019-12-16 14:29:16 +01:00
Tor Harald Sandve 2a732d3c99 add group name to output 2019-12-16 14:28:55 +01:00
Arne Morten Kvarving d9268980f3 add mpi serialization for Opm::ThresholdPressure 2019-12-16 14:28:29 +01:00
Tor Harald Sandve bec8b33f70 check groups from top 2019-12-16 14:15:02 +01:00
T.D. (Tongdong) Qiu 293bd5816f Replaced exit() with OPM_THROW. Replaced primitive pointer with unique_ptr. 2019-12-16 10:05:12 +01:00
Atgeirr Flø Rasmussen f769b97198 Merge pull request #2225 from atgeirr/fix-zero-wconprod
Shut wells under zero WCONPROD when disallowing crossflow
2019-12-13 14:41:52 +01:00
Atgeirr Flø Rasmussen f09dcda21c Shut production well if zero rate and disallowing crossflow. 2019-12-13 11:08:36 +01:00
Atgeirr Flø Rasmussen a89e8f6457 Complain less about missing operability checking.
Do not give a warning for production wells or history wells,
respect the EnableWellOperabilityCheck flag. This is identical
to the behaviour of StandardWell. There will now only be a
warning for producers in prediction mode.
2019-12-13 11:00:01 +01:00
Atgeirr Flø Rasmussen c8e1f61050 Ensure open_for_output_ flag is set to true in init(). 2019-12-13 10:59:24 +01:00
Joakim Hove ec68f4b113 Merge pull request #2219 from stefoss23/alternating_keywords
added alternating keywords.
2019-12-13 09:40:51 +01:00
Kai Bao 61ed33c458 implementing the support for WSEGVALV 2019-12-11 14:43:09 +01:00
Steinar Foss 435f90ecc8 added alternating keywords. 2019-12-11 11:39:16 +01:00
Robert Kloefkorn 8e800f0c93 [bugfix][BlackoilAmg] Fix compilation error when using DUNE 2.7 2019-12-11 11:22:28 +01:00
Atgeirr Flø Rasmussen 63c766cd30 Add override to silence warnings. 2019-12-10 11:37:52 +01:00
Markus Blatt 201887f283 Merge pull request #2195 from akva2/simplify_parallelrestart_new_types
changed: use a macro to declare prototypes in ParallelRestart.hpp
2019-12-10 08:36:41 +01:00
T.D. (Tongdong) Qiu 13e524dba2 Only print warning that cusparseSolver did not converge if it was chosen with --use-gpu=true 2019-12-09 10:02:21 +01:00
T.D. (Tongdong) Qiu b355537e04 Replaced prints with OpmLog. BdaBridge disables GPU and continues with Dune if unsupported blocksize is used 2019-12-06 17:23:32 +01:00
Markus Blatt 712a902c37 Merge pull request #2205 from andrthu/adjacency-change
Remove non-contributing computations in parallel solver by changing matrix sparsity pattern.
2019-12-06 15:15:50 +01:00
Atgeirr Flø Rasmussen 52b9ecbfd5 Merge pull request #2210 from totto82/gconsalesump
Support for Gconsale and Gconsump
2019-12-06 15:01:49 +01:00
T.D. (Tongdong) Qiu 8b92c5dca6 Removed extra copy of nnzs, now sends pointer to start of Dune::BCRSMatrix data to cusparseSolver. 2019-12-06 14:33:52 +01:00
Atgeirr Flø Rasmussen 4bad782a1f Merge pull request #2178 from GitPaean/support_wsegsicd_rebased
Support WSEGSICD implementation
2019-12-06 14:20:40 +01:00
Joakim Hove dc5340046a Call applyActions at the end of every timestep 2019-12-06 13:18:49 +01:00
T.D. (Tongdong) Qiu 48900df882 Fixed 'unused variable' warnings 2019-12-06 11:27:17 +01:00
T.D. (Tongdong) Qiu a4cb582cfb Moved warning prints from cusparseSolver to BdaBridge. Moved solving logic from BdaBridge to cusparseSolver. Added cusparseSolverStatus enum. 2019-12-06 11:05:41 +01:00
Kai Bao 799997d70a fixing a mistake was introduced when rebasing 2019-12-06 10:34:58 +01:00
Kai Bao ab9d175e8d addressing the reviewing comments for PR#2178 2019-12-06 10:15:12 +01:00
Kai Bao 196e997e79 various fixes and improvements 2019-12-06 10:15:11 +01:00
Kai Bao 3d7f0efe07 various fixes.
the most important one is that the formulation is changed in the recent
version
2019-12-06 10:14:20 +01:00
Kai Bao cc77c0e826 importing the old WSEGSICD implementation
with small adjustments to make it compile
2019-12-06 10:14:20 +01:00
Bård Skaflestad c256bfdfa4 Merge pull request #2170 from atgeirr/msw-thp-potential
Compute well potential of multi-segment wells with a THP constraint
2019-12-06 10:02:50 +01:00
Tor Harald Sandve 4d8d9a7a05 Fix vrep 2019-12-06 09:04:50 +01:00
T.D. (Tongdong) Qiu b6e13bffd2 Added headers to PUBLIC_HEADER_FILES. Added warning print when cusparseSolver did not converge. Added more synchronization points in cusparseSolver. Pinning b and x vector as well. 2019-12-05 18:02:27 +01:00
T.D. (Tongdong) Qiu f19a3b09b1 Updated copyright notice 2019-12-05 14:24:37 +01:00
Bård Skaflestad ce1e0691a8 Aquifer Restart: Address Review Comments
Mostly 'throw'ing in the case of unsupported operations.  While
here, also remove an unused header.
2019-12-05 13:41:05 +01:00
Tor Harald Sandve 2c9797ec50 Always update group target reduction 2019-12-05 13:08:17 +01:00
Tor Harald Sandve ad21da87ca fix after rebase 2019-12-05 13:08:17 +01:00
Tor Harald Sandve 26a01794bf A group can both be injection and a production group 2019-12-05 13:08:17 +01:00
Tor Harald Sandve 876f5587e5 Add GCONSALE and fix conversion from UDA 2019-12-05 13:08:17 +01:00
Tor Harald Sandve 5dbf0927d3 Add support for GCONSUMP 2019-12-05 13:08:17 +01:00
Tor Harald Sandve 615e4422b9 BUGFIX REIN 2019-12-05 13:08:17 +01:00
Atgeirr Flø Rasmussen d96e0a2478 Refactor solving functions to take control objects directly.
This allows us to avoid some very hacky manipulation of the Well object.
2019-12-05 12:40:35 +01:00
T.D. (Tongdong) Qiu cf48650a5e BdaBridge lets cusparseSolver copy the resulting x vector from the GPU directly into the BlockVector from ISTLSolverEbos, this only works if the underlying data from BlockVector is contiguous 2019-12-05 10:59:33 +01:00
T.D. (Tongdong) Qiu 5cb6ec510c Allow verbosity of cusparseSolver to be set via command line 2019-12-05 10:07:40 +01:00
Bård Skaflestad 4c4a893781 Aquifer Model: Add Initialization from Restart Data
This commit adds a new member function,

    initFromRestart()

to the EclBaseAquiferModel and the BlackoilAquiferModel.  The former
does nothing, the latter calls AquiferInterface::initFromRestart()
on the contained analytic aquifer objects.
2019-12-05 09:41:21 +01:00
Bård Skaflestad df86d01486 Add Means of Initializing Analytic Aquifers From Restart Data
This commit adds a new member function,

    AquiferInterface::initFromRestart()

that consumes a vector<data::AquiferData> constructed from
information in the restart file's SAAQ and XAAQ vectors.  At the
moment, we use the initial aquifer pressure, the total produced
liquid volume and the current aquifer pressure at restart.

We implement the interface's member function in terms of the virtual
function

    AquiferInterface::assignRestartData()

that must be overridden in derived classes.

Implement a trivial such function for Carter-Tracy aquifers, and a
function that only stores the current aquifer pressure for the
Fetkovich aquifer model.

Additionally, record whether or not the aquifer object was
initialised from a previous solution.  If so, don't reset total
produce liquid volumes or aquifer pressures to their base values
from the model input file.
2019-12-05 09:41:21 +01:00
Bård Skaflestad 92cbdf3c63 Merge pull request #2207 from joakim-hove/wellstate-open-for-output
Refactor WellState SHUT
2019-12-04 18:16:19 +01:00
T.D. (Tongdong) Qiu 69033ca7f2 Changed structure of cusparseSolver to fit into master branch 2019-12-04 16:59:58 +01:00