Commit Graph

14203 Commits

Author SHA1 Message Date
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
424f66fd4e Set version to 2020.10.1-dev.02 2021-02-10 15:21:57 +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
7aa3a47b36 #7335 Dual poro models : Throw exception if invalid data is detected 2021-02-07 21:45:08 +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
Magne Sjaastad
b2fc74e73e #7335 Dual poro models : Support using matrix part of PORV
For dual porosity models, use PORV from the matrix part.

Also guard all conversion of 1-based to 0-based indexing to avoid potential undefined behaviour.
2021-02-05 15:35:33 +01:00
Magne Sjaastad
4bd76a78ad Update flow diagnostics from upstream master 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
Arash Partow
3affa41830 Update the ExprTk library 2021-01-31 16:58:51 +01:00
Magne Sjaastad
dbf310db9e gha: Update buildcache and relax BUILDCACHE_ACCURACY 2021-01-29 10:38:15 +01:00
Kristian Bendiksen
4759b72b98 Github actions: Fix failing pylint on pull requests. 2021-01-28 21:09:14 +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
1bacd41037
Add Python linting using black (#7276) 2021-01-26 20:48:01 +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
magnesj
8c424ca09b Fixes by cmake-format 2021-01-22 12:21:49 +01:00
Magne Sjaastad
e4b285c169 #7158 WBS plot : Update plot name when water depth changes 2021-01-22 08:21:56 +01:00
Gaute Lindkvist
0d3ea8ede1 Add new passthrough module for rips generated_classes and refactor imports 2021-01-21 20:10:14 +01:00
Gaute Lindkvist
a2ee4c8fef Add a new pass-through module for resinsight_classes.py to aid documentation 2021-01-21 20:10:14 +01:00
Gaute Lindkvist
861577922a Make CMake-setup for python sources work 2021-01-21 20:10:14 +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