Commit Graph

1635 Commits

Author SHA1 Message Date
Kristian Bendiksen
13130ae268 #7339 StimPlanModel: Handle incomplete formation names data. 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
6c672d9c9c #7376 Data Source Stepping : Improve icons
Icons
2021-02-18 18:55:04 +01:00
Kristian Bendiksen
448a263bec #7364 Stimplan XML: report TVD values from XML in UI. 2021-02-17 22:30:37 +01:00
Kristian Bendiksen
4bf0e8e493 #7364 Extract method for appending string. 2021-02-17 22:30:37 +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
a86d0489ac #7380 Janitor : Use forward declare when possible 2021-02-17 22:28:21 +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
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
6b16b2dcf1 #7065 Include inf values in statistics curves (P90, P10, ..)
If inf values are skipped, the visualization of statistics curves will be positioned at wrong date.
2021-02-16 13:23:28 +01:00
Magne Sjaastad
c690c9fa53 #7126 Well Log Extraction: Remove printing of warning 2021-02-12 13:37:05 +01:00
Magne Sjaastad
de5bd826a5 #7358 Ensemble Curve Resampling : Add resampling 2021-02-12 13:20:21 +01:00
Magne Sjaastad
d6bd8657cf #7358 Summary Curve Resampling : Add resampling to curve data 2021-02-12 13:20: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
ff92f7b792 Janitor : Remove Multi Case Import dialog and features 2021-02-12 13:18:57 +01:00
Magne Sjaastad
a8589efe23 Preferences: Show undo/redo in General tab 2021-02-12 13:18:57 +01:00
Magne Sjaastad
1152b52cd0 Flow Vectors: Show all phases by default 2021-02-12 13:18:57 +01:00
Magne Sjaastad
a25e795a02 Divide by Area: Remove duplicate reports of "/A" 2021-02-11 10:37:17 +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
6ebf3aaaca #7350 PVT curves : Use PVTNUM value to get PVT curve data 2021-02-10 15:19:38 +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
14c09f30cf #7342 Property Editor : Support multi-select of objects of same type 2021-02-10 15:08:35 +01:00
Magne Sjaastad
f14386314e #7335 Dual poro models : Hide rel perm plots when fracture result is active 2021-02-09 13:06:54 +01:00
Magne Sjaastad
b77da64b6d #7334 Contour maps: Filter out both positive and negative inf values 2021-02-06 09:20:52 +01:00
Magne Sjaastad
fdb465fe6d #7335 Dual poro models : Support rel perm and PVT plots 2021-02-05 15:35:33 +01:00
Kristian Bendiksen
4d49302e82 #7329 Report MD and formation dip from StimPlan template XML. 2021-02-05 09:22:05 +01:00
Kristian Bendiksen
f2c25a5f13 #7143 StimPlanModel: Compute formation dip in fracture plane. 2021-02-05 08:31:49 +01:00
Magne Sjaastad
f53e8b5838 Fix typo 2021-02-03 15:40:44 +01:00
Kristian Bendiksen
201955c4a9 #7140 StimPlanModel: Fix direction to barrier calculation. 2021-02-03 13:41:17 +01:00
Magne Sjaastad
a060ba349e #7316 Curve Calculator: Add support for single line if-statement 2021-02-02 14:30:26 +01:00
Magne Sjaastad
1a8f36373c #7304 Color Legend : Use inverted color legend for SWAT 2021-02-02 14:30:26 +01:00
Magne Sjaastad
55cbe69222 #7074 Derived parameters not updated when changing input parameters 2021-02-02 14:30:26 +01:00
Magne Sjaastad
acc9afdb71 #7293 Wrong unit in legend for stress directions and stress anisotropy 2021-02-02 14:30:26 +01:00
Kristian Bendiksen
751ebf7eb6
6365 additional stimplan xml parameters (#7318)
* #6365 StimPlan XML: Parse formation dip and fracture orientation.
* #6365 Fracture: Use formation dip and fracture orientation from XML.
* #6365 Fracture: Compare case insensitive, use enum class

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2021-02-02 14:29:17 +01:00
Kristian Bendiksen
88b7a5807d #7298 Fracture: generate fracture grid for 'create at depth' 2021-02-01 18:39:58 +01:00
Kristian Bendiksen
e2fc4e3de6 Janitor: Use RimProject::current() more in fracture code. 2021-02-01 13:02:06 +01:00
Kristian Bendiksen
d941ff58d0 Improve name of User-Defined Well/Fracture Intersection Depth 2021-02-01 13:02:06 +01:00
Kristian Bendiksen
e2c7d11049 #7309 Fracture: Add option to auto-update well/fracture intersection from template. 2021-02-01 13:02:06 +01:00
Kristian Bendiksen
6fad32e734 #7026 Use better name for well/fracture intersection for ellipsis fracture. 2021-02-01 11:07:12 +01:00
Kristian Bendiksen
94dfec1c9d #7026 Handle backward compatibility for ellipsis templates 2021-02-01 11:07:12 +01:00
Kristian Bendiksen
58f6619b2c #7026 Improve well/fracture intersection for elliptical template.
- Make range go from 0 to height.
- Fix default to be 1/3 of height.
- Handle unit change.
2021-02-01 11:07:12 +01:00
Kristian Bendiksen
635ada7297 #7026 Make well path/fracture intersection available for ellipse. 2021-02-01 11:07:12 +01:00
Kristian Bendiksen
7ebca64050 #7026 Set correct well center fracture cell for ellipse fracture grid 2021-02-01 11:07:12 +01:00
Kristian Bendiksen
18f9007a06 #7026 Ellipse Fracture Template : Add well/template intersection depth 2021-02-01 11:07:12 +01:00
jonjenssen
1c4a1b9e80 Add tooltip text to K range filter input in Polygon Filter properties 2021-01-28 11:15:12 +01:00
jonjenssen
66c2e02e49 Do not use disabled points in polygon filter outline. 2021-01-27 22:58:36 +01:00
Magne Sjaastad
f55da30f4d #7296 Property Filter : Crash when creating a property filter when no valid cell results is active 2021-01-27 15:39:40 +01:00
Kristian Bendiksen
acd78daa3f #6877 Fix backwards compatibility for well path/fracture intersection depth.
The value needs to be copied from the template to the fracture instance for old
projects. This fixes assert seen in regression tests.
2021-01-27 11:41:25 +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
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
e4b285c169 #7158 WBS plot : Update plot name when water depth changes 2021-01-22 08:21:56 +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
c4c6eb75f2 Hide some fields from the target list 2021-01-20 14:43:44 +01:00
Gaute Lindkvist
5759c6261b Temporarily disable changing of the MD-reference point on laterals
* It doesn't work right without also altering the angles of the targets
2021-01-20 14:43:44 +01:00
Gaute Lindkvist
639fdcc217 #7153 Fix laterals created from modeled well paths 2021-01-20 14:43:44 +01:00
Kristian Bendiksen
d072138484 Janitor: Remove disabling of clang-format for fracture-related files. 2021-01-20 12:45:31 +01:00
Gaute Lindkvist
953e7bd18e #7236 Rewrite window closing in ResInsight 2021-01-20 10:58:06 +01:00
Kristian Bendiksen
1d0705de46 #7158 Add option to introduce extra well path point at sea level. 2021-01-19 15:41:39 +01:00
jonjenssen
a01c511308
Make sure surfaces are turned off in all contourmaps. (#7241) 2021-01-19 14:59:06 +01:00
Kristian Bendiksen
18b145268e #7207 Fix flow diagnostics cell color when property filtering.
Split RimEclipseView::updateVisibleGeometriesAndCellColors() into two methods,
and make sure the visible geometries are recreated before updating the legends.
2021-01-18 15:56:19 +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
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
784f3069f0 #7148 StimPlanModel: provide better default for por/perm. 2021-01-15 12:06:39 +01:00
Kristian Bendiksen
d73bd60825 #7158 Fix water depth calculation for WBS plot.
The first intersection between the well path and the GeoMech model
is the correct water depth only when well path starts outside the model.

Top of the bounding box is used as an estimated water depth when
there is no intersection. WBS curves are now disabled for this case.
2021-01-15 12:05:27 +01:00
Kristian Bendiksen
70a96c21de
#7151 Flow Diagnostics: Filter legend based on visible wells/regions. (#7182)
* #7151 Flow Diagnostics: Filter legend based on visible wells/regions.
* #7151 Flow Diagnostics: Show only visible tracers by default.
2021-01-12 20:55:20 +01:00
Kristian Bendiksen
3e7412802e #7172 Fix updating well/fracture intersection of StimPlan fracture template. 2021-01-12 20:53:43 +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
Magne Sjaastad
7b5bc5c2cd #7189 Ensemble RFT: Show only parameters with variation 2021-01-12 12:23:41 +01:00
Magne Sjaastad
97114f4554 #7190 Correlation Parameters : Fix cache inconsistencies 2021-01-12 12:23:41 +01:00
Kristian Bendiksen
3112f61890 Configure RESINSIGHT_USE_ODB_API in root CMakeLists.txt 2021-01-12 11:05:53 +01:00
Magne Sjaastad
140c292a93 Fix precompiled headers 2021-01-11 22:21: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
2de5c9ce0b Move GrpcInterface into top level 2021-01-11 15:27:45 +01:00
Gaute Lindkvist
81699db187 Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00