Commit Graph

525 Commits

Author SHA1 Message Date
Kristian Bendiksen
7daed80af7 #6364 Use SI unit for thermal expansion coefficient.
And convert from SI unit (1/degrees Celsius) to field units (1/degrees
Fahrenheit) for the export.
2020-08-26 10:23:03 +02:00
Kristian Bendiksen
1b5be32994 #6364 Add more default values and export for Stimplan detailed fluid loss.
Added in this commit:
* Relative Permeabilty factor
* Poro-Elastic Constant
* Thermal Expansion Coefficient.
2020-08-25 16:16:52 +02:00
Kristian Bendiksen
d0322a98ba #6364 Stimplan: add curve and export for reservoir temperature. 2020-08-25 16:16:52 +02:00
Kristian Bendiksen
ddc23fa5ea #6364 Add scaffolding for exporting detailed fluid loss for Stimplan. 2020-08-25 16:16:52 +02:00
Gaute Lindkvist
f82b2f73ec #6320 Refactor of PdmScripting
* Make base class abstract
* Implement support for IOHandling for PdmChild and PdmChildArray fields
2020-08-25 08:33:47 +02:00
Kristian Bendiksen
307639a7d1 #6232 Add python api for exporting fracture model plot to frk file. 2020-08-18 10:12:10 +02:00
Kristian Bendiksen
a79b794eab #6232 Add python api for creating fracture model. 2020-08-18 10:12:10 +02:00
Kristian Bendiksen
7c69fc61ef #6232 Make fracture model pdm objects scriptable. 2020-08-18 10:12:10 +02:00
Kristian Bendiksen
a0dce934f0 #6173 Fix conversion for over/underburden pressure. 2020-07-13 10:39:23 +02:00
Kristian Bendiksen
cb9e3fe30d #6173 Improve pressure extrapolation in overburden and underburden.
Use gradient derived from fluid density.
2020-07-10 11:59:33 +02:00
Kristian Bendiksen
b8890defa2 #6212 Fracture Model Plot: Add option use data from other curves when missing values 2020-07-10 09:18:45 +02:00
Kristian Bendiksen
440afdb20c #6172 Fracture Model Plot: Update stress curves when pressure changes. 2020-07-08 09:57:36 +02:00
Kristian Bendiksen
cac8607707 Use defined string for facies colors legend name. 2020-07-02 14:00:43 +02:00
Kristian Bendiksen
3425031e27 #6038 Avoid crashing when facies colors does not exist. 2020-07-02 08:58:40 +02:00
Kristian Bendiksen
9f0a6c6223 #6038 Add support for overburden and underburden. 2020-07-02 08:58:40 +02:00
Magne Sjaastad
ec03627fae MSW : Make sure the ICV is using the full perforation interval #6152 2020-06-26 15:41:20 +02:00
Magne Sjaastad
44b3cb76df #6138 Valve Export : Make sure the valves always use the valve interval, not perforation interval 2020-06-25 08:12:24 +02:00
Kristian Bendiksen
f2696b003d #6064 Compute stress and stress gradients for fracture model plot. 2020-06-18 19:11:37 +02:00
Kristian Bendiksen
e23cee8124 Add horizontal permeability. 2020-06-18 19:11:37 +02:00
Kristian Bendiksen
89473aa9bd #6035 Handle missing values in fracture model plot. 2020-06-10 07:20:39 +02:00
Kristian Bendiksen
5ddfd4f9da #6007 Rename Facies Properties to Elastic Properties. 2020-06-05 12:36:30 +02:00
Kristian Bendiksen
466827e7d0 #6007 Reload facies properties when project is reopened. 2020-06-05 12:36:30 +02:00
Kristian Bendiksen
38ec6e5069 #6007 Minor ui tweaks. 2020-06-05 12:36:30 +02:00
Kristian Bendiksen
79af3d7379 #6007 Add user interface for facies properties. 2020-06-05 12:36:30 +02:00
github-actions[bot]
674b764cb6 Fixes by misspell-fixer 2020-06-04 08:24:58 +02:00
Magne Sjaastad
08f3789c01 #5899 Fracture: Make sure the angle is in 0..90 interval 2020-05-26 07:45:23 +02:00
Magne Sjaastad
c548c4a12b #5899 Fracture: Use robust way to find diff between two angles 2020-05-26 07:45:23 +02:00
Kristian Bendiksen
c366e85682 Refactor delete operations for pdm objects. 2020-05-22 07:02:53 +02:00
Kristian Bendiksen
20ca3354b9
Stimplan preprocessor refact (#5895)
* #5633 Add Fracture Model data object.
* #5633 Add visualization for Fracture Model.
* Use thickness direction well path.
* #5834 WIP Fracture Model: Extract facies names along thickness direction vector
* Update to class enums.
* Remove RimFractureModel dip, tilt and azimuth (no longer used).
* #5824: Fix fracture model direction relative to formation dip
* Workaround problem in generated python code which breaks tests on linux. See #5862.
* Update name of thickness direction well path.
* #5834 Add import command for facies roff file.
* #5834 Show color legend data in facies track.
Also make it possible to change the data source for the curve data in plot.
* Fracture Model: replace "Thickness Type" with "Extraction Type".
* Use shorter curve legends in fracture model plot.
* Use class enum for RimFractureModel::ExtractionType.
* Use RimProject::current() instead of RiaApplication::instance()->project().
* Simplify RimFractureModel by not implementing Rim3dPropertiesInterface.
* Use scoped enums in RiaPlotAnnotationTool.
* Remove unused RimFractureModelPlot fields.
* Hide fracture model plots field, and add accessor methods.
2020-05-14 06:39:55 +02:00
Kristian Bendiksen
c016c02e40 Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
2020-05-12 12:01:44 +02:00
Kristian Bendiksen
4dfa975836 Fix warnings about "statement without effect" on gcc 7 on linux. 2020-04-30 12:46:50 +02:00
Magne Sjaastad
95fc63fe7c Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
f89dcf4e52 Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
db2ca4f98a #5592 Well Path : For well paths with two targets, a fracture and perf interval fails to work 2020-02-26 14:12:10 +01:00
Magne Sjaastad
c82df63e10 #5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
2020-02-12 13:35:31 +01:00
Magne Sjaastad
10f0abc9b5 #5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
2020-02-12 13:35:31 +01:00
Jacob Støren
7f1ccc0169 #5147 RimStimPlanFractureTemplate::m_stimPlanFileName -> FilePath 2019-12-11 08:30:32 +01:00
Magne Sjaastad
57cab2457e clang-format : Set PenaltyBreakAssignment to 130 2019-11-04 15:08:09 +01:00
Magne Sjaastad
7c8cf60dba clang-format : Set AllowAllParametersOfDeclarationOnNextLine to false 2019-11-04 14:35:41 +01:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Magne Sjaastad
ef80f5b629 #4683 System : Remove obsolete include of cvfBase.h 2019-09-06 10:52:54 +02:00
Magne Sjaastad
cf00cb4809 #4497 Fishbones : Set default fishbones to use spacing 2019-06-20 12:01:00 +02:00
Gaute Lindkvist
30769d7f2a Rename caf::PdmUiItem::setUiIcon(QString) to setUiIconFromResourceString 2019-05-06 11:08:59 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless (#4392)
* Revert "#4377 Octave : Use RiaLogging for error messages instead of QErrorMessage "

This reverts commit f758a8edb2.

* Revert "#4380 Preferences : Changing scene font size when geo mech view is open causes crash"

This reverts commit df62a41397.

* Revert "#4379 Documentation : Update command line parser for import of summary files"

This reverts commit d0b5357ed4.

* Unfinished WIP

* Builds but crashes

* Refactored code now builds and runs

* ResInsight can now run the unittests headless

* Can run some command files successfully

* Build on Linux

* Extra headless hack header

* Moved PdmUiItem hack to cpp file

* Fix headless crash in RimWellAllocationPlot

* Handle error gracefully if ExportSnapshots command is executed from console

* Add caf::QIconProvider and remove some hacks

* Also made the greying out of disabled icons work for a couple of cases where it didn't.

* Linux build fix

* #4380 Reimplement fix df62a41397 by @magnesj on top of Headless code changes

* #4379 Reintroduce kode from d0b5357ed4 by @magnesj

* #4377 Restore f758a8edb2 in new Headless code
2019-05-06 10:36:05 +02:00
Gaute Lindkvist
2452bc3a21 #4364 Make sure the correct flow coefficient is exported for ICDs/ICVs in WSEGVALV MSW export 2019-04-26 08:29:04 +02:00
Magne Sjaastad
c2fb16a4d3 #4352 Fractures : Make sure appropriate value is always returned 2019-04-25 08:20:48 +02:00
Magne Sjaastad
319050b992 #4352 Fractures : Delegate isEnabled to leaf classes 2019-04-25 07:25:52 +02:00
Magne Sjaastad
843a791218 #4348 System , cppcheck : Remove unused functions 2019-04-21 09:28:23 +02:00
Magne Sjaastad
8d4142187e #4348 System , cppcheck : Remove unused functions 2019-04-21 09:11:20 +02:00
Gaute Lindkvist
4439f7609b #4317 Add default ellipse fracture template 2019-04-16 13:30:03 +02:00
Gaute Lindkvist
cd870f089b #4304 Add pre-defined templates for each valve type and fix icons and labels. 2019-04-09 13:30:20 +02:00
Gaute Lindkvist
64f537ad05 Make valve templates a bit more accessible 2019-04-08 14:24:43 +02:00
Magne Sjaastad
189234c0c9 #3920 Create Well Path: New well name not used in Completions 2019-02-07 08:44:12 +01:00
Gaute Lindkvist
7a50fa12f8 #3953 Extend well completions spec 2019-01-29 10:18:20 +01:00
Gaute Lindkvist
a185929826 #3984 Improve layout for new/edit template buttons for valve/fractures 2019-01-28 15:29:20 +01:00
Gaute Lindkvist
80c99f452f Set Default unit label on correct field in valve template collection 2019-01-28 15:29:20 +01:00
Gaute Lindkvist
49a6650e77 Make Valve template units visible 2019-01-23 11:01:48 +01:00
Gaute Lindkvist
fb92b548c5
#3966 Add buttons for creating/editing fracture templates from fractures (#3973)
* #3966 Add buttons for creating/editing fracture templates from fractures

* Make sure view is updated whenever a new template is created from the fracture
2019-01-16 14:57:43 +01:00
Gaute Lindkvist
314a5747db #3957 Restore UI-order in Well Path Valve property editor 2019-01-15 17:13:23 +01:00
Gaute Lindkvist
5c24153646 #3957 Add button to valve for creating new valve template or editing existing template
* Also added separate delete valve feature so we can clear the template and update the valves referencing it.
2019-01-15 14:30:26 +01:00
Magne Sjaastad
d460d3d77d #3944 clang-tidy : Apply modernize-deprecated-headers 2019-01-11 08:14:53 +01:00
Magne Sjaastad
81c3ee5df2 #3944 System : Improve code quality using clang-tidy
Remove redundant virtual and add override
2019-01-11 08:14:53 +01:00
Magne Sjaastad
6db80f40b9 #3856 Update copyright headers 2019-01-09 15:29:24 +01:00
Gaute Lindkvist
ac1f57e5f9 #3915 Make valve count mode label "Start/End/Number" instead of "Start/End/Number of Valves".
* This way it works for both ICDs/AICDs and fishbones.
* Not necessary for patch branch.
2018-12-20 14:21:47 +01:00
Gaute Lindkvist
8442cc3f92 #3915 use subs instead of valves for fishbones 2018-12-20 14:10:20 +01:00
Gaute Lindkvist
975cd15c32 #3910 Unit test for reg exp validator 2018-12-20 09:50:05 +01:00
Gaute Lindkvist
394c84efef #3854 Add MSW reference depth to Perforations 2018-12-18 17:09:43 +01:00
Gaute Lindkvist
7296c11bc2 #3877 Add RegExp-validator to "Well name for export" field for COMPDAT export
* Max 8 characters, minimum 1
* Only alpha-numeric characters and hyphen and underscore are acceptable. (no space)
2018-12-18 17:09:43 +01:00
Magne Sjaastad
024aa8af51 #3782 StimPlan : Beta value of zero invalidates mean calculation 2018-12-17 16:24:42 +01:00
Magne Sjaastad
67d0d5f38d #3891 StimPlan : BETA values for transversal and azimuth 2018-12-17 11:17:41 +01:00
Gaute Lindkvist
d6e40f25ff #3879 Rename valve location parameter to Number of Valves 2018-12-14 16:03:04 +01:00
Gaute Lindkvist
3adb1cc4bd #3884 Implemented Valve Templates for MSW parameters 2018-12-14 16:03:04 +01:00
Gaute Lindkvist
47bb14eb06 #3864 Update and clamp valve positions to perforation interval when perforation interval changes. 2018-12-14 08:45:43 +01:00
Gaute Lindkvist
92e4fa9024 #3863 fix default MSW parameters for perforation intervals. 2018-12-12 15:37:10 +01:00
Gaute Lindkvist
3dafd06859 #3850 Implement calculation of AICD length 2018-12-11 16:21:17 +01:00
Gaute Lindkvist
5368574848 #3846 Make HF- the default pressure drop for MSW and put quotes around the text. 2018-12-11 15:32:07 +01:00
Gaute Lindkvist
15576a9ae3 #3779 Preliminary AICD output 2018-12-07 15:48:18 +01:00
Gaute Lindkvist
539914a541 Fix crash in RimWellPathValve when perforation is larger than wellpath
* This is the case with the Completions_msw Regression test
2018-12-07 12:58:03 +01:00
Gaute Lindkvist
e677778ddd #3828 Refactor Completion export code by splitting out MSW export into separate files
* Plus fill in some incomplete functionality regarding MSW export
2018-12-07 09:46:39 +01:00
Gaute Lindkvist
29c3e10617 #3779 Implement AICD ui and settings 2018-12-05 15:47:16 +01:00
Gaute Lindkvist
e67a9ef12a Make sure changes to valves and perforation interval visibility is reflected in track. 2018-12-05 15:47:16 +01:00
Gaute Lindkvist
420944e910 #3442 Improve ICD/ICV export to add a small 0.1 length segment for each segment containing valves. 2018-12-05 15:47:16 +01:00
Gaute Lindkvist
f14d36ca23 #3442 Implement export of ICD/ICV table for performations 2018-11-29 15:26:22 +01:00
Gaute Lindkvist
f0d3a36374 #3442 Change defaults for ICDs to values suggested in meeting 2018-11-29 15:25:53 +01:00
Gaute Lindkvist
2414865dbe #3442 UI For ICD/ICV parameters 2018-11-29 15:24:39 +01:00
Gaute Lindkvist
ae8cb9d210 #3741 Make it possible to enable/disable all well path components in plots and 3d view.
* Add check box to casing design and update of plot
* Add isEnabled() method to component interface which controls plotting.
2018-11-22 13:39:08 +01:00
Magne Sjaastad
17524f66f8 #3696 Non-Darcy perforation intervals : Set default radius 2018-11-22 09:50:50 +01:00
Magne Sjaastad
a225d1fd1a #3696 Non-Darcy perforation intervals : Remove unit constant from UI 2018-11-22 09:46:40 +01:00
Magne Sjaastad
4117e266ed #3686 Completion Export : Use map based on size_t instead of RigCompletionDataGridCell
Using RigCompletionDataGridCell as key in a map causes cells with identical local IJK to be treated as same global cell. Use reservoir grid cell index (size_t) as key to be able to handle cells correctly.
2018-11-14 11:40:23 +01:00
Magne Sjaastad
063c0533b3 #3625 Fracture header : Use RigTransmissibilityEquations 2018-11-05 10:53:35 +01:00
Magne Sjaastad
5e15e1d8e6 #3613 Fishbones : Crash when user defined locations is empty 2018-11-02 12:30:35 +01:00
Jacob Støren
a1705c5e39 #3487 Use icons for the different MSW valves 2018-10-31 09:48:36 +01:00
Magne Sjaastad
7813527a33 #3533 Perforation Interval : Whitespace and cleanup 2018-10-26 12:09:29 +02:00
Magne Sjaastad
5f329509c3 #3533 Perforation Interval : Allow init of sliders for two well targets 2018-10-26 12:09:05 +02:00
Gaute Lindkvist
1d0fc606d3 Fix ubuntu build problem due to fabs() use without header 2018-10-22 10:38:39 +02:00
Gaute Lindkvist
2194821609 #3527 Implement multiple ICD/AICDs for perforation intervals. 2018-10-22 09:35:35 +02:00
Gaute Lindkvist
43552fde88 #3527 Split out the valve locations from RimFishbonesMultipleSubs.h 2018-10-22 09:35:35 +02:00
Magne Sjaastad
4632fd7dff Whitespace 2018-10-19 15:43:29 +02:00
Magne Sjaastad
fa2d96ebcf #3534 Completion Export : Hide option when width values are missing 2018-10-19 15:28:13 +02:00
Magne Sjaastad
6346ed012c clang-tidy : Remove redundant 'virtual' and add 'override' 2018-10-18 19:45:57 +02:00