Commit Graph
1308 Commits
Author SHA1 Message Date
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 80fdd1da74 Return pair of vectors and rename 2024-01-22 14:52:49 +01:00
Magne Sjaastad e2e861ed95 Select none, all cases or a grid case group to apply a calculation
This will enable the use of expressions var_a = sum(x) on a grid case group
2024-01-22 08:42:23 +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
magnesj f864ab0ba1 Fixes by clang-tidy 2024-01-20 08:39:07 +01:00
Magne Sjaastad 50ef5d916e Import surfaces with xyz as extension
*.dat and *.xyz can be imported using the same code
2024-01-19 11:53:06 +01:00
Magne Sjaastad 0c7a8ad2de Fix regression introduced in a9598f
Wrong naming of variables caused wrong refactoring
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 a48faeb6d0 #11034 Use water density from model. 2024-01-18 09:56:23 +01:00
Kristian Bendiksen 926a9ac850 Fault Reactivation: Export stress with negative sign.
Expected by Abaqus.
2024-01-18 09:56:23 +01:00
Kristian Bendiksen bd085617e4 #11034 Fault Reactivation: integrate vertical stress from eclipse grid. 2024-01-18 09:56:23 +01:00
Kristian Bendiksen defde0f4e4 Fault Reactivation: Add 'None' as GeoMech model option. 2024-01-18 09:56:23 +01:00
Kristian Bendiksen cb74bf2f1e Refactor: create stress accessor base class. 2024-01-18 09:56:23 +01:00
Magne Sjaastad a9598fbe0e Define result address for to be used for non visible cells
Display a data source selection dialog to specify the result address to be used for cell values outside the visible cells.
2024-01-17 08:29:41 +01:00
Magne Sjaastad 35cc2127f2 Log error message instead of displaying a dialog
The error message is displayed once for each time step, and appears as eternal loop if you have many time steps.
2024-01-17 08:29:41 +01:00
Magne Sjaastad cfff6ac024 #11053 Limit number of time step to 1 for static result
This will also improve performance, as less memory is consumed
2024-01-12 16:06:32 +01:00
Magne Sjaastad f907c6bdff #11024 Allow grid calculator expressions with no input cases
Will make it possible to use calc := 3
2024-01-12 16:06:32 +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
Kristian Bendiksen d03477a0f8 Fault Reactivation: Use correct result variable when extracting temperature. 2024-01-10 10:55:15 +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
Kristian Bendiksen adf52ed301 #10827 Fault reactivation: extract temperatures using well log. 2024-01-08 18:05:48 +01:00
Kristian Bendiksen f81dcbd2dc Minor refactor: extract method extracting values. 2024-01-08 18:05:48 +01:00
Kristian Bendiksen 45c32a4ebb Refactor: Extract methods for creating well paths and extractors. 2024-01-08 18:05:48 +01:00
Jon Jenssen b38e9de2cb Minor changes to exported INP file based on feedback and testing 2024-01-08 17:22:09 +01:00
Magne Sjaastad ff6472c6b7 Update to clang-16
Use runner Ubuntu 22.04 for clang-16
Remove unused code detected by clang-16
2024-01-05 15:13:50 +01:00
Kristian Bendiksen 956e53aa19 #10826 Fault Reactivation: improve pore pressure eclipse extraction. 2024-01-05 10:10:23 +01:00
jonjenssen daae1e6e05 Improve fault reactivation file names (#11005)
Use model name in exported file name.
Add model name to include file names.
2024-01-05 08:43:40 +01:00
Kristian Bendiksen 544e6974e7 Refactor: improve interface for finding intersecting cells. 2024-01-03 13:00:09 +01:00
Kristian Bendiksen ffa117e736 Refactor: Extract getPartIndexFromPoint to avoid duplication. 2024-01-03 13:00:09 +01:00
Magne Sjaastad 31d11f56f5 #10986 Set non-visible cells to zero for aggregated expressions
For aggregated expressions, set cells outside filter to 0.0. Do nothing for normal expressions.
2024-01-03 10:28:34 +01:00
Jon Jenssen a4db175bea Make sure imported element properties goes to the selected case.
Improve reload/close element property UI
2023-12-21 08:23:37 +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 9b36fe440d Make result name string match more robust 2023-12-20 19:05:45 +01:00
Magne Sjaastad df392e3faf Compute and show resistivity values 2023-12-20 19:05:45 +01:00
Magne Sjaastad 894bbbe06b Add reservoir case for EM data
- read geometry definition from h5grid files
- import cell results from h5grid files
- create and import case using drag/drop of h5grid file into ResInsight
2023-12-20 19:05:45 +01:00
Magne Sjaastad e583c3a994 GCC: Fix warning related to memory alignment seen on gcc11 2023-12-20 19:05:45 +01:00
Kristian Bendiksen 80697d3540 Fault reactivation: Use same pore pressure gradient for POR and stress. 2023-12-20 14:50:59 +01:00
Kristian Bendiksen f1135919e7 Fault Reactivation: Fix PorBar extrapolation. 2023-12-20 14:50:59 +01:00
jonjenssen 858c1227bc Use correct result name for Void ratio (#10969)
Use correct result name for Void ratio
Enable porosity calculator for imported inp data
Add model validation check for export/show model
Fix last res. layer not being splitted into subelements
Add model validation check in file exporter
Bump version to dev.04
2023-12-18 15:03:08 +01:00
Kristian Bendiksen 9e1a09bcf9 Refactor: move fault reactivation data access to fix ownership problems. 2023-12-18 14:28:00 +01:00
Kristian Bendiksen 78942b0313 Fault Reactivation: extract stress data using well log extraction. 2023-12-18 14:28:00 +01:00
Kristian Bendiksen 2ee8954708 Update valueAtPosition interface. 2023-12-18 14:28:00 +01:00
Kristian Bendiksen 8375b3e934 Fault Reactivation: Remove unused methods. 2023-12-18 14:28:00 +01:00
jonjenssen 1fab743d56 INP import updates (#10952)
Support reading element type results
Automatically load properties from INP include files generated by Fault Reactivation Model exporter
Some refactoring of element and result types.
2023-12-14 08:46:41 +01:00
Magne Sjaastad 47e9046785 Always use category result when creating legend for formations 2023-12-11 12:32:19 +01:00
Magne Sjaastad cf9a9d4bad Add copy/paste of cell filters 2023-12-11 12:32:19 +01:00
Magne Sjaastad f421c43450 Make sure single curves from individual realizations are displayed on top 2023-12-11 12:32:19 +01:00
jonjenssen ea56ceaea0 Refresh cell filters when geomech grid is reloaded (#10924)
* Make sure the cell filters are refreshed when the geomech grid is reloaded to handle grid changes
2023-12-08 15:26:18 +01:00
Kristian Bendiksen 0a2f2da8b9 Fault Reactivation: add sea water load to initial step. 2023-12-07 11:11:25 +01:00