Commit Graph

384 Commits

Author SHA1 Message Date
Magne Sjaastad
4e45f397e8 Fix missing includes 2021-06-29 19:09:12 +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
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
7f99a9561b Stim Plan Model: warn and handle error instead of assert. 2021-06-25 11:51:23 +02:00
Kristian Bendiksen
3b5eeb87fa #7715 Add python interface for creating well log plots 2021-06-25 08:45:39 +02:00
Kristian Bendiksen
dd55762249 Stim Plan Model: Use eqlnum from initial pressure case 2021-06-24 10:40:04 +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
Kristian Bendiksen
6fd5564545 #7718 Fix unnecessary error dialog for LAS import 2021-06-24 08:47:36 +02:00
Kristian Bendiksen
dde4f021ab StimPlanModel: replace assert with error handling 2021-06-22 07:17:12 +02:00
Kristian Bendiksen
f498138f4e StimPlanModel: use data from input cases when available 2021-06-22 07:17:12 +02:00
jonjenssen
66b2b50a1d
Enable starting FaultRA processing from 3d view (#7801) 2021-06-18 16:51:05 +02:00
Kristian Bendiksen
da166bd7b9 Revert "#7754 Hide experimental StimPlan Model features behind RESINSIGHT_DEVEL"
This reverts commit 1322bae6b6.
2021-06-16 12:24:12 +02:00
Magne Sjaastad
01c137c2c8 Add missing include 2021-06-14 10:00:28 +02:00
Magne Sjaastad
516d1c0084
Merge pull request #7767 from OPM/faultra_updates4
Fault RA: minor parameter changes
2021-06-14 09:49:46 +02:00
Magne Sjaastad
1350c56eaf Guard nullpointer access and catch exceptions 2021-06-14 08:01:28 +02:00
Magne Sjaastad
60dbb8a715 #7774 Ensemble Statistics : Remove test for match on first reported simulation time step
When computing statistics curves for an ensemble, we computed these values based on curves having identical same timestamp as the first summary case in the ensemble. If the simulator had numerical issues, this first time step can be slightly different from case to case.

Remove this test on first time step, but keep the optional test on last time step.
2021-06-11 18:16:56 +02:00
Magne Sjaastad
4b7744af26 #7771 Summary Plot Resampling: Crash for identical case names but different size
Avoid mix of curve values of different size
2021-06-11 14:48:36 +02:00
Magne Sjaastad
85b333d06d Janitor: Do not search for visible categories if view is closed 2021-06-11 09:37:26 +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
5d701dd12a #7308 Project file: Avoid storing Eclipse Faults file list 2021-06-11 08:06:46 +02:00
Magne Sjaastad
33411b9e79 Janitor : Fix missing formation category 2021-06-11 08:06:46 +02:00
Kristian Bendiksen
9d29ba47b0 StimPlan Model: Fall back to replacement values from input property 2021-06-10 15:51:29 +02:00
jonjenssen
f9129e767f Make sure fault_ra parameter file is overwritten.
Adjust digits in loadstep strings to max number of steps.
Always use 0 as first step for adv. processing.
2021-06-10 14:27:21 +02:00
Magne Sjaastad
40c44983f4 #7761 Objective Function : Fix typo for history vector 2021-06-10 11:31:26 +02:00
Magne Sjaastad
c6be89b61c Janitor : Adjust default font size 2021-06-10 11:06:36 +02:00
Magne Sjaastad
9f85975f2c Janitor : Improve icons and availability for new statistics 2021-06-10 09:33:22 +02:00
Kristian Bendiksen
42f998a7a5 #7763 Interpolate missing values for initial pressure
Fix problem with inf and NaN in exported Geological.frk.
This could happen when there is no grid cells of a given
EQLNUM for a given depth.

Also fix index issues due to mixing extractions with
and without over/underburden.
2021-06-09 21:23:50 +02:00
Magne Sjaastad
4de91e885b #7761 Objective Function : Change formula and add several options 2021-06-09 21:22:37 +02:00
Magne Sjaastad
c89e00b966 Janitor : Remove confusing defaultExtent for an intersection 2021-06-09 21:18:42 +02:00
Magne Sjaastad
8259220abd #7765 Well Log Curves : Improve handling of units 2021-06-09 21:18:42 +02:00
Kristian Bendiksen
1322bae6b6 #7754 Hide experimental StimPlan Model features behind RESINSIGHT_DEVEL 2021-06-08 09:08:33 +02:00
Kristian Bendiksen
2390c91d9f #7755 Move "Create StimPlan Model" menu item. 2021-06-08 09:08:33 +02:00
Magne Sjaastad
e1e7201b9b #7742 Contour map : Fix mix of global grid and result index
Always use globalGridCellIndex for grid cells
Always use resultGridIndex for result property vectors
2021-06-04 08:30:15 +02:00
Magne Sjaastad
33a1bbb6d6 #7742 Contour map : Do not use activeCellInfo for all results
Some results have values for each global grid cell. Do not use the active cell index when computing contour maps.
2021-06-04 08:30:15 +02:00
Magne Sjaastad
b3467a2fca #7739 Show only visible categories in legend
For the main Cell Result Legend, add an option to only show visible categories
2021-06-01 08:09:47 +02:00
Magne Sjaastad
6e0dadbdaa #7739 Preparations : Expose reservoir cell IDs used to generate geometry 2021-06-01 08:09:47 +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
Kristian Bendiksen
5d703b2a08 #7711 Statistics Plot: Remove border when gap width is zero. 2021-05-29 10:00:27 +02:00
Kristian Bendiksen
ae2af64c24 #7712 Statistics Plot: replace "Bar Width" with "Gap Width"
Also changed range from fraction to percentage, and inverted logic.
2021-05-29 10:00:27 +02:00
Kristian Bendiksen
429d1e4166 StimPlanModel export: use linear interpolation as last fallback for EQLNUM 2021-05-29 09:57:39 +02:00
jonjenssen
326a1765ef Include all timesteps in preproc file, not just from/to
Convert angle to radians.
2021-05-29 00:47:03 +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
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
59c14b2a53 Well Path Completion Type : Make sure all completions are visible
For MLT wells, make sure the previous defined completion types are not overwritten by laterals
2021-05-27 12:52:57 +02:00
Magne Sjaastad
73551b0ec8 Janitor: Check if bounding box is valid before use 2021-05-27 12:52:57 +02:00
Magne Sjaastad
57cd46c4e2 #7727 Well Path : Select modified well path when tie-in changes 2021-05-27 12:52:57 +02:00
Magne Sjaastad
f9ffd248f1 #7727 Well Path : Do not show context menu for tree nodes 2021-05-27 12:52:57 +02:00
jonjenssen
ec9713212e Smoothing is default on
Fix timestep and odb case name issues.
2021-05-26 14:56:18 +02:00
Magne Sjaastad
098fda9816 Janitor : Remove duplicated code 2021-05-26 13:28:45 +02:00
Magne Sjaastad
9d58769f89 Janitor : Avoid include of header file in header 2021-05-26 13:28:45 +02:00
Magne Sjaastad
3fca5f15ae Janitor : Use enum class 2021-05-26 13:28:45 +02:00
jonjenssen
832bd6c58f Make sure we use the correct timestep index to avoid a crash. 2021-05-26 10:44:01 +02:00
Magne Sjaastad
b8f7490311 #7655 Well Allocation Plot: Add more guarding for empty vectors
wip
2021-05-25 22:36:01 +02:00
Magne Sjaastad
a4a6c30370 Fwk : Add function to get all referenced PdmObjects 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
jonjenssen
304ba4dedc Add bash/csh for external scripts on linux. 2021-05-20 14:45:38 +02:00
Kristian Bendiksen
d96e28b433 StimPlan Well Log Calculator: log missing result name when replacing missing values. 2021-05-20 07:18:44 +02:00
Kristian Bendiksen
f72890584f StimPlan Model Calculator: guard against inf/nan in stress calculation. 2021-05-20 07:18:44 +02:00
Kristian Bendiksen
3b383f1a57 StimPlan Model Calculator: Add more error checking for stress calculation. 2021-05-20 07:18:44 +02:00
jonjenssen
1465b179c5
Disable streamlines icon in explorer for eclipse input cases. (#7697) 2021-05-19 18:24:02 +02:00
Magne Sjaastad
b518acada6 Janitor : Use enum class 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
33c9b47e9e Set default bin count to 50 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
5566db7b28 Use less generic names to work-around msvc compilation failure 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
31734d04cb Grid Statistics Plot: Add ui for histogram configuration. 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
8d1bc7bfd9 #7664 Statistics Plot: add option for relative frequency in histogram 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
b00734265a #7682 Statistics Plot: Add user-defined histogram bar width. 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
0dfe9e2383 #7665 Grid Statistics Plot: make histogram bar color configurable. 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
647f7834f0 #7663 Ensemble Statistics Plot: Add user input for number of histogram bins. 2021-05-18 08:58:40 +02:00
Kristian Bendiksen
7c7f319e41 #7670 Show Ensemble Fracture Statistics as table 2021-05-18 08:17:45 +02:00
Kristian Bendiksen
9ad8b6ce69 #7671 StimPlan XML import: fix unit system assert on missing file. 2021-05-12 16:02:40 +02:00
Magne Sjaastad
5f44c994bf #7655 Well Allocation Plot: Remove assert causing crash 2021-05-11 15:03:05 +02:00
magnesj
d7c821844a Fixes by clang-tidy 2021-05-11 09:47:00 +02:00
Magne Sjaastad
1a6c5bc895 Add static cast to avoid warnings 2021-05-11 09:42:33 +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
b116247273 #7609 Ensemble Fracture Statistics: Reorder UI elements 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
8b2173f951 Refactor: Use PlotCollection interface more places. 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
0fb69f7524 #7609 Add simpler plot collection interface 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
d8b80bb988 #7609 Start using RimAbstractPlotCollection interface 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
946e886bff #7609 Move loading of plot data into main plot collection. 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
7e73a4a0bd #7609 Avoid by-passing parent in class hierachy. 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
78e4379003 Guard against inf warning from QtCharts in StatisticsPlot. 2021-05-10 14:03:52 +02:00
Kristian Bendiksen
ac079eef82 Improve display name for Ensemble Fracture Stats collection. 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
Kristian Bendiksen
b662a87267 #7609 Refactor to reuse plotting part of Statistics Plot. 2021-05-10 14:03:52 +02:00
Magne Sjaastad
211a9ff915 #7647 PERM and other arrays default colour legend type change
Restore default color legend to "Continuous Logarithmic" instead of "Discrete Logarithmic"
2021-05-04 07:12:58 +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
536e656684 #7633 Summary Reader : Resolve symlinks for h5 file management 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
Kristian Bendiksen
b777ad9c74 #7557 Ensemble Fracture Statistics: Reuse existing templates with same name. 2021-04-27 22:53:00 +02:00
Kristian Bendiksen
329b8e114f #7556 Ensemble Fracture Statistics: report formation dip statistics. 2021-04-27 22:52:37 +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
9b6371c5c7 #7622 Summary Restart : Remove unused includes 2021-04-27 16:08:57 +02:00
Kristian Bendiksen
1d210bb66a #7608 Ensemble Fracture Statistics: Exclude cells with few samples for mean. 2021-04-27 08:11:26 +02:00
Kristian Bendiksen
09962c2140 #7558 Ensemble Fracture Statistics: Add option for aligning by depth 2021-04-26 09:10:51 +02:00
Kristian Bendiksen
540b74e899 #7559 Improve name of "Number of Layers" choice. 2021-04-23 15:36:42 +02:00
Kristian Bendiksen
e7867d643b #7559 Remove some debug code. 2021-04-23 15:36:42 +02:00
Kristian Bendiksen
d7ce59724c #7559 Guard against inf. 2021-04-23 15:36:42 +02:00
Kristian Bendiksen
cae5e1062f #7559 Adaptive meshing in y direction. 2021-04-23 15:36:42 +02:00
Kristian Bendiksen
b69acb80f3 #7559 Refactor to allow for adaptive mesh 2021-04-23 15:36:42 +02:00
Kristian Bendiksen
bb3f736408 #7559 Ensemble Fracture Statistics: add option for adaptive mesh. 2021-04-23 15:36:42 +02:00
Ruben Thoms
4b0f3486ad Added icons for VFP and help actions 2021-04-21 15:21:45 +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
c2f0f604fe Fishbones : Make sure random direction works 2021-04-20 11:05:33 +02:00
Magne Sjaastad
a6277c0ddc
Make opm summary reader work with mixed casing (#7593)
* #7592 opm-common : Add case insensitive file search
* #7592 opm-common : Find file based on case insensitive search
* #7592 opm-common : Improve error messages
2021-04-19 16:40:29 +02:00
Magne Sjaastad
3d3d787bd8 #7585 Multi Lateral Well Adjustments : Fix random orientation fishbones 2021-04-19 11:16:36 +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
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
Kristian Bendiksen
7f35fb23c4 #7561 Ensemble Fracture Statistics: Select subset of statistics to compute. 2021-04-14 13:07:36 +02:00
Magne Sjaastad
d9cf453c1a Ensemble Curve Filter : Set filter unchecked as default 2021-04-13 10:40:37 +02:00
Magne Sjaastad
60683fd0cc Add missing include 2021-04-13 10:38:12 +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
cc5e1ca20a #7493 Use average "well path at fracture depth" for positioning. 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
f3a2062fec #7493 Sample at center of cell to avoid infs. 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
49042f4a34 #7493 Correct sampling direction (was flipped). 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
25d7c6d30d #7493 Add button to trigger statistics computation. 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
acd483f04b #7493 Handle units in fracture group statistics export. 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
49c2b16058 #7493 Export multiple results in same Stimplan xml 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
3ec177eeb4 #7493 Export fracture statistics as StimPlan xml. 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
9af2389ced #7493 Use enum for statistics types. 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
e3852e5d6e #7493 Compute statistics for fracture group. 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
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
eab5bc79c9
Fix path in clang-tidy workflow (#7542) 2021-04-06 21:04:31 +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
eea2356459 Fix includes correlation plots 2021-04-05 02:56:15 -07:00
Magne Sjaastad
c5ac85953b
#7524 Correlation plot filter 2021-03-29 15:45:53 +02:00
Magne Sjaastad
5d45a8cec9 #7520 Undo framework: Improve local disabling of undo framework 2021-03-29 09:59:26 +02:00
Magne Sjaastad
7cf2ed2e8c #7488 RFT plot: Estimate MD/TVD for two or more observations
Not possible to estimate MD/TVD relationship for less than two samples
2021-03-29 09:59:26 +02:00
Magne Sjaastad
fd8d38c4f0 #7519 Curve calculator: Assign unique ID after copy of calculation
Avoid duplicate entries in summary selection dialog
2021-03-26 12:05:52 +01:00
Magne Sjaastad
f5547dd551
#7512 Support optimized summary reader 2021-03-25 12:56:09 +01:00
Kristian Bendiksen
53dbb33e86
StimPlanModelPlot: Remove gaps in stress gradient and temperature curves 2021-03-23 14:56:02 +01:00