Commit Graph

187 Commits

Author SHA1 Message Date
Magne Sjaastad
0d4ab8b594
#8048 Everest Import: Group into separate ensembles 2021-09-30 09:08:09 +02:00
Kristian Bendiksen
ea3fdef281 Refactor: extract code for detecting logarithmic result 2021-09-29 14:16:43 +02:00
Kristian Bendiksen
f407acd5fa #8034 Pass reader settings to eclipse loading methods. 2021-09-29 09:40:27 +02:00
jonjenssen
66852c4dad
WellIA: Load results after external computations script has completed (#8062)
* Load result after modeling has completed.
* Select new geomech view in project tree when importing a new geomech case
2021-09-28 12:39:54 +02:00
Magne Sjaastad
33221e7e07 #8033 Ensemble Well Log: Allow import from grdecl files 2021-09-24 08:42:07 +02:00
Magne Sjaastad
515168600f
Improved UI for surface band and curves (#8026)
* Add surface intersection bands and curves
* #8024 Ensemble Surface : Fix mix of files for a ensemble layer surface
2021-09-23 09:59:29 +02:00
Kristian Bendiksen
4a6a1eed41 #7965 Import ensemble: Add option to group import of multiple ensembles 2021-09-22 08:56:32 +02:00
Kristian Bendiksen
b9767a35a4
#8019 StimPlan model: Apply default poro and perm as minimum values (#8023) 2021-09-20 12:30:01 +02:00
Magne Sjaastad
2480a782d1
Ensemble Surface improvements
* Performance : Improve surface import
* Performance: Use opm when importing files
* Surface : Use the triangle size as basis for the maximum search distance
* Performance : Resample surfaces in parallell
* Performance: Import file surfaces in parallell
* Ensemble Surface : Create one ensemble per surface
2021-09-16 14:28:19 +02:00
Kristian Bendiksen
1e83254e9e
Make P10/P90 calculation style more explicit 2021-09-16 10:38:27 +02:00
Magne Sjaastad
0bfa6ae2d1 #8009 Missing return values due to default function parameters 2021-09-15 14:58:54 +02:00
Kristian Bendiksen
cd91a96871
#7953 StimPlan Model: always recompute anchor position and thickness direction. (#8004)
This is to support manually changing the MD directly in the project file.

Fixes #7953.
2021-09-14 10:46:12 +02:00
Kristian Bendiksen
1df25ed71c
#7966 Ensemble Well Log: depth equalization and filter by curve set options in well log plot (#8001) 2021-09-14 10:44:52 +02:00
Bård Skaflestad
785ee51099
Include <cctype> for std::toupper (#8003)
Restores build on VS 2017.
2021-09-13 18:20:44 +02:00
Magne Sjaastad
9838f766cb Performance : Use std::string when parsing address strings 2021-09-13 14:08:50 +02:00
Magne Sjaastad
41f80e7d89 #7912 Summary Data Import : Review feedback 2021-09-13 10:00:45 +02:00
Magne Sjaastad
f699f5f6b8 #7912 Summary Data Import : Update to ESMRY format 2021-09-13 10:00:45 +02:00
jonjenssen
a5b80c649b
Merge pull request #7960 from OPM/geomech_WIA4
GeoMech: Well Integrity Analysis
2021-09-09 17:34:27 +02:00
Magne Sjaastad
7f460b2958 #7957 Move progressdialog control to General tab
The freeze bug in Qt is triggered when the progress bar is displayed for long-running processes. A temporary workaround for freeze issues is to disable the progress bar. Move the setting into General tab to make it easily available for all users.
2021-09-08 11:51:20 +02:00
Magne Sjaastad
640c59d682 #7942 Summary Plot: Make reading of summary data file more robust
- remove the gsl::not_null for pointer to curve data
- For summary cases linked to a grid model case, do not try to read the original location of file if grid file location is not valid (will happen when a project file is moved)
2021-09-02 15:55:43 +02:00
Kristian Bendiksen
16ec5f793a
Fix incorrect argument order when loading eclipse grid. (#7937) 2021-09-01 07:34:40 +00:00
Magne Sjaastad
be29b278f2
#7929 Python : Avoid creation of new view when opening case 2021-09-01 08:25:22 +02:00
Magne Sjaastad
638f926429
cmake-format: Allow dangling parenthesis 2021-09-01 08:13:16 +02:00
Magne Sjaastad
b78cf3a4bb
Use cmake-format on all cmake files 2021-08-26 19:46:38 +02:00
Magne Sjaastad
49fa169db8
##7903: Improve ensemble surface names
Update the name of statistics surface when created
Regenerate surface geo only when required
Create statistics surfaces when importing surface ensemble
2021-08-26 15:12:27 +02:00
Magne Sjaastad
3a94078867
Support optimized surface export from grid model layers
* #7885 Update opm-common with optimized coordinate import
* #7885 Allow null as default result from a script method
* #7885 Propagate default parameter values to generated Python code
* #7885 Add CommandRouter as hub for worker methods
* #7885 Add support for use of CommadRouter from Python
2021-08-23 11:58:32 +02:00
Magne Sjaastad
8dbb1d5ccd
Improve well path modeling
* Improve handling of MD at first target
* When sea level well target is disabled, update MD of first target
* Show well target spheres by default, allow toggling of spheres
* Activate well target modifiers when clicking on well targets
* Remove selection update causing an unstable 3D view
* Improve display and handling of multiple locations
* Add special 3D target for tie in well target
* Add slider to tie in MD input field
* Show MD in well path target table
* Delete all well path laterals when deleting a well path

* Python : Add lateral to parent well
* Python : Add perforation interval
2021-08-13 16:48:33 +02:00
Magne Sjaastad
40fc7dacd0 #7856 Default settings for H5 summary file handling 2021-08-03 13:39:36 +02:00
Kristian Bendiksen
4bd2a7b6fd #7716 Ensemble Well Logs: load data when project is opened. 2021-06-30 10:43:11 +02:00
Magne Sjaastad
eb3c52aeb1 Python adjustments (#7809)
* #7797 Well Targets: Add scripting capability
* #7794 Python : Do not update childField or childFieldArray
* #7797: Python - Add scripting to well path collection
- Extend the pdmobject.py with method add_object()
- allow objects to be created from Python in well path collections
- add well targets to modelled well path

* #7795 Python : Make sure referenced generated classes are defined
* #7810 StimPlanModel: clean-up python generation
* Python : Always use empty string as default value for ptrFieldValue
It can happen that a ptrField is assigned to a pointer on object construction. (FaciesProperties) Make sure that constructor always assigns an empty string.

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2021-06-25 14:44:52 +02:00
Magne Sjaastad
273e416b40 Python adjustments (#7809)
* #7797 Well Targets: Add scripting capability
* #7794 Python : Do not update childField or childFieldArray
* #7797: Python - Add scripting to well path collection
- Extend the pdmobject.py with method add_object()
- allow objects to be created from Python in well path collections
- add well targets to modelled well path

* #7795 Python : Make sure referenced generated classes are defined
* #7810 StimPlanModel: clean-up python generation
* Python : Always use empty string as default value for ptrFieldValue
It can happen that a ptrField is assigned to a pointer on object construction. (FaciesProperties) Make sure that constructor always assigns an empty string.

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2021-06-25 14:28:41 +02:00
Magne Sjaastad
27b1d6ebfb Octave : Always execute command objects in queue before return 2021-06-25 14:28:34 +02:00
Kristian Bendiksen
56b80b8a02 #7804 Compute static result for IJK indexes. 2021-06-23 15:34:40 +02:00
Magne Sjaastad
d7113a528c #7786 Get version from command line 2021-06-16 13:14:07 +02:00
Magne Sjaastad
216126033e Octave : Always execute command objects in queue before return 2021-06-15 16:00:47 +02:00
Magne Sjaastad
2e5953216f #7438 Project File: Simulation name is hard coded in plots 2021-06-11 08:06:46 +02:00
Magne Sjaastad
889231755d Janitor : Move geomech tab to the right of scripting tab 2021-06-10 14:09:52 +02:00
Magne Sjaastad
ea9e3f7a52 Janitor : Hide undo stack behind environmentvariable DEVEL
Move geomech tab after scripting
2021-06-10 14:04:55 +02:00
Kristian Bendiksen
1ebe4ec2a1 #7763 Improve extrapolation for when points are too close. 2021-06-09 21:23:50 +02:00
Magne Sjaastad
8259220abd #7765 Well Log Curves : Improve handling of units 2021-06-09 21:18:42 +02:00
Kristian Bendiksen
ec239f9643 #7667 Statistics Plot: add number format settings. 2021-05-29 10:00:27 +02:00
Kristian Bendiksen
b2025fbeef #7667 Refactor: extract number format settings for reuse. 2021-05-29 10:00:27 +02:00
jonjenssen
ae7285b478
Fault Reactivation Assessment: updates and tweaks (#7732)
* Add flag to keep temp. parameter files or not.
* Ask user if it is ok to clean the output folder if selected.
* Add property for elastic table input file.
* Do not show legend by default when refreshing tsurfs
* Make sure all loadsteps are enabled in post processing json file
* Support running adv. proc without req. basic proc to be run first
2021-05-28 00:55:54 +02:00
Magne Sjaastad
098fda9816 Janitor : Remove duplicated code 2021-05-26 13:28:45 +02:00
Magne Sjaastad
3fca5f15ae Janitor : Use enum class 2021-05-26 13:28:45 +02:00
jonjenssen
4a4db5a3f2
Fault reactivation assessment #7321 (#7690)
Fault Reactivation Assessment implementation (ref issue #7321)
2021-05-18 14:28:54 +02:00
Kristian Bendiksen
946e886bff #7609 Move loading of plot data into main plot collection. 2021-05-10 14:03:52 +02:00
Magne Sjaastad
1a5c7799c6 #7636 Native Checkbox : Use single statement to define native checkbox 2021-04-29 09:06:33 +02:00
Magne Sjaastad
e36420163a #7634 Summary Reader : Handle overlapping time steps in restart data 2021-04-28 14:10:23 +02:00
Magne Sjaastad
1cf1eef048 #7632 Preferences : Add separate tab Eclipse Summary
Remove obsolete includes
2021-04-28 14:10:23 +02:00
Magne Sjaastad
7aa8175fb3 #7629 Summary Restart : Set multiple threads default ON 2021-04-28 14:10:23 +02:00
Magne Sjaastad
d18abce39a Fix missing include 2021-04-16 12:39:09 +02:00
Magne Sjaastad
52799e8b4c
Minor HDF adjustments (#7577)
* #7575 Summary HDF : Do not import summary if no UNSRMY file is found
* #7575 Summary HDF : Add optional check on time stamp of h5 file
* Use std::filesystem to check file access
* Do not keep h5 file open
2021-04-16 10:52:30 +02:00
magnesj
a44378e2f5 Fixes by clang-tidy 2021-04-15 08:00:07 +02:00
Magne Sjaastad
6421564b77 #7572 Preferences : Remove obsolete includes 2021-04-14 13:53:21 +02:00
Magne Sjaastad
e68c982cf9 #7572 Preferences : Move more into summary settings file 2021-04-14 13:53:21 +02:00
Magne Sjaastad
27e3bc1b56 #7563 HDF5 Export : Add support for defining how many threads to use 2021-04-14 13:53:21 +02:00
Magne Sjaastad
6bc6ffda15 #7572 Preferences : Move summary settings into separate file 2021-04-14 13:53:21 +02:00
Magne Sjaastad
3bc569e2a6 #7563 HDF5 Export : Add flag to generated HDF5, default off
Fixes by cmake-format

Try to fix copy constructor issues


Fix missing initialization


Unused variable
2021-04-11 13:04:49 -07:00
Magne Sjaastad
dd97e7741a #7527 HDF Summary Reader : Add first working prototype
HDF5 must be compiled with special options to support multithreading. Disable file object multithreading for HDF5. Some vector types are not supported, as the support in opm-common reader is not complete (region, region_to_region, ...).
2021-04-08 07:13:34 -07:00
Magne Sjaastad
cbd47a256f #7527 HDF Summary Reader : Add thread safe message logger 2021-04-08 07:13:34 -07:00
Magne Sjaastad
eab5bc79c9
Fix path in clang-tidy workflow (#7542) 2021-04-06 21:04:31 +02:00
Magne Sjaastad
f5547dd551
#7512 Support optimized summary reader 2021-03-25 12:56:09 +01:00
Kristian Bendiksen
8542643963 #7452 Use pressure gradient from equilibrium region for stress gradient 2021-03-19 13:24:25 +01:00
Magne Sjaastad
4099662cbc #7481 Usability : Open grid model from summary case and summary curve 2021-03-10 21:44:39 +01:00
Kristian Bendiksen
c174bf947c #7116 Janitor: Use CAF_ASSERT, not cassert. 2021-03-05 19:18:22 +01:00
Kristian Bendiksen
f3fe51ef65 #7116 Add extrapolation options for linear interpolation tool. 2021-03-05 19:18:22 +01:00
Magne Sjaastad
8bab748fa6 Improve MSW export including multi lateral wells
Based on branch https://github.com/OPM/ResInsight/tree/system-msw-refactor

- Move completion settings to property of well path
- Rename to RimFishbones
- Export implicit COMPSEGS for fishbones main bore
- Add valve for each branch
- Increase version number to be able to handle import of legacy project files
2021-02-26 14:59:57 +01:00
Kristian Bendiksen
f0c70a0fd2 #7400 StimPlanModel: Add EQLNUM result to calculator.
Take results from EQLNUM_1 input properties for missing values in
static eclipse case.
2021-02-26 14:03:30 +01:00
Magne Sjaastad
084835ce66 #7333 Well Log Plot: Improve Stack Curve with Phase Colors
Improve curve colors when only one curve of a given phase is displayed
Make sure to call the base class directly above current inheritance level
Improve colors
2021-02-22 13:37:05 +01:00
Magne Sjaastad
f12a3ed1ba #7403 Replace fromTime_t with fromSecsSinceEpoch 2021-02-22 08:32:08 +01:00
Magne Sjaastad
b29952e8a9 #7403 Replace toTime_t with toSecsSinceEpoch 2021-02-22 08:32:08 +01:00
Magne Sjaastad
b5cb011c2f #7380 Correlation Plot : Use complete summary address text when possible 2021-02-17 22:28:21 +01:00
Magne Sjaastad
721d912f9e #7358 Summary Curve Resampling : Use helper code in RiaSummaryTools 2021-02-12 13:20:21 +01:00
Magne Sjaastad
a8589efe23 Preferences: Show undo/redo in General tab 2021-02-12 13:18:57 +01:00
Magne Sjaastad
bcdba1bb8f #7347 Property Editor : Enable undo/redo of field changed operations 2021-02-10 15:08:35 +01:00
Magne Sjaastad
0ec612ae86
Create LGR : Use all well cells if no completions are defined (#7285)
* #7274 Create LGR : Use all well cells if no completions are defined

* #7263  Create LGR : Not working in console mode 

Guard access to RiaApplication

* Add pytest for create_lgr_for_completion

* Add pytest for create_lgr_for_completion

* #7289 Script : Add execute of last used script

* #7291 Python : Guard access to RiaMainWindow
2021-01-26 20:34:31 +01:00
Kristian Bendiksen
d5b24f180e #7283 Fix crash on exit on centos 7.
Occasionally QGuiApplication::lastWindowClosed() signal could be sent
more than once.
2021-01-26 09:50:28 +01:00
Magne Sjaastad
80bae6df45 Fix missing includes 2021-01-21 14:39:01 +01:00
rubenthoms
bc81437435
Moved UnitSystem from RiaEclipseUnitTools to RiaDefines. (#7225)
* Moved UnitSystem from RiaEclipseUnitTools to RiaDefines.
- Renamed UnitSystem to EclipseUnitSystem
- Replaced header includes and removed obsolete includes of RiaEclipseUnitTools.h
* Moved  result name functions into separate file.
* Minor cleanup

Co-authored-by: rubenthoms <rubenthoms@users.noreply.github.com>
Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2021-01-21 12:58:46 +01:00
Gaute Lindkvist
953e7bd18e #7236 Rewrite window closing in ResInsight 2021-01-20 10:58:06 +01:00
Kristian Bendiksen
ad07b18781 #6227 Filter out zero values in logarithmic plot. 2021-01-18 14:41:53 +01:00
Magne Sjaastad
55034759c5 Doc : Updated text for command file markdown generator 2021-01-18 09:15:51 +01:00
Kristian Bendiksen
784f3069f0 #7148 StimPlanModel: provide better default for por/perm. 2021-01-15 12:06:39 +01:00
jonjenssen
a7775214c8
Rewrite of cell filters. Added new polyline filter and user defined filter types. (#7191)
Make 3d view picker more generic to enable picking cell filter polygon

Give cell filters a new, generic interface for updating included/excluded cells from collection

Remove old range filter collection and replace with new filter collection that supports both range filters, polyline filters and user defined filters.

Update existing range filter code for the new collection and interface

Add user defined cell filter type

Add polyline cell filter type

Implement both Z and K index depth for polyline filters
Allow interactive editing of polyline filter node positions.
Support both geomech and eclipse views
Support view linking with both eclipse and geomech views and the new filter types

Support loading old project files with range filter collections into the new collection type

Adjust to new world order.
2021-01-11 18:47:09 +01:00
Gaute Lindkvist
04d5daca67 Create a new ApplicationExe project for the executable 2021-01-11 15:27:45 +01:00
Gaute Lindkvist
81699db187 Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00