Commit Graph

322 Commits

Author SHA1 Message Date
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
Kristian Bendiksen
0d5b7e37ac #8051 StimPlan Model Plot: Use geogrid for Formations. 2021-09-28 08:27:04 +02:00
Kristian Bendiksen
ed2beec359 #8038 Python: add api to insert a fracture template and a fracture at given MD 2021-09-24 12:32:42 +02:00
Magne Sjaastad
15b4077876
Fix some minor issues (#8043)
* #8016 Surface Ensemble : Update 2d intersection views
* Ensemble WLP : Make code more robust to missing data
* Janitor: Do not add files to recently used list when importing ensemble
* #8016 Ensemble WLP : Delete all temporary plots in one go
* #8016 WLP: Create a default date string that can be exported to LAS
* #8016 Janitor: Use *.dev as default well path extension
2021-09-24 10:21:16 +00:00
Magne Sjaastad
33221e7e07 #8033 Ensemble Well Log: Allow import from grdecl files 2021-09-24 08:42:07 +02:00
Magne Sjaastad
17c5f473be #8033 Ensemble Search Dialog : Allow edit of file extensions
Ensemble Search Dialog: Improve UI layout
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
41dc2244fc #8032 Ensemble Well Logs: change selected property from PERMZ to PERMX 2021-09-22 13:50:59 +02:00
Kristian Bendiksen
e11c564802 #8031 Ensemble import dialog: rename to 'Group by ensemble' 2021-09-22 13:50:20 +02:00
Kristian Bendiksen
17f44b0f25 #7965 Skip ensemble name suggestion dialog for grouped import. 2021-09-22 08:56:32 +02:00
Kristian Bendiksen
c6f04a6ad6 #7965 Add check box for choosing grouping by iteration. 2021-09-22 08:56:32 +02:00
Kristian Bendiksen
7ca424f6df #7965 Ensemble Fracture Statistics: Group by iteration. 2021-09-22 08:56:32 +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
02b5246a20
#8006 Ensemble Well Log: Create ensemble from well path in project (#8018) 2021-09-21 15:33:18 +02:00
Magne Sjaastad
fd8fbe19f4 #8009 Make sure a view is created when case is imported
The original logic was not clear due to automatic conversion of pointer to bool
2021-09-20 10:33:18 +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
Magne Sjaastad
0bfa6ae2d1 #8009 Missing return values due to default function parameters 2021-09-15 14:58:54 +02:00
Magne Sjaastad
6ab8d59283 #8012 Ensemble Well Log : Close case after well log extraction 2021-09-15 14:54:02 +02:00
Magne Sjaastad
dc3a962cae File Search Dialog : Do not search on launch 2021-09-13 14:11:54 +02:00
Magne Sjaastad
7b1185cec4
Surface Folders
* #7978 Ensemble Surface : Use collection instead of specialized class
* Review updates
2021-09-13 10:16:09 +02:00
Kristian Bendiksen
117d201703
#7963 Ensemble Fracture Statistics: add progress bar. (#7985)
Also avoid recalculating the statistics for each added file.
2021-09-10 14:54:46 +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
c603e6fe90 Janitor : Improve Ensemble File Search dialog
- auto search on launch
- add recently used history to file filter
2021-09-09 15:35:28 +02:00
Magne Sjaastad
0e0bd751f6 #7973 Export Completions : Further improvements
Fix typo
Make sure compdat export works for custom file name
2021-09-09 15:16:34 +02:00
Kristian Bendiksen
6173b4f421 #7969 Rename command to "Create Ensemble Surface" 2021-09-09 14:07:48 +02:00
Kristian Bendiksen
d9a35e5282 #7969 Minor tweaks to Create Ensemble Surface ui 2021-09-09 14:07:48 +02:00
Magne Sjaastad
acdcbe44b4
Merge pull request #7975 from OPM/7973-custom-export-filename
Export Completions : Custom export file name fails in some cases
2021-09-09 10:16:37 +02:00
Kristian Bendiksen
8f5beb8851 #7928 Add user interface for exporting multiple well logs. 2021-09-09 08:38:00 +02:00
Kristian Bendiksen
2b3fbe022e #7927 Add user interface for exporting multiple surfaces. 2021-09-03 14:59:40 +02: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
Kristian Bendiksen
9e1ef0e7e0 #7893 StimPlanModelPlot: Select correct case for facies region annotations 2021-08-27 10:47:25 +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
2fc65a3b62
#7892 Basic support for display of surface lines and bands on intersections
Guard divide by zero issues
2D Intersection View: Do not add parts with wrong coordinates
Add bounding box search tree
Add support display of intersection lines for selected surfaces
Show band between two first intersection lines
2021-08-26 08:13:03 +02:00
Kristian Bendiksen
966bcd1e77
Ensemble surface import and statistics 2021-08-17 13:38:12 +02:00
jonjenssen
605af789c6
Protect against crash in 3d view due to nullptr in linkwellpathfeature command check (#7876)
* Protected against crash in 3d view due to nullptr

* Code cleanup
2021-08-14 14:23:55 +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
93b5c39387 Janitor : Guard nullpointer access 2021-06-30 14:50:28 +02:00
Kristian Bendiksen
d79dcafe5a #7716 Ensemble Well Logs: Add context menu for curve set. 2021-06-30 10:43:11 +02:00
Kristian Bendiksen
fb301ef3ab #7716 Add pdm object for Ensemble Well Logs 2021-06-30 10:43:11 +02:00
Magne Sjaastad
a3d5847733 #7824 Modeled Well Path : Optional support for linking of wells
#7824 Modeled Well Path : Add to context menu in 3D view
2021-06-29 19:04:27 +02:00
Magne Sjaastad
3a1f2c8a05 Janitor : Encapsulate dynamic cast to selection item type 2021-06-29 19:04:27 +02:00
Magne Sjaastad
96ac51c011 Fix missing includes 2021-06-29 19:04:00 +02:00
Magne Sjaastad
e06e0116d8 #7818 Modeled Well Path : Update location of completions 2021-06-29 15:33:03 +02:00
Magne Sjaastad
73f8046353 #7818 Modeled Well Path : Add support for creation of N laterals based on a template 2021-06-29 15:33:03 +02:00
Magne Sjaastad
95463c6521 #7811 Modeled Well Path : Add copy/paste of a modeled well path 2021-06-29 15:33:03 +02:00
Magne Sjaastad
d818a01b79 #7811 Modeled Well Path : Optionally use refpoint from top level well path 2021-06-28 14:44:45 +02:00
Magne Sjaastad
62d67a52c7 #7811 Modeled Well Path : Optionally show absolute coordinates 2021-06-28 14:44:45 +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
jonjenssen
aa2b4305de Improve handling of LGRs in cell filters (#7783)
* Improve handling of LGRs in cell filters
2021-06-25 14:44:52 +02:00
Kristian Bendiksen
a652a2bfb9 #7782 Grid Statistics Plot: Use current Cell Result property for making histogram 2021-06-24 08:48:09 +02:00
jonjenssen
5dd7822b5f Fix typo in fault id parameter, send correct id to processing 2021-06-21 12:36:27 +02:00
jonjenssen
66b2b50a1d
Enable starting FaultRA processing from 3d view (#7801) 2021-06-18 16:51:05 +02:00
jonjenssen
0825fa10ac
delete existing database file before processing a new fault (#7793) 2021-06-18 11:28:47 +02:00
Magne Sjaastad
7dfe35a9e0 #7780 Polyline Cell Filter : Make sure event handler is unregistered 2021-06-15 12:17:50 +02:00
Magne Sjaastad
9f85975f2c Janitor : Improve icons and availability for new statistics 2021-06-10 09:33:22 +02:00
Magne Sjaastad
4de91e885b #7761 Objective Function : Change formula and add several options 2021-06-09 21:22:37 +02:00
Magne Sjaastad
8259220abd #7765 Well Log Curves : Improve handling of units 2021-06-09 21:18:42 +02:00
Magne Sjaastad
b9362386bc #7450 Well Completion: Allocation of User defined D-factor to perforation connection factors
If the user defined a D-factor for the perforation interval, distribute the D-factor based on

D_cell = D_well * Sum_Tran_cells / Tran_cell
2021-06-07 09:28:57 +02:00
jonjenssen
8752eebdca
Fault React. Assessment updates, part 2 (#7735)
* Add additional parameters to postprocessing script.
2021-05-28 14:31:36 +02:00
Magne Sjaastad
0097e9dfb2 MSW : Fix length for the WELSWGS incremental depth 2021-05-28 07:27:53 +02:00
Magne Sjaastad
8749deb76a #7731 MSW Fishbones : Adjust diameter for fishbone lateral segments in main bore cells 2021-05-28 07:27:53 +02:00
Magne Sjaastad
1f85adecab #7729 MSW : Compute initial measured depth once
Avoid computing value of initial MD multiple times
2021-05-28 07:27:53 +02:00
Magne Sjaastad
eba78b2660 #7729 MSW : Fix wrong segment for lateral
A lateral is connected to wrong segment for user defined reference MD
2021-05-28 07:27:53 +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
33ac79d856 #7727 Performance : Reduce amount of work
Use objectsWithReferringPtrFields to find tieIn wells
Avoid using descendantsOfType
2021-05-27 12:52:57 +02:00
Magne Sjaastad
afb293db52 #7727 Well Path : Simplify access to all well paths 2021-05-27 12:52:57 +02:00
Magne Sjaastad
087cf41773 Janitor : Avoid includes in header files 2021-05-27 12:52:57 +02:00
Magne Sjaastad
3fca5f15ae Janitor : Use enum class 2021-05-26 13:28:45 +02:00
Magne Sjaastad
86bdf5722a Guard nullpointer access 2021-05-25 11:50:18 +02:00
Magne Sjaastad
805df93aed #7720 Export of MSW : Export data from imported well paths
The tie-in concept was only available for modeled well paths. Make sure both modeled and file well paths produce MSW output
2021-05-25 11:50:18 +02:00
Magne Sjaastad
e33a03b379 #7719 Multi-lateral wells : Include well laterals in visible wells 2021-05-25 11:50:18 +02:00
jonjenssen
9cd4edb025 Fix parameter file name. Do not clean up tmp parameter files while we test FaultRA. 2021-05-21 12:46:16 +02:00
Magne Sjaastad
9ccc650513
Fix missing includes 2021-05-20 10:59:53 +02:00
Magne Sjaastad
78e4e1cd5c Janitor : Use enum class 2021-05-18 16:22:05 +02:00
Magne Sjaastad
d4f4f20e6e MSW : Do not export completions if well path lateral is unchecked 2021-05-18 16:22:05 +02:00
Magne Sjaastad
e8e3dc39b4 #7049 AICD : Accumulate flow scaling factor for multiple valves in cell
Add multi lateral support
2021-05-18 16:22:05 +02:00
Magne Sjaastad
3bfeb194a9 #7049 Accumulate flow area for multiple valves in same grid cell 2021-05-18 16:22:05 +02:00
Magne Sjaastad
b518acada6 Janitor : Use enum class 2021-05-18 16:22:05 +02:00
Magne Sjaastad
827cf75207 #7049 MLW: Improve calculations of diameter, skin factor and direction
Diameter and skin factor : Compute weighted average based on transmissibility
Use the direction of the completion with the highest transmissibility
2021-05-18 16:22:05 +02:00
Magne Sjaastad
226876dc0a #7049 MLW: Aggregate of completion data for all laterals
Simplify the progress bar
2021-05-18 16:22:05 +02:00
jonjenssen
4a4db5a3f2
Fault reactivation assessment #7321 (#7690)
Fault Reactivation Assessment implementation (ref issue #7321)
2021-05-18 14:28:54 +02:00
Magne Sjaastad
4b75dd4d6a Fix build issue on Linux 2021-05-14 14:35:54 +02:00
Magne Sjaastad
dbc191ed40 #7687 MSW Fishbones : Compute sum of area for multiple ICDs in same cell 2021-05-14 14:19:09 +02:00
Magne Sjaastad
fcb0bd391b #7686 MSW Fishbones : Compute effective diameter for multiple laterals in same cell 2021-05-14 14:19:09 +02:00
Magne Sjaastad
9a6073eb7b #7678 Fishbones MSW : Always create an intersection for an ICD segment 2021-05-14 14:19:09 +02:00
Magne Sjaastad
460a387021 #7678 Fishbones MSW : Make sure COMPSEGS is connected to ICD branch
Always connect open hole flow to an ICD, not the WELSEGS representing a well path lateral.
2021-05-14 14:19:09 +02:00
Magne Sjaastad
c430e7343a #7678 Fishbones MSW : Include WSEGVALV in MSW-file for LGR section 2021-05-11 14:02:22 +02:00
Magne Sjaastad
466b2cbcd9 #7678 Fishbones MSW : Fix TVD depth for laterals for WELSEGS keyword 2021-05-11 13:35:06 +02:00
Magne Sjaastad
2eced13e28 Well Lateral : Connect new lateral close to total depth 2021-05-11 09:27:55 +02:00
Magne Sjaastad
282c6f3586 Remove obsolete code 2021-05-11 09:27:55 +02:00
Magne Sjaastad
1daa598770 #7656 Well Group: Simplify organization of well groups 2021-05-11 09:27:55 +02:00
Magne Sjaastad
082d6500ad #7446 MLW: Add "Create Well Path Lateral" to well in Project Tree 2021-05-11 09:27:55 +02:00
Kristian Bendiksen
8b2173f951 Refactor: Use PlotCollection interface more places. 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
359df8360e Refactor: Make a copy of histogram data. 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
01d88030d4 #7609 Calculate and display Ensemble Fracture Statistics plot. 2021-05-10 14:03:52 +02:00
Magne Sjaastad
010e964ea8 #6878 Export Completion: Make subset of settings available from Python
Python code linting changes detected by black
2021-05-03 14:15:43 +02:00
Magne Sjaastad
69a03df9da #6878 Export Completion: Add settings from command file commands 2021-05-03 14:15:43 +02:00
Magne Sjaastad
d002ee1d6e #6878 Export Completion: Allow suffix in custom file name 2021-05-03 14:15:43 +02:00
Magne Sjaastad
3fa4986f37 #6878 Export Completion: Add custom file name 2021-05-03 14:15:43 +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
1cf1eef048 #7632 Preferences : Add separate tab Eclipse Summary
Remove obsolete includes
2021-04-28 14:10:23 +02:00
Magne Sjaastad
46f186b72d #7630 Ensemble Import : Show options Unified and Skip 2021-04-28 14:10:23 +02:00
Kristian Bendiksen
b777ad9c74 #7557 Ensemble Fracture Statistics: Reuse existing templates with same name. 2021-04-27 22:53:00 +02:00
Magne Sjaastad
2c91725365 #7622 Summary Restart : Add summary restart reader
Move libecl reader into RifEclEclipseSummary
Add a summary file restart history reader
Simplify RifEclipseSummary
2021-04-27 16:08:57 +02:00
Magne Sjaastad
6ed6b17543 #7622 Summary Restart : Disable some warnings 2021-04-27 16:08:57 +02:00
Magne Sjaastad
9b6371c5c7 #7622 Summary Restart : Remove unused includes 2021-04-27 16:08:57 +02:00
Magne Sjaastad
7d006674ba #7605 Export Sector : Add support for export of ACTNUM 2021-04-23 10:52:58 +02:00
Magne Sjaastad
fed4e40c26 #7487 Fishbones : Remove view scaling when adding a new fish bone
If well radius scale is large, set a low default value and show info in message window.
2021-04-23 08:33:59 +02:00
Ruben Thoms
4b0f3486ad Added icons for VFP and help actions 2021-04-21 15:21:45 +02:00
Magne Sjaastad
0936a293ac MSW : Use start of well path, not start of fishbones 2021-04-21 15:06:44 +02:00
Magne Sjaastad
dcbfd4cc27 #7597 MSW : Connect fractures a segment with lower measured depth 2021-04-21 07:41:56 +02:00
Magne Sjaastad
4f89e38334 #7595 MSW : Move MSW parameters to well path
Move msw parameters to well path
Make it clear when options are taken from top level well path or well path lateral
Use well path lateral custom values for diameter and roughness
2021-04-20 21:13:02 +02:00
Magne Sjaastad
7dcc1dc508 Fishbones : Early exit if no well path geometry is available 2021-04-20 11:05:33 +02:00
Magne Sjaastad
b2d475dde2 #7589 MSW : Always connect to segment with lower measured depth 2021-04-19 14:34:04 +02:00
Magne Sjaastad
a1d85f2ed8 #7585 Multi Lateral Well Adjustments : Make sure lateral number is unique 2021-04-19 11:16:36 +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
d9cf453c1a Ensemble Curve Filter : Set filter unchecked as default 2021-04-13 10:40:37 +02:00
Magne Sjaastad
e66db42a15 Add missing include 2021-04-13 08:43:36 +02:00
Magne Sjaastad
63690d5196 Major rewrite of MSW export model 2021-04-13 07:54:34 +02:00
Kristian Bendiksen
c3a0b460a5 #7555 Rename RimFractureGroupStatistics to RimEnsembleFractureStatistics 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
8b1fd48166 #7493 Refactor: make stim plan fracture template xml import more general 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
836c679e89 #7493 Add "Fracture Group Statistics" pdm object and import method. 2021-04-09 15:35:05 +02:00
Magne Sjaastad
d754ef4705 Janitor : Several fixes by clang-tidy and use of clang compiler 2021-04-05 11:51:23 -07:00
Magne Sjaastad
2d9ac615f2 Add MacOS build support 2021-04-05 09:39:12 -07:00
Magne Sjaastad
c0022f9bfa #7509 Snapshot to File: Use png as default snapshot filename 2021-03-26 09:12:01 +01:00
Kristian Bendiksen
915b16dd78 #7405 StimPlanModel: Case-insensitive facies/formation mapping for elastic properties 2021-03-16 10:06:46 +01:00
Magne Sjaastad
2e643edc35 MSW : Restore MSW settings per completion type
Remove the common MSW settings on well path
2021-03-11 10:50:25 +01:00
Magne Sjaastad
51b72ce7be WELSEGS Export : Avoid duplicate perforation segments in WELSEGS table 2021-03-11 10:50:25 +01:00
Magne Sjaastad
f56b442e26 #7481 Usability : Include case name in menu item text 2021-03-11 10:33:43 +01:00
Magne Sjaastad
4099662cbc #7481 Usability : Open grid model from summary case and summary curve 2021-03-10 21:44:39 +01:00
jonjenssen
207f72c37e Move geomech commands into subfolder 2021-03-09 17:14:18 +01:00
Magne Sjaastad
8357032d53 #7472 Compdat Export : Check if export folder exist 2021-03-08 19:20:42 +01:00
Magne Sjaastad
c1f7f0f66f
Modeled Well : Several view update issues (#7463) 2021-03-05 15:19:55 +01:00
Magne Sjaastad
44bae5dad6 VFP Plots : Select one or multiple files when creating VFP plots 2021-03-03 13:19:34 +01:00
Magne Sjaastad
9bac309a4f
Completion Export : Add option to control export of comments 2021-03-02 09:25:53 +01:00
Kristian Bendiksen
26b68f97fb Janitor: Fix broken build on centos 7. 2021-02-26 16:03:17 +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
jonjenssen
9bd0a9ebac
Streamlines: New generator and UI usability improvements (#7424)
Co-authored-by: jonjenssen <jonjenssen@users.noreply.github.com>
Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2021-02-25 16:38:56 +01:00
Magne Sjaastad
64a8a0ad8d #7346 Summary Plot: Improve default curve for observed data 2021-02-22 13:37:05 +01:00
Kristian Bendiksen
8ce01c098a #7117 Fix stale data when reimporting elastic properties 2021-02-22 13:08:55 +01:00
Magne Sjaastad
f12a3ed1ba #7403 Replace fromTime_t with fromSecsSinceEpoch 2021-02-22 08:32:08 +01:00
Kristian Bendiksen
530c6d3e85 #7339 StimPlanModel: Update python api changes in pdm objects.
The eclipse cases are now set on the StimPlanModelTemplate, not on the
StimPlanModel.
2021-02-19 12:18:30 +01:00
Kristian Bendiksen
77d02e67da #7365 StimPlanModel: Add optional table for inital and current pressure data. 2021-02-19 12:18:30 +01:00
Kristian Bendiksen
ad0e07a540 #7339 Move dynamic and static case from instance to template. 2021-02-19 12:18:30 +01:00
Kristian Bendiksen
c6f35cbe1f #7339 StimPlanFracture: Add methods to use two grids for data extraction. 2021-02-19 12:18:30 +01:00
Magne Sjaastad
cf6680415f #7382 Advanced snapshot export : Janitor fixes 2021-02-17 22:28:57 +01:00
Magne Sjaastad
03305eaaa4 #7382 Advanced snapshot export : Issue processEvents before snapshots 2021-02-17 22:28:57 +01:00
Magne Sjaastad
b93be2f73b #7324 Export well path: Remove problematic characters in file name 2021-02-17 10:20:23 +01:00
Magne Sjaastad
e656b0effb Janitor : Guard null pointer access 2021-02-16 13:31:26 +01:00
Magne Sjaastad
ff92f7b792 Janitor : Remove Multi Case Import dialog and features 2021-02-12 13:18:57 +01:00
Magne Sjaastad
83a1a1fa6d Summary Editor : Make sure at least one source is selected 2021-02-11 07:41:01 +01:00
Magne Sjaastad
cc292b197a
Result Divided by Area: Establish concept used to compute flow velocity and normalized trans (#7349)
* Geometry Tools : Add convenience functions for polygon area

* #7232 Result Divided by Area: Add cell face result and show in GUI

Native support for flow rate is given by mass rate (mass per time) over a cell face. Add a derived result that takes flow rate divided by cell face area to get velocity (distance per time).

Add support for this concept on relevant native results, and indicate this result type in UI using a "/A" postfix

* Speed up divided-by-area calculations by using openmp

* Some refactoring of result data access.

* Make sure NNC data is scaled correctly in vector flow viz.

Co-authored-by: jonjenssen <jon@soundsoft.no>
2021-02-11 03:01:17 +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
f8aae6691d
6877 well fracture intersection per fracture (#7251)
* #6877 Move well/fracture intersection to fracture (from template).
* #6877 Read stimplan xml without scaling and well/fracture intersection offset
* #6877 Move fracture grid to RimFracture from template.
* #6877 Use RiaDefines::conductivityResultName() where applicable.
* #6877 Reintroduce fracture template scaling.
* #6877 Hide well/fracture intersection option for elliptical template
* #7280: Fix crash when picking in first time step of StimPlan fracture
* #7279 Redraw after deleting fracture to make it disappear.
2021-01-26 15:32:18 +01:00
jonjenssen
05aceef936
Polygonfilter updates2 (#7286)
* Make sure all contourmap copies are getting the correct case set for cell filters when creating/copying maps.

* Rewrite polyline part manager to be more generic, not just linked to annotations.
* Add new partmgr for cell filters to draw polygon filter outlines in both eclipse and geomech views
* Show lines/spheres for polygon filter outline
* Add color edit for line and spheres
* Add support for z plane lock in poygon filter outline
* Add new flags for enabling filter and/or polyline display

* Add K range filter to polygon filter

* Enable picking automatically when creating a new polygon filter
2021-01-26 13:08:21 +01:00
Magne Sjaastad
4866794f2b #7289 Script : Add execute of last used script 2021-01-26 12:47:48 +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
jonjenssen
a01c511308
Make sure surfaces are turned off in all contourmaps. (#7241) 2021-01-19 14:59:06 +01:00
Kristian Bendiksen
0a6c9143c8 #7111 Remember last file path for StimPlan XML. 2021-01-15 19:16:47 +01:00
jonjenssen
96fc6cd358
Polygon filter updates (#7216)
* Rename polylinefilter to polygonfilter
* Update icon name, too
* Some GUI adjustments
* Remove obsolete code that came back in a merge somewhere.
Disable auto-enable polygon filter after picking corner points.
* Add option to delete a point in polygon filter point editor by extending generic picker interface
* Rename enum, too.
* Improved filter naming

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2021-01-15 19:16:01 +01:00
Kristian Bendiksen
05048fe79b #7166 Use common delete functionality for PLT and RFT plots. 2021-01-12 20:53:20 +01:00
Kristian Bendiksen
1f7cb2b973
7147 vfp show plot data (#7154)
* #7147 VFP plots: refactor to separate data extraction and display.
* #7147 VFP Plots: Add "Show Plot Data" functionality.
* #7147 VFP plots: Move defines to separate file
* #7147 VFP plots: Minor adjustments
* #7147 VFP Plot: Show table number in title and auto-generated name.
* #7147 VFP Plot: Add "Show Plot Data" to context menu.
* Remove unused member.
* #7147 VFP Plot: Disable broken curve selection.
* Revert "#7147 VFP Plot: Add "Show Plot Data" to context menu."
This reverts commit 5f3b2f362fcea7fc6de5fd2c614919079629bf1c.
* #7147 VFP Plot: Use event filter to show context menu
* Janitor : Use context menu launcher for WellAllocationPlot and CrossPlot

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2021-01-12 20:51:57 +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