Commit Graph
298 Commits
Author SHA1 Message Date
Kristian Bendiksen b181c55db8 WBS Plot: use PP (from any source) for shale for SFG. 2024-04-15 13:26:08 +02:00
Kristian Bendiksen 9dc5e99be0 #11354 Fix FG_MK_MIN/FG_MK_EXP calculations
Was not using Kirsch at all due to misunderstanding.

Fixes #11354.
2024-04-15 13:26:08 +02:00
Kristian Bendiksen 67a9e14417 CSV Well Log: change sampling rate from 1.0 meter to 0.1 meter. 2024-04-10 13:05:34 +02:00
jonjenssen 25361ad796 Allow polygon line filter with only one point (#11345)
Allow polygon line filter with only one point, for both eclipse and geomech
2024-04-10 10:47:06 +02:00
Kristian Bendiksen efe37bb063 Well Log CSV: fix interpolation of CSV data.
The TVD measurements from the well path were used to interpolate the CSV data.
The typically well path is too coarsely sampled which would lead unwanted
smoothing of the data.

Fixed by resampling the well path to a one meter sampling interval.
2024-04-05 14:39:46 +02:00
Magne Sjaastad ef637e3053 Move stream operator from AppEnum header
This PR will reduce the compile time of code using AppEnum. 

* AppEnum: Move QTextStream operator to avoid include of QTextStream
* Avoid use of iostream in cafAssert
rator to avoid include of QTextStream

Include file profiling shows that include of QTextStream is a performance issue. Create a non-templated base class for AppEnum. Implement the QTextStream operator for this interface.
2024-03-25 15:14:04 +01:00
jonjenssen 1a21d2e5de Fix incorrect position for data nodes. 2024-03-18 17:42:03 +01:00
Kristian Bendiksen 6a5c6ee545 Transmissibility equations: guard against NaN in very small intersections. 2024-03-15 15:11:53 +01:00
Kristian Bendiksen 515213694c Refactor: better isnan in assert, and reduce variable lifetime. 2024-03-15 15:11:53 +01:00
jonjenssen cb1e062e99 Exported coordinate fix (#11283)
Make sure exported well path coordinates use local coord system when needed.
2024-03-12 16:57:16 +01:00
jonjenssen 2386ad8985 Generate model based on an origin in the fault to improve calculation accuracy (#11267)
Generate model based on an origin in the fault to improve calculation accuracy.
2024-03-08 15:50:05 +01:00
Kristian Bendiksen b8f9beab91 WBS: Compute and show FG_MK_* only in reservoir (not shale). 2024-03-04 23:47:14 +01:00
Kristian Bendiksen 04b14cf52a WBS: Compute and show SH_MK_* only in reservoir (not shale). 2024-02-29 10:47:12 +01:00
jonjenssen 86c33c1b46 Fault activation: node adjustments along fault (#11235)
Make sure same thickness vectors and fault lines are used for both parts.
2024-02-27 17:05:48 +01:00
Magne Sjaastad 28d281e1d6 Use polygon as data source for intersection
- Use polygon as data source for intersection
- Add padlock icon
- Show padlock icon on read only polygons
- Add Fwk function appendMenuItems() to make it possible to define context menu content in a PdmObject
- Context menu "Create Polygon Intersection"
- Updates to make visualization consistent with object and object collection enabled state
2024-02-25 09:21:48 +01:00
Jon Jenssen 5162ae467c Fix data access crash when no temp is available
Change element node order
2024-02-15 17:54:08 +01:00
Jon Jenssen a4c75bab1f Merge branch 'dev' of https://github.com/OPM/ResInsight into dev 2024-02-14 18:11:42 +01:00
Jon Jenssen fc2df17380 Fix variable name 2024-02-14 18:11:35 +01:00
Kristian Bendiksen 85753568b6 WBS Plot: Improve initial placement of curve, and add better default colors. 2024-02-14 15:16:47 +01:00
jonjenssen 0fd4ec6d0d Add option to flip node order for both parts
Use data node coordinates to decide element sets
2024-02-13 02:29:29 +01:00
jonjenssen 336dc575db Fault Reactivation: Update element sets (#11191)
* Update element sets based on active cells
* Bonus: Fix viewer crash
2024-02-12 14:52:15 +01:00
jonjenssen 5391179e16 Add separate target for unit tests for easier test access. Remove unit tests from ResInsight application. (#11184)
Clean up cmake configuration a bit, and pull down gtest when needed, no longer use a thirdparty subfolder
Add a ResInsight-tests target to run the unit tests
2024-02-11 20:04:04 +01:00
Magne Sjaastad 883622c71d #11148: Set default name to Accumulated Flow Chart 2024-02-02 10:27:20 +01:00
Magne Sjaastad e2e441c1a0 Add RigEclipseCaseDataTools 2024-02-02 10:27:20 +01:00
Magne Sjaastad 5c92cf1511 #11077 Create result values for formations only when required 2024-02-02 10:27:20 +01:00
jonjenssen 4ce449e155 Fix fault reactivation grid generation crash 2024-02-02 01:27:11 +01:00
Magne Sjaastad 661840f425 Always compute bounding box of main grid and use OpenMP 2024-01-31 14:10:15 +01:00
Magne Sjaastad 5151717743 #11088 Use non-optimized version for old projects to compute active cells BB
The performance to compute geometry BB for active cells has improved. The original code also set displayModelOffset based on the BB of active cells. To make sure that existing project files produce identically the the same, the non-optimized version is used in this case.
2024-01-31 12:43:55 +01:00
Kristian Bendiksen a8c719b289 #10663 WBS Plot: Import well log from CSV file.
Also compute SH_MK_MIN/EXP/MAX and FG_MK_MIN/EXP results.
2024-01-29 15:05:08 +01:00
jonjenssen 2c0ebfdbfe Add node set for fault zone boundary nodes 2024-01-27 00:38:48 +01:00
jonjenssen 2864ac7466 Extend reservoir element set to active cells in under/overburden
Fix fault extension if both sides start or end at same depth
2024-01-27 00:38:48 +01:00
Magne Sjaastad 7d601ac067 #11109 Improve visualization of MSW with valve branches
Increase default segment threshold to 4
Add an optional setting to override the default value
Use this threshold to merge short branches into parent branch
2024-01-26 09:32:42 +01:00
jonjenssen cd0a56c924 Fault Reactivation: grid improvements (#11105)
Grid generator cleanup
2024-01-24 18:28:32 +01:00
Magne Sjaastad a090992f5a Refactor use of grid dimensions 2024-01-22 14:52:49 +01:00
Magne Sjaastad 833a0e8584 Performance: Cellcount functions are used in many loops, and must be as fast as possible
cellCountIJK was computed based on the value of griPointDimensions. These converstion turned up during profiling. Change implementation to have cellcount as a member variable instead of being computed every time.
2024-01-22 14:52:49 +01:00
Magne Sjaastad 663c3f31b9 Use the top and bottom layer of active cells to compute the geometry bounding box 2024-01-22 14:52:49 +01:00
Magne Sjaastad 80fdd1da74 Return pair of vectors and rename 2024-01-22 14:52:49 +01:00
Magne Sjaastad d61838940a Grid calculations: Free memory after data has been read
When data has been read for a variable, free the related data to make sure the memory footprint is as low as possible.
2024-01-22 08:42:23 +01:00
Magne Sjaastad df083a870a Add Memory Report dialog
Compute how much memory is used for result/case/total. Show as text in dialog.
2024-01-19 11:00:28 +01:00
jonjenssen 251952e6ef Fault reactivation updates (#11079)
* Allow extending cell intersection lines outside cell
* Update default values, and clean up some things
* Populate fault zone element set
* Update to latest openzgy to fix typo
2024-01-19 08:39:10 +01:00
Kristian Bendiksen bd085617e4 #11034 Fault Reactivation: integrate vertical stress from eclipse grid. 2024-01-18 09:56:23 +01:00
magnesj 340c1383fc Fixes by clang-tidy 2024-01-13 16:57:44 +01:00
jonjenssen 8db29e0931 Add polyline filter support (#11048)
* Support selecting cells below polyline, both eclipse and geomech cases
* Add some polyline intersection helpers, with tests
2024-01-12 09:52:29 +01:00
jonjenssen 6d225a9da3 Fault Reactivation: Add minimum cell height limit (#11036)
Fault Reactivation: Add minimum cell height limit
2024-01-10 08:14:37 +01:00
magnesj 02ad40b127 Fixes by clang-tidy 2024-01-08 07:17:21 +01:00
Kristian Bendiksen 956e53aa19 #10826 Fault Reactivation: improve pore pressure eclipse extraction. 2024-01-05 10:10:23 +01:00
Kristian Bendiksen 544e6974e7 Refactor: improve interface for finding intersecting cells. 2024-01-03 13:00:09 +01:00
Kristian Bendiksen cf453ac4a5 Fault Reactivation: use data nodes when extracting values for INP file. 2023-12-21 08:22:06 +01:00
Magne Sjaastad f677d6d600 Performance: Compute depth related results in parallell 2023-12-20 19:05:45 +01:00
Magne Sjaastad 054302ad62 Extract geometry and cell creation to reservoir builder 2023-12-20 19:05:45 +01:00