Add test for carter tracy aquifer

This commit is contained in:
Rohith Nair 2018-05-29 16:35:26 +02:00 committed by kel85uk
parent 1237724c9a
commit a0db7c3229
2 changed files with 17 additions and 1 deletions

7
compareECLFiles.cmake Normal file → Executable file
View File

@ -195,6 +195,13 @@ add_test_compareECLFiles(CASENAME spe1_thermal
REL_TOL ${rel_tol}
DIR spe1)
add_test_compareECLFiles(CASENAME ctaquifer_2d_oilwater
FILENAME 2D_OW_CTAQUIFER
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
DIR spe1)
foreach(SIM flow flow_legacy)
add_test_compareECLFiles(CASENAME spe3
FILENAME SPE3CASE1

View File

@ -20,7 +20,7 @@ copyToReferenceDir () {
}
tests=${@:2}
test -z "$tests" && tests="spe11 spe12 spe12p spe1oilgas spe1nowells spe1thermal spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group polymer_oilwater"
test -z "$tests" && tests="spe11 spe12 spe12p spe1oilgas spe1nowells spe1thermal ctaquifer_2d_oilwater spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group polymer_oilwater"
if grep -q -i "norne " <<< $ghprbCommentBody
then
if test -d $WORKSPACE/deps/opm-tests/norne/flow
@ -98,6 +98,15 @@ for test_name in ${tests}; do
EGRID INIT SMSPEC UNRST UNSMRY
fi
if grep -q "ctaquifer_2d_oilwater" <<< $test_name
then
copyToReferenceDir \
$configuration/build-opm-simulators/tests/results/flow+ctaquifer_2d_oilwater/ \
$OPM_TESTS_ROOT/spe1/opm-simulation-reference/flow \
2D_OW_CTAQUIFER \
EGRID INIT SMSPEC UNRST UNSMRY
fi
if grep -q "msw_2d_h" <<< $test_name
then
copyToReferenceDir \