-
Notifications
You must be signed in to change notification settings - Fork 118
[LGR] Zcorn #4843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LGR] Zcorn #4843
Conversation
|
jenkins build this please |
|
@akva2 thank you for adding the manual tag. |
33b2e0a to
2e0ecdf
Compare
|
jenkins build this please |
|
I have one question about this: During output opm-simulators will create a copy of the EclipseGrid with overridden zcorn using Eventually this copy constructor will need to take zcorn for all LGR grids. If it is not there, yet, then we should probably add a test using that copy constructor. |
… on COORD and ZCORN of parent grid only added maybe unused to not implemented zcorn routine ZCORN refinement routines added removing set_refinement as the refinement is automatic now
…litple host cells with different size DZs
2e0ecdf to
50b9ce8
Compare
|
jenkins build this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm having trouble recognising every part here so I think we'll at least need some more documentation on what each helper function does. Ideally, also an overall/high level description of the strategy.
Finally, I'm probably misreading the algorithm, but I don't quite see where it handles cells of varying thicknesses and especially cells that aren't completely hexagonal hexahedral.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand this algorithm, so I think I'd like some additional explanation. Does it do uniform subdivision in the vertical direction between the top and bottom pillar points? If so, we're going to run into issues if the cells don't have uniform thickness.
As an example, consider the (academic) setup
DIMENS
1 1 3 /
COORD
0 0 0 0 0 0
1 0 0 1 0 0
0 1 0 0 1 0
1 1 0 1 1 0
/
ZCORN
0 0
0 0
3 3
3 3
3 3
3 3
9 9
9 9
9 9
9 9
18 18
18 18
/
which is a 1-by-1-by-3 cell geometry in which the cells have physical dimensions
- Cell 1,1,1:
$1 \times 1\times 3$ metres - Cell 1,1,2:
$1 \times 1\times 6$ metres - Cell 1,1,3:
$1 \times 1\times 9$ metres
If we then define
CARFIN
LGR1 1 1 1 1 1 3 1 1 9 /
ENDFIN
then main grid cell 1,1,1 should be subdivided into three cells of dimension
Does your algorithm do that? If so, please add this case as another unit test.
…h different size z-layers
|
jenkins build this please |
|
@bska based on our discussions, there is a follow up test. |
bska
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on our discussions, there is a follow up test.
Okay, I'll merge this, but I really would have liked one or more small unit tests that don't read or write files when we're testing this. My column example from before, for instance, does not need any of that and is a lot easier to analyse in isolation. The tests here are more like system integration tests that depend on a lot of components working together.
This PR is a continuation of the work at 4839. It performs generates the ZCORN for any general CPG.