ResInsight
ResInsight copied to clipboard
Export/Import grid properties in dual porosity
[2021.06.0] In dual porosity models the 'Input Properties' tab loads all data as Matrix. It makes some sense for the grid export and import to only refer to the displayed porosity, whichever of Matrix or Fracture is selected. But if an array is imported with 2 x NX x NY x NZ grid cells you get this error: "Failed to read keyword: Size mismatch: Main Grid has 120 cells, keyword SOIL_DUAL has 240 cells"
Attached example model and .rsp project file ... Input properties SOIL_2024_MATRIX and SOIL_2024_FRACTURE load, but are both listed as Matrix properties. Input property SOIL_DUAL fails to load with the above error.
Logically there is no reason why Input Properties should not have their own Matrix and Fracture dimensions loaded.
- Import: suggest if the property has NX x NY x NZ cells, then the Input property goes to the currently selection of the Matrix/Fracture control, and if the property has 2 x NX x NY x NZ cells then the Input property should populate both Matrix and Fracture.
- Export: please consider if an additional option in the method could control whether to export only the Matrix/Fracture dimension displayed, or if the entire property is to be exported.