Commit Graph
100 Commits
Author SHA1 Message Date
Tor Harald Sandve b0bfe9f1c1 Adapt to mixControl moving from genericProblem 2024-08-21 16:03:59 +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
Tor Harald Sandve e584e05435 Fix shut wells case for output of gas mass injected rates 2024-08-21 08:50:57 +02:00
Tor Harald Sandve 8fe55dba4e Remove check for active wells for drift compensation 2024-08-19 12:37:22 +02:00
Tor Harald Sandve 8e490e9b3f relax python tests slightly 2024-08-16 10:18:50 +02:00
Tor Harald Sandve 0371cd5342 Change defaults
Use implicit IPR as default
Allow for switching of control during local well solves as default
2024-08-16 10:16:04 +02:00
Tor Harald Sandve d7331ca3ae use -1 as defult min-strict-iter 2024-08-16 10:16:04 +02:00
Tor Harald Sandve 0e01d99741 use cprw as default linear solver 2024-08-16 10:16:04 +02:00
Tor Harald Sandve 36a58445b4 use 10-7 as default mass balance tolerance 2024-08-16 10:16:04 +02:00
Tor Harald Sandve 42500f41bb rename GMIM to GMTR 2024-08-14 09:48:25 +02:00
Tor Harald Sandve 25b56c39aa Pass gas mass rate to summary 2024-08-14 09:01:10 +02:00
Tor Harald Sandve 0a63fc8e24 Move modification of density to convectiveMixingModule 2024-08-09 10:53:38 +02:00
Tor Harald Sandve f678c082de Adapt to inj prefix and cleanup 2024-08-01 11:23:00 +02:00
Tor Harald Sandve 5f8916c0c3 Use cell temperature in perforated cell to compute reservoir rates 2024-08-01 11:14:29 +02:00
Tor Harald Sandve 230656ec31 updateInitialHystParams 2024-06-25 12:55:02 +02:00
Tor Harald Sandve 4f2311d1b2 Output maximum/minimum saturations directly for restart hysteresis 2024-06-18 10:39:19 +02:00
Tor Harald Sandve 366f3a2944 fix option for output every timestep 2024-06-14 15:03:43 +02:00
Tor Harald Sandve 42702e1d50 Fix mpi for MULTIPLY TRANX in EDIT 2024-06-06 12:59:41 +02:00
Tor Harald Sandve 8b5fced909 avoid mass creation with drsdt 2024-06-04 15:10:11 +02:00
Tor Harald Sandve c0c301043c Reset gpmain state when rate is zero 2024-05-14 13:14:51 +02:00
Tor Harald Sandve b42a8cbcc3 Add output of GMST/GMUS
Rename GMTR to GMMO as ending with TR are used for tracers
[FR]GMTR output maximum trapped CO2 in the gas phase
2024-05-13 11:24:08 +02:00
Tor Harald Sandve c6c447dc94 initialize the input temperature in restart run without temperature in the restart file 2024-05-06 10:21:42 +02:00
Tor Harald Sandve bac49c200e Redistribute gaslift for groups with alq limit 2024-04-24 09:44:09 +02:00
Tor Harald Sandve af2e08d5aa Also fix gas-oil initialization with transision zone 2024-04-19 10:12:14 +02:00
Tor Harald Sandve 575bc813dd Fix gas-water initialization with transision zone 2024-04-19 08:39:24 +02:00
Tor Harald Sandve e163f906ee Allow Hysteresis option 4 2024-04-03 15:16:48 +02:00
Tor Harald Sandve 2210b523e4 Close worst-offending well based on ratio between violated and preferred phase 2024-04-03 09:16:39 +02:00
Tor Harald Sandve 920ad68782 Implement WELL as group limit action
And remove G as unsupported option in WTEST
2024-04-03 08:51:09 +02:00
Tor Harald Sandve c73337186e clean-up relaxed tolerances 2024-02-15 09:22:42 +01:00
Tor Harald Sandve c546d7fc30 set relaxed tolerance for polymer case to avoid failure 2024-02-15 08:27:51 +01:00
Tor Harald Sandve 3c8ac1fd74 Use relaxed tolerances if maximum number of iterations are used 2024-02-15 08:27:51 +01:00
Tor Harald Sandve 50670b35c4 Add relaxed mb tolerance parameter 2024-02-15 08:27:51 +01:00
Tor Harald Sandve 2ed3f924f2 Ignore Coordsys and print a warning 2024-02-06 09:29:10 +01:00
Tor Harald Sandve 427765613c init diffusion module 2024-02-01 09:25:11 +01:00
Tor Harald Sandve 2fce942a5c refactor updateCO2InWater 2024-01-26 09:33:26 +01:00
Tor Harald Sandve 343f1201eb make test independent on inplace.size() 2024-01-26 09:15:43 +01:00
Tor Harald Sandve de05c84b1d Add co2 mass in place summary vectors 2024-01-26 09:15:43 +01:00
Tor Harald Sandve 222358c49e Add support for temperature in Source 2024-01-19 08:26:26 +01:00
Tor Harald Sandve 5c1bbd304b Compute entalpy for thermal boundary 2024-01-18 16:04:32 +01:00
Tor Harald Sandve d72ea5fcb0 add option for explicit pressure for rock compaction (only transmissibility) 2024-01-11 16:09:08 +01:00
Tor Harald Sandve 51532231b3 warn against no dispersion in gas phase 2024-01-11 15:27:40 +01:00
Tor Harald Sandve 739337a63a rename minimum oil pressure to ref pressure 2024-01-11 10:24:25 +01:00
Tor Harald Sandve b670c48699 Use gas pressure for gas-water cases in rockcomp 2024-01-11 10:06:07 +01:00
Tor Harald Sandve d044928f34 use arithmetic averaged compaction transmissibility multipliers 2024-01-11 09:55:04 +01:00
Tor Harald Sandve 20fb8fa699 Fix minimum newton iteration
We also change the default to 2 to keep the same results
2024-01-11 09:17:50 +01:00
Tor Harald Sandve 16a80fc293 add source to parallel serialization 2023-12-22 10:59:09 +01:00
Tor Harald Sandve 84902e1aed rename sourceprop to source 2023-12-22 09:50:52 +01:00
Tor Harald Sandve a57d04fde5 support source term from deck (SOURCE) 2023-12-22 09:50:52 +01:00
Tor Harald Sandve f508f3d4e8 add output of dissolved solvent rswsol 2023-12-21 10:48:58 +01:00
Tor Harald Sandve 87361b8f8d Throw in output if OwnerCellsFirst = False 2023-12-20 15:36:36 +01:00
Tor Harald Sandve 6eeb5b4187 Only output interior cells 2023-12-20 13:00:46 +01:00
Tor Harald Sandve 8c66465c71 BUGFIX. Use given temperature in the density calculations in the initialization 2023-12-13 09:45:38 +01:00
Tor Harald Sandve d687ad8803 Apply MULT[XYZ] to boundary trans 2023-12-08 12:51:20 +01:00
Tor Harald Sandve 01d138fbe3 Add output of FLOWS- and FLORES- 2023-12-06 08:41:35 +01:00
Tor Harald Sandve 0a4cfab875 Add GPMAINT-11 to regression test 2023-11-28 08:08:58 +01:00
Tor Harald Sandve f7323bd679 fix sign of gpmaint prod 2023-11-27 15:10:11 +01:00
Tor Harald Sandve e1aa233026 Adapt wdfac to wpimult 2023-11-23 15:22:51 +01:00
Tor Harald Sandve be06132702 remove trans multiplier from dake 2023-11-22 13:59:06 +01:00
Tor Harald Sandve 4879896789 adapt to refactoring of getDFactor 2023-11-22 09:17:28 +01:00
Tor Harald Sandve ecd9930225 dont scale d factor from wdfaccor 2023-11-21 17:51:36 +01:00
Tor Harald Sandve ee77d30fe5 Add output of connection dissolved gas and vapporized oil 2023-11-21 14:29:40 +01:00
Tor Harald Sandve 82cb3c3b53 Fix connection and well dfactor
The well dfactor is scaled by the well index

If postive the connection dfactor is threated as a well factor
and also scaled. If negative the connection dfactor is not scaled
2023-11-16 14:50:59 +01:00
Tor Harald Sandve 0f12977b17 only use d factor for gas wells 2023-11-14 12:45:25 +01:00
Tor Harald Sandve 37197f7b48 fix issue when bcpip is not set initially 2023-11-14 08:44:32 +01:00
Tor Harald Sandve d7302c79f7 Add test case for LET 2023-11-09 10:15:58 +01:00
Tor Harald Sandve 26247a2aba Fix rsw computation of wellbore density for StW 2023-11-07 15:53:51 +01:00
Tor Harald Sandve aa96e8fd6c Remove warning for unsupported D factor in COMPDAT 2023-11-06 09:10:34 +01:00
Tor Harald Sandve 9779b95a43 Use new linearizer for gaswater with thermal and diffusion 2023-10-30 15:15:13 +01:00
Tor Harald Sandve a40ede9957 Compute reservoir injection rates from well temperature and pressure for thermal cases 2023-10-26 15:57:41 +02:00
Tor Harald Sandve 81549a0477 Add output of the residual at the end of a report step
To activte the output you will need to use
--enable-opm-rst-file=true
and
RPTRST
 RESIDUAL /
2023-10-24 13:52:14 +02:00
Tor Harald Sandve 90e791877c Implement Forchheimer term in wellIndex
Add output of CDFAC

Add effect of compaction on CTFAC
2023-10-23 08:55:21 +02:00
Tor Harald Sandve 79e0b7256a initialize all injectors with a rate to avoid singularities 2023-09-07 12:03:04 +02:00
Tor Harald Sandve 8796fa1ccc use gas pressure for gas-water system in the well model 2023-09-06 13:46:18 +02:00
Tor Harald Sandve e31b2f3492 don't use relaxation factor fraction in combination with solvent 2023-09-06 13:24:31 +02:00
Tor Harald Sandve c239427233 add solvent contribution to the gas potential 2023-09-06 13:23:55 +02:00
Tor Harald Sandve 8083765a65 Include production/injection update as timestepping event 2023-08-08 12:19:36 +02:00
Tor Harald Sandve 74e951303e add support for changing boundary conditions 2023-06-28 15:08:23 +02:00
Tor Harald Sandve a60d23ed39 Add CO2STORE_GW and CO2STORE_GASWAT to regression tests 2023-06-28 12:56:03 +02:00
Tor Harald Sandve c72ae2c76c Fix out of range rs/rv/rvw 2023-06-27 12:41:35 +02:00
Tor Harald Sandve 40bd07a3b5 Add guard against invalid satnum, pvtnum, imbnum, eqlnum 2023-06-26 13:11:19 +02:00
Tor Harald Sandve bf5413d853 Use sqrt of numerical_limit epsilon instead of zero to check for non zero saturations
The reason is to make it more robust in terms of numerical noise.
2023-06-26 13:04:49 +02:00
Tor Harald Sandve e1a1c78537 Add regression test wag hysteresis 2023-06-15 12:27:28 +02:00
Tor Harald Sandve 0702b7d3e5 stop using saturated b-factors for case with zero rates 2023-06-06 09:51:19 +02:00
Tor Harald Sandve 4dcc655f4d Fix rvw and rv initialization 2023-06-02 15:27:03 +02:00
Tor Harald Sandve 77d6a99376 add SPE1CASE2_GASWATER_SOLVENT as test case 2023-05-30 09:44:08 +02:00
Tor Harald Sandve 7cf3f69cf9 Add gaswater solvent
Fix some places that assumed 3p + solvent
2023-05-26 16:24:38 +02:00
Tor Harald Sandve 45d0679a19 remove duplicated code 2023-05-26 11:30:50 +02:00
Tor Harald Sandve 8c9220c8e9 add solvent+foam test 2023-05-24 16:03:09 +02:00
Tor Harald Sandve 1592ef8bd2 solvent + foam simulator 2023-05-24 16:03:09 +02:00
Tor Harald Sandve 86edaeae77 dont store history of inactive gpmaint rates 2023-05-23 11:02:22 +02:00
Tor Harald Sandve 6b9b0e3f0f enable disgasw and vapwat for thermal model 2023-05-22 15:33:58 +02:00
Tor Harald Sandve ee39117771 Add energy + precsalt simulator 2023-05-12 10:49:17 +02:00
Tor Harald Sandve 23e9bf599d Fixes related to rsw/rvw handling in standard well 2023-05-12 09:44:11 +02:00
Tor Harald Sandve cd403e1ea0 initialize trivial rvw if no table is given 2023-05-11 12:50:24 +02:00
Tor Harald Sandve c62e6ab5cd output temperature if TEMP is set in RPTRST or THERMAL is set in RUNSPEC 2023-05-11 11:56:02 +02:00
Tor Harald Sandve 3dad2c909b take into account trapped saturation from hysteresis 2023-05-10 14:05:00 +02:00
Tor Harald Sandve b78498af03 Add disgasw to gas water saltprec vapwat simulator 2023-05-03 15:13:15 +02:00
Tor Harald Sandve 2a20ad8283 pick currect version of flow for gas-water-vapwat case 2023-04-17 15:25:59 +02:00
Tor Harald Sandve dbe8c3d294 Support WGRUPCON item 2 = no 2023-03-31 11:47:33 +02:00