opm-grid icon indicating copy to clipboard operation
opm-grid copied to clipboard

Fixed Out of Bounds NNCs

Open bska opened this issue 5 months ago • 6 comments

Still observer some race condition on strange files with temperature

bska avatar Jul 14 '25 11:07 bska

I'm creating this PR in draft mode because it depends on, and contains, the earlier PR #814. I will keep the PR in a draft state until such time as it is ready for review and merging.

bska avatar Jul 14 '25 11:07 bska

Woud it make sense to have a separate PR with just the bugfix?

blattms avatar Jul 16 '25 09:07 blattms

Woud it make sense to have a separate PR with just the bugfix?

For what it's worth, this is the separate PR. I'd like to get #814 into master first.

bska avatar Jul 16 '25 09:07 bska

Woud it make sense to have a separate PR with just the bugfix?

For what it's worth, this is the separate PR. I'd like to get #814 into master first.

The earlier PR was merged into the master branch. I'm marking this PR as "ready for review" and I'm running a build check.

bska avatar Aug 25 '25 15:08 bska

jenkins build this please

bska avatar Aug 25 '25 15:08 bska

General comment: this fixes does two tings (if I remember correctly)

  • remove some issues in extreem cases where volume of a collapsed cells is calculated to > 0
  • remove infinite loops in the pinchActive false case

The part on mergeMinPV true is motivated by having a possibility to do pinchlike processing without needing to add artificial faces. This is need for doing mechanics. It probably will be highly favorable in other cases like thermal also.

There still a bug I do not know how to handle properly which is that the active cells between process_grdecl and minpvprocessor may be different due to the pv = 0 and c_thin may not be the same.

hnil avatar Sep 05 '25 07:09 hnil