Commit Graph
12553 Commits
Author SHA1 Message Date
Joakim Hove b71a273ada Commit wellstate after appplyActions 2021-03-29 16:20:10 +02:00
Joakim Hove 98f6a9a7ac Update collection of wells after ACTIONX 2021-03-29 16:20:10 +02:00
Joakim Hove 5fe43c09cb Implement updateEclWell() as an internal function in wellPI code 2021-03-29 16:20:10 +02:00
Joakim Hove 90a9ed49a2 Add function WellState::updateStatus() 2021-03-29 16:20:10 +02:00
Joakim Hove 43925ae4f2 Explicily assign CMODE_UNDEFINED when controls vector is resized 2021-03-29 16:20:10 +02:00
Joakim Hove b590b990d1 Merge pull request #3140 from joakim-hove/wellstate-functions
Access well state variables through accessor functions
2021-03-29 16:18:49 +02:00
Joakim Hove 405b9d2244 Add accessor functions to maintain WellState objects in well model 2021-03-29 15:30:32 +02:00
Bård Skaflestad ee20d1c1c1 Merge pull request #3138 from totto82/debugThermal
Fix thermal conductivity
2021-03-27 13:59:59 +01:00
Joakim Hove 3601657341 Merge pull request #3136 from joakim-hove/rst-config
Remove references to RestartConfig
2021-03-27 11:39:51 +01:00
Tor Harald Sandve ef325dd08d Store both inside and outside thermal half transmissibility 2021-03-26 15:29:05 +01:00
Tor Harald Sandve 838b230b64 Align the thermal transmissibility computations with the diffusion computations. 2021-03-26 15:28:17 +01:00
Joakim Hove 3d226abd24 Remove references to RestartConfig 2021-03-26 08:03:07 +01:00
Bård Skaflestad 498efe11a7 Merge pull request #3133 from GitPaean/fixing_segmentation_fault_drsdt
only when both oil and gas exist, we handle drsdt and drvdt
2021-03-25 12:03:28 +01:00
Kai Bao 6072cb20a2 only when both oil and gas exist, we handle drsdt and drvdt 2021-03-25 08:36:25 +01:00
Joakim Hove d4a715aba5 Merge pull request #3125 from bska/aquct-dimless-time-and-press-smry
Report Dimensionless Time and Pressure for CT Aquifers
2021-03-25 07:17:43 +01:00
Bård Skaflestad 7503cfd76a Address PR Review Comments 2021-03-24 23:13:50 +01:00
Bård Skaflestad 578fa4b6c3 Report Dimensionless Time and Pressure for CT Aquifers
This commit adds support for calculating and reporting the
dimensionless time (simulator time divided by aquifer's time
constant) and pressure (influence function evaluated at
dimensionless time) values as part of the Carter-Tracy aquifer's
'aquiferData()' reporting function.

These values are useful in their own right, e.g., for summary output
through the keywords AAQTD and AAQPD, but they are also needed for
ECLIPSE restart purposes.
2021-03-24 23:13:50 +01:00
Bård Skaflestad fa534f77e8 Merge pull request #3124 from GitPaean/interface_numercial_aquifer
updating the interface of function processEclipseFormat
2021-03-24 19:19:11 +01:00
Bård Skaflestad c23ce16879 Merge pull request #3120 from totto82/refactorBAVG
only compute Bavg once pr timestep
2021-03-24 11:34:13 +01:00
Markus Blatt b4fac6a030 Merge pull request #3114 from blattms/support-system-pybind
Support system pybind11
2021-03-24 10:09:45 +01:00
Bård Skaflestad f980ff5f77 Merge pull request #3128 from totto82/fixTarget
reset target from wconprod and wconinje
2021-03-23 23:59:27 +01:00
Bård Skaflestad 9d72ee157c Merge pull request #3130 from totto82/addCO2testCases
add more co2 tests to ctest
2021-03-23 20:55:41 +01:00
Kai Bao 6061b5f5b0 updating the interface of function processEclipseFormat 2021-03-23 20:27:10 +01:00
Bård Skaflestad 41fd301d16 Merge pull request #3131 from fgfuchs/global_time_fix
fix bug that sets global_time to 0
2021-03-23 15:51:47 +01:00
Tor Harald Sandve 8283b53f3b only compute Bavg once pr timestep and use the stored variable instead of passing it around 2021-03-23 15:30:36 +01:00
Bård Skaflestad 537a59a65d Merge pull request #3129 from totto82/removeDiffusionSpecializatoins
remove unnecessary diffusion specializations
2021-03-23 13:29:21 +01:00
Franz Georg Fuchs b86d5e2ad0 fix bug that sets global_time to 0 2021-03-23 12:19:07 +01:00
Tor Harald Sandve a204cc4b3c add more co2 tests to ctest 2021-03-23 10:54:54 +01:00
Tor Harald Sandve 4cccd7302d remove unnecessary diffusion specializations 2021-03-23 09:48:43 +01:00
Tor Harald Sandve 3a65a7ba22 reset target from wconprod and wconinje 2021-03-23 09:23:35 +01:00
Tor Harald Sandve 8882b8027a Merge pull request #3115 from totto82/onlyComputeGuideRateOnce
only compute guiderates at the beginning of a timestep
2021-03-23 08:43:47 +01:00
Tor Harald Sandve 124b98504b Merge pull request #3045 from bska/joakim-hove-well-open-in-report-step
Don't Initialize Well State for Shut Wells
2021-03-22 12:34:54 +01:00
Joakim Hove 44eb07e621 Don't Initialize Well State for Shut Wells 2021-03-20 20:33:28 +01:00
Joakim Hove 4fd5d52f2f Retrieve Number of Connections from Well Map 2021-03-20 20:33:28 +01:00
Joakim Hove f0c738ea34 Reflect Well Object's Status Flag in Well State 2021-03-20 20:33:28 +01:00
Joakim Hove e2d75b608b Rename well filter -> not_on_process_() 2021-03-20 20:33:28 +01:00
Joakim Hove 9662d4019e Use enum Well::Status to indicate well status instead of bool 2021-03-20 20:33:28 +01:00
Bård Skaflestad 0468b2eee6 Merge pull request #2972 from goncalvesmachadoc/spider
Add cases to regression tests
2021-03-20 01:14:13 +01:00
Bård Skaflestad 120afea99a Merge pull request #3079 from totto82/testDiff
FOR TESTING. Enable Diffusion by default
2021-03-19 23:49:19 +01:00
Markus Blatt 755c23bfb5 Support using pybind from the system.
This should make packaging easier and more streamlined
to the process on some Linux systems.
2021-03-19 19:56:53 +01:00
Bård Skaflestad f82386c2d5 Merge pull request #3122 from joakim-hove/throw-std-logic-error
Deferred logger will throw "correct" exception
2021-03-19 17:26:42 +01:00
Joakim Hove 634f0d61d8 Deferred logger will throw "correct" exception 2021-03-19 14:05:55 +01:00
Bård Skaflestad 984ea28d6f Merge pull request #3121 from bska/prune-unused-object
Push 'corners' Object into Assert
2021-03-19 12:23:05 +01:00
Tor Harald Sandve 78d351676f only update guide rates at the beginning of a timestep 2021-03-19 11:09:14 +01:00
Bård Skaflestad c220d7f127 Push 'corners' Object into Assert
That way we don't get "unused variable" warnings when someone
defines NDEBUG.  While here, also switch to using Geometry
references where appropriate to avoid needlessly copying Geometry
objects.
2021-03-19 09:42:27 +01:00
Bård Skaflestad 2b34dc843c Merge pull request #3119 from totto82/mintimestep
Change minimum timestep size to 1e-12
2021-03-19 09:39:35 +01:00
Tor Harald Sandve 16f7bb4be1 Merge pull request #3093 from bska/record-dynamic-wellstatus
Record dynamic wellstatus
2021-03-19 09:07:44 +01:00
Bård Skaflestad b982ad0fd2 Record Dynamic Well Status in 'wellData()' Output
This commit sets the 'data::Well::dynamicStatus' based on the
dynamically updated 'Schedule' object (i.e., from ACTIONX and
similar) and the results of well/operability testing (WECON and/or
WTEST).  If a well is closed due to economic limits (WECON) we still
provide summary-style data at the timestep that closed the well, but
omit this data at later steps until the well reopens.

We add a new parameter to WellState::report() to distinguish these
situations.

This is in preparation of making the 'BlackoilWellModel' manage both
open and shut wells alike.
2021-03-18 17:28:28 +01:00
Bård Skaflestad 65edfb702c Preparations for Recording Dynamic Well State
Coalesce blocks with same conditions, split long lines, and apply
'const' where appropriate.  While here, also tighten the "rate = 0"
criterion to include denormalised numbers.
2021-03-18 17:28:28 +01:00
Joakim Hove cd7c4d9927 Merge pull request #3112 from totto82/refact_ginj
Add support for explicit guiderate for injection groups
2021-03-18 17:03:53 +01:00