Commit Graph
40 Commits
Author SHA1 Message Date
jonjenssen 750c1832e5 Ignore CMakePresets.json file used by VisualStudio (#8131) 2021-10-07 09:19:12 +00:00
jonjenssen 7b78c2d35b GeoMech: show deformations in grid view (#8123)
Enable support in geomech view to show grid deformations
2021-10-07 02:12:42 +02:00
jonjenssen 72ce82b08b Add parameter value check to see if it is possible to continue or not. (#8091) 2021-10-01 16:32:11 +02:00
jonjenssen 69c829dc32 Make sure we load two results files after wia script has completed. (#8088) 2021-10-01 15:15:30 +02:00
jonjenssen c88424dbcf Revert "Use devtoolset-9 on CentOS 7"
This reverts commit 72dcc46e27.
2021-09-30 08:18:03 +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
jonjenssen de1d02e7bc Rewrite to make code compile (#8061)
It should now be possible to build on centos 7, too
2021-09-28 11:31:13 +02:00
jonjenssen d206a93939 Fix comment typo 2021-09-27 13:21:00 +02:00
jonjenssen 72dcc46e27 Use devtoolset-9 on CentOS 7 2021-09-27 13:18:40 +02:00
jonjenssen d09ae4e1cb Improved ODB support (#8046)
* Experiments for supporting visualization of new ODB files from WIA workflow

* Some more experiments to get odb working for wia results

* More work in progress, experimenting to get wellIA result files to load properly

* Make sure all part geometries use the same global bounding box

* Clean up code

* Add some safeguards for data calculations
Move parts below grid in project tree

* Fix warnings

* Add support for C3D8RT elements
Add some more safeguards for missing data
Remove strange part handling

* Support elements with reduced number of integration points by pretending to have 8.

* Change integration point mapping to correct order (ref. Stein and Abaqus 2019 doc)

* Do not allocate too much memory for element nodal results for 20 element node types

* Code cleanup.
Revert back to old integration point numbering scheme (ref. Stein)

* And, another integration point order update...

* Update comments
2021-09-27 12:44:29 +02:00
jonjenssen 0c69cdf203 Use only one implementation of lineIndicesFromQuadVertexArray (#7980)
* Use only one implementation of lineIndicesFromQuadVertexArray
2021-09-10 06:19:44 +00:00
jonjenssen a5b80c649b Merge pull request #7960 from OPM/geomech_WIA4
GeoMech: Well Integrity Analysis
2021-09-09 17:34:27 +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
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
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
jonjenssen e2e04db6eb Write numbers as numbers in json, not strings (#7736) 2021-05-28 15:24:30 +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
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
jonjenssen 2e08f278ca Surface: click on surface in 3d view to display value (#7702)
* Support showing result info for surfaces when clicking on them in the 3d view
2021-05-20 10:29:20 +02:00
jonjenssen 242e23a7c9 Fix crash when exporting surface. (#7705) 2021-05-20 10:28:53 +02:00
jonjenssen 1465b179c5 Disable streamlines icon in explorer for eclipse input cases. (#7697) 2021-05-19 18:24:02 +02:00
jonjenssen 4a4db5a3f2 Fault reactivation assessment #7321 (#7690)
Fault Reactivation Assessment implementation (ref issue #7321)
2021-05-18 14:28:54 +02:00
jonjenssen 36b9f38e3b Python code linting changes detected by black 2021-04-27 08:01:15 +02:00
jonjenssen 766ea6aab2 Streamline improvement (#7435)
* Use updated generator. Switch to using priority list for seeds. Fix phase reporting and sign issues. Fix step size when growing.
* Reduce memory footprint by simplifying viz. code and filter out unused tracers early
* Remove unused viz. code.
2021-03-02 01:53:31 +01:00
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
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
jonjenssen a01c511308 Make sure surfaces are turned off in all contourmaps. (#7241) 2021-01-19 14:59:06 +01:00
jonjenssenandMagne Sjaastad 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
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
jonjenssen 74f413b6d6 Rearrange cell filter related files in source code tree (#6998)
* Move cell filter related classes to separate subfolder
* Update cmake files
2020-11-16 17:07:16 +01:00
jonjenssen 5c4498db9f RFT Plot - make sure we handle feet vs. meters in well log type plots (#6551)
* Fix the meter <-> feet conversion (it was backwards)

* Make sure we refresh the plots after changing the depth axis unit

* Make sure formation overlays etc. also gets converted to correct depth unit (correct as in the same unit any loaded Eclipse Result case use)
2020-09-25 11:14:56 +02:00
jonjenssen 8bb460c2db Make sure we read the LAS file contents, too, when loading a project (#6507)
* Make sure we read the LAS file contents, too, when loading a project
* Refactor WellPathCollection data loading on project open to simplify things a bit.
2020-09-21 10:59:08 +02:00
jonjenssen bc82166151 Support for copying GeoMech case settings using new input (#6471)
* Support copy and replace geomech case, to support importing another data file, but keep the view setup

* Make sure surfaces and intersections get updated with the correct separate result, too

* Simplify/refactor code

* Better naming
2020-09-10 12:54:43 +02:00
jonjenssen f38d119cc8 Add reordering to some more collections (#6430)
* Add reordering to some more collections

* Fix unused vars
2020-09-07 13:48:42 +02:00
jonjenssen cfe64f5706 Surface python interface (#6370)
* Add python interface for importing surfaces with example.
2020-08-26 12:31:23 +02:00
jonjenssen 7cb9a071c1 Surface: Support for folders, copy and drag'n'drop (#6335)
* Enable surface reordering support. Automatically update surface in view ordering based on surface collection ordering

* Remove obsolete code

* Enable drag'n'drop support for surfaces within a surface collection. Still missing the collection update part.

* Bring back code lost in prev. commit

* Add code to accept drops in surface collections. Keep view  in sync.

* Add command for adding additional surface folders.

* Make sure we use the current surface collection as our parent when importing

* Enable name editing.
Make sure we use the correct surface collection when importing/creating surfaces

* More work on getting surface collections working.

* Clean up naming

* Make sure name for surfaceinviewcollection is read only

* Support drawing surfaces from subcollections, too

* Allow deleting subfolders.
Fix legends in view

* Refactor topmost flag for surface collections.

* Fix reload surface to work in all subfolders, too
Add copy surface skeleton. Actual copy operation is still missing

* Add support for copying surfaces

* Remove possibility to choose I and J slice directions for grid case surfaces.

* Fix warnings.

* Make sure we create the surface folder at the correct level

* More warning fix

* Use XML serialization for copy operation

* Fix missing delete

* Fix typo

* Remove unnecessary method.
2020-08-24 11:09:22 +02:00
jonjenssenandgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> bbc659799e Surfaces: Improve UI and usability for surfaces (#6290)
* Add reload command to surface context menus. Still missing the part that actually reloads the data.

* Add additional check for null ptr to avoid crash

* Surfaces: implements reload command in context menu to reload surface data from its source (i.e. a file).
Rename function names to better show what they are actually doing
Refactor a bit to give all RimSurface subclasses the same interface for reloading data.
Also makes sure new RimGridCaseSurface instances are shown by default in the view(s)

* Fixes by clang-format

* Include offset and slice index in surface name shown in project explorer

* Allow importing the same file multiple times

* Disable lighting for surfaces, as it doesn't look good for now. Fixes #6084

* Surfaces: Remove depth offset setting from view. Add slider to depth offset edit for surface

* Create new surfaces only on collection context menu

* Make sure tree view icon is enabled/disabled when the check box is clicked

* Fix depth offset for grid case surfaces, missing base function call.

* Make public method .. public.

* Add reload command to surface context menus. Still missing the part that actually reloads the data.

* Add additional check for null ptr to avoid crash

* Surfaces: implements reload command in context menu to reload surface data from its source (i.e. a file).
Rename function names to better show what they are actually doing
Refactor a bit to give all RimSurface subclasses the same interface for reloading data.
Also makes sure new RimGridCaseSurface instances are shown by default in the view(s)

* Fixes by clang-format

* Include offset and slice index in surface name shown in project explorer

* Allow importing the same file multiple times

* Disable lighting for surfaces, as it doesn't look good for now. Fixes #6084

* Surfaces: Remove depth offset setting from view. Add slider to depth offset edit for surface

* Create new surfaces only on collection context menu

* Make sure tree view icon is enabled/disabled when the check box is clicked

* Fix depth offset for grid case surfaces, missing base function call.

* Make public method .. public.

* Fixes by clang-format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-11 11:34:34 +02:00
jonjenssen ad7c62bceb Merge pull request #6270 from OPM/surface_bugfixes
Hide surfaces when generating contour map view
2020-08-05 14:58:43 +02:00
jonjenssen 652dd838ed Merge pull request #6269 from OPM/clang-format-patches
Fixes by clang-format
2020-08-05 14:12:32 +02:00