EclipseGrid: make option 3 (MAX_EMPTY_GAP) of PINCH available

This is needed to prevent creation of NNCs if the the empty gap created
by pinched out cells is larger than this threshold.
This commit is contained in:
Markus Blatt
2023-03-28 11:55:14 +02:00
parent 94283ee43e
commit 055547c709
3 changed files with 11 additions and 1 deletions

View File

@@ -231,7 +231,7 @@ static Opm::Deck createPinchedNOGAPCPDeck() {
"ACTNUM \n"
" 1000*1 / \n"
"PINCH \n"
" 0.2 NOGAP / \n"
" 0.2 NOGAP 5.0 / \n"
"EDIT\n"
"\n";
@@ -838,6 +838,8 @@ BOOST_AUTO_TEST_CASE(ConstructorNORUNSPEC_PINCH) {
BOOST_CHECK_EQUAL(grid2.getPinchThresholdThickness(), 0.2);
BOOST_CHECK_EQUAL(grid2.getPinchGapMode(), Opm::PinchMode::GAP);
BOOST_CHECK_EQUAL(grid3.getPinchGapMode(), Opm::PinchMode::NOGAP);
BOOST_CHECK_EQUAL(grid2.getPinchMaxEmptyGap(), 1e20);
BOOST_CHECK_EQUAL(grid3.getPinchMaxEmptyGap(), 5.0);
}
BOOST_AUTO_TEST_CASE(ConstructorMINPV) {