Commit Graph

1256 Commits

Author SHA1 Message Date
Jacob Støren
01673f31cb Remove uninitialized variable used compiler warning 2018-09-11 08:36:00 +02:00
Magne Sjaastad
bbebbf108f #3340 Remove unused variables 2018-09-10 10:27:54 +02:00
Gaute Lindkvist
c1884bb67e #3340 Well Bore Stability (and warning level): Check for valid segment stress before calculating stability curves.
* This removes a compile time warning about unused validSegmentStress variable.
2018-09-10 10:26:12 +02:00
Gaute Lindkvist
2932545ed8 #3333 Rename POISSON_RATIO to RATIO for element property tables. 2018-09-07 10:51:50 +02:00
Gaute Lindkvist
8eda5bcbb9 #3313 Implement weighted average of WBS data. 2018-09-07 10:49:00 +02:00
Gaute Lindkvist
51434dd304 #3316, #3317 Change order of preference for Pore Pressure and set valid regions for SFG and FG. 2018-09-07 10:49:00 +02:00
Gaute Lindkvist
847c6127b0 #3308 Fix formation names in well log tracks. 2018-09-05 15:19:22 +02:00
Magne Sjaastad
58f8b3bfbb Rename 2018-09-05 12:43:25 +02:00
Gaute Lindkvist
5a2ecf25c2 Rename measuredDepth and TVD methods in well log extractor code 2018-09-04 12:02:23 +02:00
Gaute Lindkvist
4c84bbb8a3 #3014 and #3022 Well Bore Stability: LAS and element table input and cleaned up extraction code. 2018-09-04 12:01:07 +02:00
Gaute Lindkvist
b4e2a58327 Well Bore Stability: Fix a couple of weaknesses in SFG and FG solver.
* Make sure absolute value is used for range
* Make sure we check for wrong convergence as well as no convergence for secant method.
2018-09-04 09:33:48 +02:00
Gaute Lindkvist
4fd9cdfda3 #3300 Fix crash when loading formation indices as part of a project file.
* Rename structGrid() to getOrCreateStructGrid() to make it obvious that it allocates internally.
2018-09-04 09:33:48 +02:00
Bjørn Erik Jensen
6b2359cb39 #3091 Completion export. Add WELSPECS/WELSPECL to exported file 2018-08-29 13:36:33 +02:00
Magne Sjaastad
9e3a100bcc #3253 OpenMP : Give name to all critical sections 2018-08-27 13:04:29 +02:00
Gaute Lindkvist
0ccbd4e153 #3263 Well Bore Stability: Use a constant tangent for FG and SFG within a cell. 2018-08-27 11:33:01 +02:00
Magne Sjaastad
1fc6aca10b #3269 Compdat Export Performance : Use const access 2018-08-24 15:50:27 +02:00
Magne Sjaastad
5f52dae545 #3269 Compdat Export Performance : Load all data before loop 2018-08-24 15:50:27 +02:00
Bjørn Erik Jensen
7369ce56ba #3114 compdat export. Improve performance 2018-08-20 11:47:41 +02:00
Gaute Lindkvist
16560a7d81 #3183 Export Fractures as Multi Segment Wells. 2018-08-16 10:22:07 +02:00
Magne Sjaastad
2ddc3d77df #3089 Non-Darcy longitudinal : Add support for longitudinal fractures
- move non-darcy data from template to fracture, as this data is now depending of fracutre
- compute weighted average of stimplan width and conductivity based on fracture perforation length
- use referringPtrFields() to find fractures using this fracture template
2018-08-15 09:53:52 +02:00
Magne Sjaastad
4c75e2514d #3089 Move text parsing for unit conversion 2018-08-15 09:53:52 +02:00
Magne Sjaastad
45f0f6b485 Whitespace and rename 2018-08-15 09:53:52 +02:00
Gaute Lindkvist
2987e6128d #3198 Support LGR when exporting fishbone completions for multi segment wells.
* Also refactor RicMultiSegmentWellExportInfo to remove public member variables.
2018-08-13 15:10:03 +02:00
Magne Sjaastad
252950e625 #3197 Refactoring : Add const keyword 2018-08-10 15:34:27 +02:00
Magne Sjaastad
d612362d4b #3197 Refactoring : Add const keyword and use const ref 2018-08-10 14:12:14 +02:00
Magne Sjaastad
ce085a03ca #3038 Fracture Completion Summary : Remove obsolete helper feature 2018-08-09 11:44:54 +02:00
Magne Sjaastad
f3d27e0af8 #3038 Fracture Completion Summary : Add fracture summary to compdat export 2018-08-09 11:33:48 +02:00
Magne Sjaastad
de5cced38f #3038 Fracture Completion Summary : Add fracture grid calculator 2018-08-09 11:15:47 +02:00
Gaute Lindkvist
c869ce4430 #3186 Fix crash when selecting element nodal (and some other types) for some GeoMech well log curves. 2018-08-08 08:10:56 +02:00
Magne Sjaastad
8425ea96ad #3185 Remove FixedArray 2018-08-07 10:37:52 +02:00
Magne Sjaastad
aeae19c748 #3185 Use std::array instead of FixedArray 2018-08-07 10:07:42 +02:00
Magne Sjaastad
e5c8c07d1f Performance : Move object allocation outside loop 2018-08-07 09:24:05 +02:00
Magne Sjaastad
9617128464 Use override keyword 2018-08-07 07:58:58 +02:00
Magne Sjaastad
59d6e89fe0 #3038 Minor refactoring
Use empty()
Use const ref
2018-08-07 07:24:39 +02:00
Magne Sjaastad
793b56f6f4 #3038 Fix double check of same error state 2018-08-07 07:20:42 +02:00
Magne Sjaastad
0e14499561 #3038 Fix typo 2018-08-06 09:36:42 +02:00
Magne Sjaastad
fe07b60392 CppCheck : Several fixes
Add missing initializers
Guard potential null pointer access
2018-08-02 19:22:03 +02:00
Magne Sjaastad
91552c155a #3090 Add findReservoirCellIndexFromPoint 2018-08-02 13:51:38 +02:00
Magne Sjaastad
5aa46fe855 #3177 COMPDAT Export : Add logging and return if required data is missing 2018-07-30 10:30:13 +02:00
Magne Sjaastad
b32a3f229f Whitespace changes 2018-07-30 10:21:42 +02:00
Gaute Lindkvist
be63eb5aef #3160 Use cell centre depth for well bore stability curves 2018-07-16 08:57:28 +02:00
Bjørn Erik Jensen
cc87da2ae0 #3106 Ensemble calculations. Hash only ensemble parameters common to all cases. Move cases validation 2018-07-04 14:36:14 +02:00
Gaute Lindkvist
3dec239c99 #3132 Increase legend sample line lengths and scale by curve thickness
* Otherwise we can't distinguish between curves in the legend.
2018-07-04 11:10:32 +02:00
Gaute Lindkvist
0bbe0db394 #3137 Make sure azimuth angles are clockwise and 0 to 360. 2018-07-04 11:10:32 +02:00
Jacob Støren
dc95b217c5 #2609 Update the visualization when the well path geometry definition changes 2018-07-02 16:31:55 +02:00
Gaute Lindkvist
0a0cb584b5 Move hard coded parameter names to RiaDefines 2018-07-02 10:29:32 +02:00
Gaute Lindkvist
76f0126e59 Move rkbDiff calculation code to RigWellPath so it can be shared instead of copied. 2018-07-02 10:29:30 +02:00
Magne Sjaastad
386726a92f Transmissibility Calc : Early exit if no transmissibilities 2018-06-28 13:52:22 +02:00
Bjørn Erik Jensen
898df5b68a #3096 Implemented ensemble calulations 2018-06-25 15:15:30 +02:00
Gaute Lindkvist
fab83846e6 #3095 Add PP, OBG and SH to well path derived extraction curves. 2018-06-25 08:37:26 +02:00
Gaute Lindkvist
6cd5ae9e22 #3093 Implement Azimuth and inclination well path derived extraction curves.
* Needed improvement of tangent calculation. Take the tangent from the well path, not the two intersection points.
2018-06-25 08:37:26 +02:00
Gaute Lindkvist
9fe1c7de6c Remove some debug hardcoded code paths for Well Path Derived Well log extraction curves 2018-06-25 08:37:26 +02:00
Magne Sjaastad
5114e05156 #3035 Fault Truncation: Add polygon subtraction 2018-06-22 17:14:28 +02:00
Gaute Lindkvist
5fc795a24a #3061 Implement Memory Cleanup for eclipse data. 2018-06-20 11:46:19 +02:00
Gaute Lindkvist
e3e4e79340 Improve encapsulation of RigEclipseResultInfo
* To make it more suitable for looking up results.
2018-06-20 11:46:19 +02:00
Gaute Lindkvist
51631fda6e #3027 Disable averaging of Fracture Gradient and Shear Failure Gradient 2018-06-20 11:46:19 +02:00
Bjørn Erik Jensen
508f33903f Delete files that should have been deleted in an earlier commit 2018-06-20 10:16:15 +02:00
Bjørn Erik Jensen
eebd8bef2d Move RigCurveDataTools and RigTimeHistoryCurveMerger to Application/Tools plus rename 2018-06-08 15:10:45 +02:00
Bjørn Erik Jensen
69accdc4c6 #2659 Ensemble statistics. First version 2018-06-07 10:04:16 +02:00
Gaute Lindkvist
5b0a185549 Fix Linux build by removing use of Invoke and including some headers 2018-06-06 13:22:35 +02:00
Gaute Lindkvist
4ddacad385 #2680. First reasonable Fracture Gradient and Shear Failure Gradient estimation.
Caveats:
* Hard coded poissonRatio = 0.25
* Hard coded UCS to 100 bar (fairly close to average value for shale in literature).
2018-06-06 12:03:08 +02:00
Magne Sjaastad
3505b9d31a Debug Tools : Add globalCellIndicesToOneBasedIJKText used as input to cell based range filter 2018-05-31 15:29:55 +02:00
Bjørn Erik Jensen
0b4156da02 #2660 Ensemble curves. Curve filtering 2018-05-31 10:24:16 +02:00
Bjørn Erik Jensen
2bd1bd777c Case realization parameters. Fix logical bug 2018-05-31 10:24:15 +02:00
Bjørn Erik Jensen
56d0112b07 Case realization parameters. Return empty object and method name change 2018-05-31 10:24:15 +02:00
Bjørn Erik Jensen
d043545747 Case realization parameters. Replaced HUGE_VAL by numeric_limits 2018-05-31 10:24:15 +02:00
Magne Sjaastad
54f5ab66b4 #2969 Add const to currentActiveCellInfo 2018-05-31 08:30:04 +02:00
Gaute Lindkvist
ee7bd79fcb #2980 Renaming of lastNormal vectors. 2018-05-30 15:37:18 +02:00
Gaute Lindkvist
cf64f5f70d #2980 Include interpolated previous normal for determining direction of current normal 2018-05-30 15:37:17 +02:00
Gaute Lindkvist
70bcd25c86 #2945 Flip normals if the average well path normals doesn't match the requested direction. 2018-05-30 15:37:17 +02:00
Magne Sjaastad
6a41ad14c3 Fix typo 2018-05-29 10:51:54 +02:00
Magne Sjaastad
be14877525 #2970 Faults : Code cleanup 2018-05-25 11:31:21 +02:00
Gaute Lindkvist
14a5fd4009 #2959 Fix crash when loading ODB file without overburden. 2018-05-25 09:36:46 +02:00
Gaute Lindkvist
956d221c48 #2878 Use correct keyword for solvent data (SSOL not SSOLVENT) 2018-05-14 10:41:23 +02:00
Gaute Lindkvist
3360973e87 Use SSOLVENT in calculating SOIL if present 2018-05-11 15:45:31 +02:00
Magne Sjaastad
4f4a12b636 #2868 Completion Type : Rename 2018-05-09 11:48:37 +02:00
Magne Sjaastad
9bb8f36052 #2868 Completion Type : Compute completion type based on virtual connection factors 2018-05-09 11:48:37 +02:00
Magne Sjaastad
9e6e2e8735 #2868 Completion Type : Use const pointer 2018-05-09 11:48:37 +02:00
Gaute Lindkvist
47ed8dac74 Fix crash due to wrong closest index comparison in RigSimulationWellCoordsAndMD 2018-05-09 10:44:29 +02:00
Gaute Lindkvist
f24fb4aaec Fix crash due to global/local grid index mixup when creating fractures on SimWellPaths.
* Introduces a convenience method on the main grid
* Also converts some callers to use the convenience method.
2018-05-09 10:44:29 +02:00
Bjørn Erik Jensen
e4aa7d681d #2852 OPM. Updated flow diag solver interface after OPM upgrade 2018-05-07 14:43:24 +02:00
Gaute Lindkvist
a165172723 #2847 Add a fall back dominant direction (0, -1, 0) if the path does not extrude in z-direction.
* This direction means Left will cause it to go -x and Right +x so that the directions are correct with respect to "Left" and "Right" when you look "North".
2018-05-03 13:39:39 +02:00
Bjørn Erik Jensen
92fd4183a9 #2797 Ensemble curves. Support for text ensemble parameters. Unit test 2018-05-03 09:55:13 +02:00
Magne Sjaastad
9ac3d806e2 #2663 Rename 2018-04-23 23:06:21 +02:00
Magne Sjaastad
d5bdd1f7a1 #2765 Completions : Use max available diameter when combining multiple completions in same cell 2018-04-19 14:55:14 +02:00
Magne Sjaastad
305fdfcfc8 Remove unused variables and functions 2018-04-19 07:19:29 +02:00
Gaute Lindkvist
01a1f660e7 3D Well Log Curves (#2746): Handle set scale.
* Transform to display coordinates *before* calculating normals and generating curves.
2018-04-18 11:33:04 +02:00
Magne Sjaastad
f3a235b9df #2748 Completion Type Calculations : Remove unused code 2018-04-17 14:42:15 +02:00
Magne Sjaastad
ba3074ff08 #2748 Completion Type Calculations : Use findIntersectedGlobalCellIndices 2018-04-17 14:42:15 +02:00
Magne Sjaastad
c0704a65f3 #2744 Well Log Extractor : Replace use of cornerIndices with cellCornerVertices 2018-04-17 10:14:57 +02:00
Magne Sjaastad
34cbd79410 #2744 Well Log Extractor : Support detection of small well path inside one cell 2018-04-17 09:41:08 +02:00
Magne Sjaastad
43e5fb00f4 Testing : Fix invalid index in small mock model 2018-04-17 07:55:52 +02:00
Gaute Lindkvist
fd63ae7531 3D Well path plots: clean up some indentation and remove an unnecessary epsilon 2018-04-13 15:33:37 +02:00
Gaute Lindkvist
b48adbbaa9 3D Well log curves: Use the new generalized interpolation for normals
* Don't have to perform the normal generation again for grid points.
2018-04-13 14:56:19 +02:00
Gaute Lindkvist
1bb1b3004e Generalize the interpolation in RigWellPath
* Make it possible to interpolate any vector along the well path,
  not just the well path points. This way it can be used for normals.
* The interpolation line needs to be a weighted sum of vectors from
  the two closest points rather than the previous point + a segment,
  which only works for points.
* If used for normals, the end result *has to be normalized*
2018-04-13 14:56:18 +02:00
Gaute Lindkvist
6e0b7e2305 Improve 3D Well path plots
* Always generate in up-direction and rotate to left/right/down
* Generate a "dominant direction" by interrogating the whole curve, not
  just the first and last item.
* Improve maths:
  - Generate a projection plane spanned by UP and the dominant direction.
  - Project the tangent onto this projection plane.
  - Generate normal as the cross product between the projected tangent and
    the normal to the projection plane.
  - Rotate the normal into left/right/down if required.
2018-04-13 14:55:44 +02:00
Jacob Støren
fee549de35 Adjust an argument order in RigWellPathGeometryTools 2018-04-09 13:23:09 +02:00
Bjørn Erik Jensen
8491fd7f6c #2610 Fix a few Linux build errors 2018-04-06 13:56:26 +02:00
Bjørn Erik Jensen
ba5480fa81 #2655, #2610 Add legend config to curve set. No connected to curves yet... 2018-04-06 11:58:06 +02:00
Bjørn Erik Jensen
f7f09c0719 #2610 Import case realization parameters and store those in summary case 2018-04-06 11:58:05 +02:00