add polymer test for flow

This commit is contained in:
Arne Morten Kvarving 2017-11-10 14:31:16 +01:00
parent 46cf9e4058
commit 55538f23c4
2 changed files with 13 additions and 6 deletions

View File

@ -172,12 +172,13 @@ add_test_compareECLFiles(CASENAME msw_2d_h
REL_TOL ${rel_tol}
TEST_ARGS use_multisegment_well=true)
# TODO: add flow
add_test_compareECLFiles(CASENAME polymer_simple2D
FILENAME 2D_THREEPHASE_POLY_HETER
SIMULATOR flow_polymer
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol})
foreach(SIM flow flow_polymer)
add_test_compareECLFiles(CASENAME polymer_simple2D
FILENAME 2D_THREEPHASE_POLY_HETER
SIMULATOR ${SIM}
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol})
endforeach()
# TODO: move to flow
add_test_compareECLFiles(CASENAME spe5

View File

@ -86,6 +86,12 @@ for test_name in ${tests}; do
$OPM_DATA_ROOT/polymer_simple2D/opm-simulation-reference/flow_polymer \
2D_THREEPHASE_POLY_HETER \
EGRID INIT SMSPEC UNRST UNSMRY
copyToReferenceDir \
$configuration/build-opm-simulators/tests/results/flow+polymer_simple2D/ \
$OPM_DATA_ROOT/polymer_simple2D/opm-simulation-reference/flow \
2D_THREEPHASE_POLY_HETER \
EGRID INIT SMSPEC UNRST UNSMRY
fi
if grep -q "spe3" <<< $test_name