Commit Graph
149 Commits
Author SHA1 Message Date
Magne Sjaastad 5de5926950 #9622: Find a fairly regular cell and compute face normal direction
In some models, the grid cells can be very twisted, distorted, or zero(low) volume. Improve the logic to find a reasonably regular cell and use this cell to compute the direction of the face normals in this cell.
2023-01-09 15:47:08 +01:00
Magne Sjaastad f731153c22 Revert OpenMP for detection of faults
The use of OpenMP is not stable, and produce wrong geometry in some cases.
2022-12-21 11:12:56 +01:00
Magne Sjaastad de29b3b0ed OpenMP: Use default AABB tree construction for one cell per BB
Do not use buildCellSearchTreeOptimized() when when cellCountPerBB is 1, as the performance in this case is best using buildCellSearchTree()
2022-12-20 13:39:29 +01:00
Magne Sjaastad 38bfa9ef1f #9588 Accumulate N cells for AABB tree 2022-12-19 15:24:53 +01:00
Magne Sjaastad a423ecf95f Several OpenMP improvements
Several optimizations based on profiling of 20M grid model. These fixes will improve the largest performance issues, but there are still more operations that can be refactored.

* OpenMP: Use in fault geometry generator
* OpenMP: Use when computing statistics for result values
* OpenMP: Use multithreading on fault detection
* Add RiaOpenMPTools
* VizFwk: Use openMP for texture generation
2022-12-19 13:49:03 +01:00
Magne Sjaastad befab37588 Add debug output of AABB tree 2022-12-16 15:36:48 +01:00
Magne Sjaastad 529c9af9a4 Guard recursive updates if NNC data import is disabled
Import of NNC data can be turned off in Preferences. If this is off, loading of projects using NNC data can enter a recursive update loop.
2022-12-16 15:29:50 +01:00
Magne Sjaastad d3a5355141 #9534 Make sure indexIJK values are computed only once (#9537) 2022-12-02 14:36:32 +01:00
Jørgen Herje 278828b08f Add reference well to well log extraction curve eclipse case (#9516) 2022-11-30 23:13:39 +01:00
Magne Sjaastad dfa1bc2cd0 Some fixes for new gcc/clang
Minor fixes for newer gcc/clang. These issues were seen when using ubuntu-latest (Ubuntu 22.04) on Github Actions.
2022-11-25 08:59:10 +01:00
Kristian Bendiksen 99e9944e6e #9493 grid calculator on active cells only
* Janitor: Improve getter for RigActiveCellInfo::gridActiveCellCounts.
* #9493 Grid Calculator: calculate on only active cells.
* #9493 Grid Calculator: filter with active cells.
* Fix calculation for input grid cases
Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-11-24 10:44:03 +01:00
Kristian Bendiksen e8789f3d4b #9470 User defined perf length for azimuth fractures
Fractures: Add UI for user-defined perforation length for az fractures
Add user defined perforation length for azimuth fractures.
Janitor: remove duplication
2022-11-24 10:42:26 +01:00
Magne Sjaastad a74b168e03 Improve property linking
* Allow linking of property filters across cases with same IJK size
* Recalculate when grid is replaced
Find dependencies between calculations and order them accordingly
2022-11-22 10:22:17 +01:00
Magne Sjaastad 6a859e0860 Fix update issues related to fracture calculations
* Make sure property filter is updated when completion type is cleared
* Clear geometry cache in views to make sure geometry is recreated
* Calculate required input parameters to completion type calculations
* Recompute values when depth changes
2022-11-18 12:50:04 +01:00
Magne Sjaastad e7c864c6d8 Improve grid cell calculator
* Use full name for grid case view
* FIx signed / unsigned issue
* Support drag/drop of file names into Main Window
* Add function to check if two grid cases are of equal size
* Result Info: Show cell result text for all linked views
* Improve how to specify cells to be included in calculation

- move view filter to calculation
- improve how to assign values to non-visible cells
- avoid computation between grids of different size

Closes #9482
2022-11-17 15:51:01 +01:00
Kristian Bendiksen 286855cce0 Thermal Fracture: fix occasional glitch in fracture orientation.
The normal has to always point downwards, and this was not the case.
2022-10-24 12:01:34 +02:00
Kristian Bendiksen 0eb0101390 Stim Plan Fracture: add assert for illegal std::vector access 2022-10-06 10:07:37 +02:00
Kristian Bendiksen 179e269fcc #9324 Thermal Fracture: optimize transmissibility calculation. 2022-10-04 14:26:46 +02:00
Kristian Bendiksen d0e9c454d3 #9325 Thermal Fracture: rename injectivity decline to injectivity factor. 2022-10-03 13:19:19 +02:00
Kristian Bendiksen 1d6f35a45f Thermal Fracture: make number of samples constant. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 1a9831db8c Thermal Fracture: Add option to skip filter cake pressure drop adjustment. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen dbd8dd4ff4 Thermal Fracture: Fix off-by-one in transmissibility calculation. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 3dad3c65cb Thermal Fracture: Improve handling of result names and units. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 8ed349f859 Thermal Fracture: add relative and absolute filter-cake pressure drop calculation. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 244ba773ec Thermal Fracture: Improve fracture rotation to align z depths. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen fc78b282b0 Thermal Fracture: decrease resolution to decrease computation time. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 0e49d983a2 Thermal Fracture: make fracture completions export work. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 49e298c0b8 Thermal Fracture: rotate and place fracture according to template data. 2022-09-05 15:40:31 +02:00
Kristian Bendiksen 2691f6dca9 Thermal Fracture: fix incorrect weighting when interpolating. 2022-09-05 15:40:31 +02:00
Magne Sjaastad 30c3fe3a5c Scale length threshold based on average DZ 2022-09-02 10:27:11 +02:00
Magne Sjaastad 1a9fb26153 Improve error message when grid dimensions are not matching 2022-09-01 21:35:07 +02:00
Kristian Bendiksen f82c530966 #9104 Thermal Fracture: Handle offset and scaling. 2022-08-25 09:17:00 +02:00
Kristian Bendiksen 1093b844b0 Thermal Fracture: change polygon to match StimPlan fracture grid 2022-08-25 09:17:00 +02:00
Kristian Bendiksen a87e05035d #9102 Thermal Fracture: handle field units. 2022-08-05 13:45:31 +02:00
Kristian Bendiksen 2888747a16 Thermal Fracture: fix crash for none-existing results. 2022-07-06 18:18:11 +02:00
Kristian Bendiksen 44c469c12c #9099 Thermal Fracture Import: include perimter nodes. 2022-07-06 18:18:11 +02:00
Kristian Bendiksen 6f623e9320 More tweaks to fix windows build 2022-07-06 18:18:11 +02:00
Kristian Bendiksen a908b0c9cf #9098 Thermal Fracture: interpolate missing values inside convex hull of points. 2022-07-06 18:18:11 +02:00
Kristian Bendiksen e99f713d53 Rotate fracture plane to align with x-y plane 2022-07-06 18:18:11 +02:00
Kristian Bendiksen 625b927cb6 Thermal Fracture: Add visualization of results 2022-07-06 18:18:11 +02:00
Kristian Bendiksen ffb0c5a03f Thermal Fracture: add thermal fracture template 2022-07-06 18:18:11 +02:00
Kristian Bendiksen 972013c631 #9039: Thermal Fractures: add file reader 2022-07-06 18:18:11 +02:00
jonjenssen 6ad0bcee95 Fix crash if base time step has undefined data 2022-07-01 11:06:12 +02:00
Magne Sjaastad 36e43ae85b Performance: Move bool outside cell loop 2022-06-15 19:22:36 +02:00
Kristian Bendiksen 226ac4f2b6 #8989 Grid statistics: Improve precision of p10/p90. 2022-06-15 19:22:36 +02:00
Magne Sjaastad 5c224241e1 #8892 Allan Diagram: Show formation data for all time steps 2022-05-27 12:10:58 +02:00
Magne Sjaastad ab2a7254f8 #8964 Avoid message box for PVT and Rel Perm issues
Log warning message to log window instead of a dialog
Improve text
2022-05-26 20:47:23 +02:00
Kristian Bendiksen e80343b4db #8877 StimPlan model: Fix formation dip in export of Asymmetric.FRK
Fixes #8877.
2022-05-20 14:51:26 +02:00
Kristian Bendiksen 837a0f208c #8846 StimPlan model plot: Correct perforation interval for longitudinal fracture
Fixes #8846.
2022-05-20 14:07:29 +02:00
Kristian Bendiksen 85cd07c373 Grid Calculator: Improvements after review. 2022-05-09 15:36:27 +02:00