Commit Graph

13803 Commits

Author SHA1 Message Date
goncalvesmachadoc
c3119bcedb fix 2021-12-08 14:42:22 +01:00
goncalvesmachadoc
7f320102c3 allow for gas-water + brine 2021-12-08 14:35:22 +01:00
Atgeirr Flø Rasmussen
69b81c4fbf
Merge pull request #3724 from totto82/CO2STORETHERMAL
Add gasoil + thermal simulator
2021-12-08 08:33:46 +01:00
Tor Harald Sandve
31954a487b
Merge pull request #3720 from totto82/operSolvEcon
Only check operable wells for wecon
2021-12-07 12:44:24 +01:00
Tor Harald Sandve
4f75d1ab8d Add gasoil + energy simulator
Useful when combining CO2STORE + THERMAL

This PR also fixes an issue with missing phases in computation of output temperature
2021-12-07 09:18:38 +01:00
Kai Bao
148fb4a282
Merge pull request #3712 from totto82/fixAssertInStw
Fix assert in relaxation factor in std well
2021-12-06 11:09:08 +01:00
Tor Harald Sandve
226ff0c9dc
Merge pull request #3721 from joakim-hove/respect-nextstep
Respect NEXTSTEP in ecl genericproblem timestepper
2021-12-06 10:41:07 +01:00
Tor Harald Sandve
7467a63656
Merge pull request #3717 from joakim-hove/enable-tracer
Suggestion: Remove enable switch for tracer support
2021-12-06 09:10:38 +01:00
Tor Harald Sandve
e230174de6 Fix assert in relaxation factor in std well
If original sum ~ 1 and relaxed_update ~ 0 the factor could -> inf
and trigger the assert.
The 1 + epsilon factor will make sure this does not happen
2021-12-03 14:00:40 +00:00
Tor Harald Sandve
4d19ba7409 Only check operable wells for wecon 2021-12-03 11:37:51 +00:00
Joakim Hove
9234fd8aa6 Respect NEXTSTEP in ecl genericproblem timestepper 2021-12-03 11:59:03 +01:00
Joakim Hove
43c0931cd3
Merge pull request #3718 from joakim-hove/tracer-rst-init2
Tracer rst init2
2021-12-02 13:14:19 +01:00
Bård Skaflestad
89dbf807b2
Merge pull request #2584 from goncalvesmachadoc/fixReport
fixReportPRT
2021-12-01 21:39:31 +01:00
Joakim Hove
f737536dd6 Remove unused tracer field with initial concentration 2021-12-01 17:18:17 +01:00
Joakim Hove
c49e5838c5 TracerModel prepare batches is called *after* initial values are set 2021-12-01 17:15:14 +01:00
goncalvesmachadoc
8b001e2e75 moveLogCall&ProtectField 2021-12-01 16:13:53 +01:00
Joakim Hove
8c8b764aa2 Remove enable switch for tracer support 2021-12-01 10:26:41 +01:00
Markus Blatt
44faf036c9
Merge pull request #3716 from totto82/moveGetPerfCellPressureToInterface
Move getPerfCellPressure to wellInterface
2021-11-30 16:35:28 +01:00
Joakim Hove
90f2445557
Merge pull request #3708 from joakim-hove/tracer-rst-init
Tracer rst init
2021-11-30 14:08:46 +01:00
Tor Harald Sandve
2c17b1942c Move getPerfCellPressure to wellInterface
The cell pressure is independent of well model and belongs to the interface
This should move the MSW model one step closer to supporting GasWater cases
2021-11-30 10:48:02 +00:00
Joakim Hove
e9c45f4ca8 Load tracer solution from restart file 2021-11-30 11:23:36 +01:00
Joakim Hove
609bdbb92b Pass bool flag rst to Tracer initialization 2021-11-30 11:23:36 +01:00
Joakim Hove
3522118c60 Use function tracer.fname() for name of restart output vector 2021-11-30 11:23:36 +01:00
Joakim Hove
d93261aad6 Implement tracerModel::name() and ::fname() with EclState 2021-11-30 11:23:36 +01:00
Joakim Hove
e42e412054 Implement numTracers with embedded EclipseState 2021-11-30 11:23:36 +01:00
Joakim Hove
d531dc01f9 Return mutable TracerModel& from EclProblem 2021-11-30 11:23:36 +01:00
Joakim Hove
5aede81b99 Add function to set tracer concentration in a cell 2021-11-30 11:23:36 +01:00
Joakim Hove
e7b6a6558b
Merge pull request #3714 from joakim-hove/restart-rst-testing
Create CASE_RESTART deck on the fly when restart testing
2021-11-30 09:54:50 +01:00
Joakim Hove
6f7042801a Remove references to opm-pack in restart testing 2021-11-30 09:41:08 +01:00
Joakim Hove
b46b83011a Create CASE_RESTART deck on the fly when restart testing 2021-11-27 13:39:31 +01:00
Joakim Hove
3d02e29da1
Merge pull request #3713 from totto82/fixWTEST
Fix in WTEST
2021-11-26 13:18:01 +01:00
Bård Skaflestad
0e7f5c519f
Merge pull request #3711 from totto82/aqunum_co2store
fix co2store + aqunum
2021-11-26 12:19:59 +01:00
Tor Harald Sandve
c4b0a0d9e2 Fix in WTEST
If a well is shut due to physical or economical reason the wellstate status is shut
so we can not check the wellstate we instead check the well from the schedule to
make sure we don't test wells that are shut by the user.
2021-11-26 10:17:45 +00:00
goncalvesmachadoc
52d096c46a fix NaN and Field Output 2021-11-25 19:44:16 +01:00
Tor Harald Sandve
6277d12d16 fix return type for phaseIdx and compIdx 2021-11-25 14:56:27 +00:00
Tor Harald Sandve
2352d94c0e fix co2store + aqunum 2021-11-24 11:13:50 +00:00
Joakim Hove
ad10e419da
Merge pull request #3707 from joakim-hove/tracer-optional
Initialize tracers based on optional values in TracerConfig
2021-11-24 09:42:18 +01:00
Bård Skaflestad
842766d6d6
Merge pull request #3705 from totto82/fixSignPot
guard against negative and trivial potentials
2021-11-23 20:12:53 +01:00
Tor Harald Sandve
50ab26c330 cleanup 2021-11-23 14:01:07 +00:00
Joakim Hove
8869d7f02d
Merge pull request #3704 from joakim-hove/refactor-deck-api
Update deck access api
2021-11-23 14:58:40 +01:00
Joakim Hove
8f31d3150e Initialize tracers based on optional values in TracerConfig 2021-11-23 13:00:50 +01:00
Markus Blatt
6d8223f233
Merge pull request #3602 from blattms/parallel-tracers
[feature] Adds support for computing tracers in parallel runs.
2021-11-23 12:39:48 +01:00
Tor Harald Sandve
43fd50e355 only mark negative potentials as not operable 2021-11-22 11:27:45 +00:00
Tor Harald Sandve
b5cdb1048a Mark wells with negative and trivial potentials as not operable
The simulator will try to compute potentials at every iterations to
try to reopen the well.
2021-11-22 08:44:17 +00:00
Joakim Hove
36281b2aed Update deck access api 2021-11-18 15:11:50 +01:00
Joakim Hove
2903814649
Merge pull request #3702 from joakim-hove/mark-tracer-solution
Flag tracer solution data with data type RESTART_TRACER_SOLUTION
2021-11-18 09:39:31 +01:00
Arne Morten Kvarving
ec7998d584
Merge pull request #3703 from blattms/fix-bda-wellcontrib-incomplete
Fixes compile error incomplete type WellContributions
2021-11-17 20:16:03 +01:00
Markus Blatt
50867bf23c Guard include of WellContributions.cpp 2021-11-17 19:23:46 +01:00
Markus Blatt
d2caf41037 Fix incomplete type ‘Opm::WellContributions’ compiler error (g++-8)
Fixes
```
In file included from opm-simulators/opm/simulators/flow/BlackoilModelEbos.hpp:53,
                 from opm-simulators/opm/simulators/flow/SimulatorFullyImplicitBlackoilEbos.hpp:26,
                 from opm-simulators/flow/flow_ebos_gaswater.cpp:28:
opm-simulators/opm/simulators/linalg/ISTLSolverEbos.hpp: In member function ‘bool Opm::ISTLSolverEbos<TypeTag>::solve(Opm::ISTLSolverEbos<TypeTag>::Vector&)’:
opm-simulators/opm/simulators/linalg/ISTLSolverEbos.hpp:265:56: error: incomplete type ‘Opm::WellContributions’ used in nested name specifier
                 auto wellContribs = WellContributions::create(accelerator_mode, useWellConn_);
                                                        ^~~~~~
```
2021-11-17 17:30:01 +01:00
Markus Blatt
6f40d63f1f [cmake] Add common source files for CUDA/OpenCL/amgcl only once. 2021-11-17 17:30:01 +01:00