Skip to content

#12957 Sector Model Export: add non-uniform cell refinement#13779

Draft
kriben wants to merge 1 commit intodevfrom
12957-finegrained-refinement
Draft

#12957 Sector Model Export: add non-uniform cell refinement#13779
kriben wants to merge 1 commit intodevfrom
12957-finegrained-refinement

Conversation

@kriben
Copy link
Collaborator

@kriben kriben commented Mar 20, 2026

Add a new "Non-Uniform" refinement mode that coexists with the existing uniform refinement. Users can specify a cell range, direction, and fractional subdivision widths to create variable-resolution grids.

Core infrastructure:

  • RigNonUniformRefinement: per-dimension refinement with cumulative fractions and offset tables for O(1)/O(log n) lookups
  • RiaCellDividingTools: non-uniform createHexCornerCoords overload
  • RigGridExportAdapter: non-uniform constructor, mapping, and coordinate transformation overloads

Pipeline integration:

  • RigSimulationInputSettings: non-uniform refinement storage
  • RigSimulationInputTool: non-uniform paths for grid construction, data cropping, BOX context, well keywords, and WELLDIMS
  • RifEclipseInputFileTools: non-uniform extractKeywordData overload

UI:

  • RicExportSectorModelUi: Uniform/Non-Uniform mode selector with direction, cell range, and fractional widths fields

Add a new "Non-Uniform" refinement mode that coexists with the existing
uniform refinement. Users can specify a cell range, direction, and
fractional subdivision widths to create variable-resolution grids.

Core infrastructure:
- RigNonUniformRefinement: per-dimension refinement with cumulative
  fractions and offset tables for O(1)/O(log n) lookups
- RiaCellDividingTools: non-uniform createHexCornerCoords overload
- RigGridExportAdapter: non-uniform constructor, mapping, and
  coordinate transformation overloads

Pipeline integration:
- RigSimulationInputSettings: non-uniform refinement storage
- RigSimulationInputTool: non-uniform paths for grid construction,
  data cropping, BOX context, well keywords, and WELLDIMS
- RifEclipseInputFileTools: non-uniform extractKeywordData overload

UI:
- RicExportSectorModelUi: Uniform/Non-Uniform mode selector with
  direction, cell range, and fractional widths fields
@kriben kriben force-pushed the 12957-finegrained-refinement branch from 1f5f289 to 779e30e Compare March 20, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant