Add test case for thermal simulator in flow

This commit is contained in:
Tor Harald Sandve 2018-04-30 13:43:30 +02:00
parent ee88790dea
commit 936220f85c
2 changed files with 16 additions and 0 deletions

View File

@ -188,6 +188,13 @@ add_test_compareECLFiles(CASENAME spe1_nowells
REL_TOL ${rel_tol}
DIR spe1)
add_test_compareECLFiles(CASENAME spe1_thermal
FILENAME SPE1CASE2_THERMAL
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

@ -89,6 +89,15 @@ for test_name in ${tests}; do
EGRID INIT SMSPEC UNRST UNSMRY
fi
if grep -q "spe1thermal" <<< $test_name
then
copyToReferenceDir \
$configuration/build-opm-simulators/tests/results/flow+spe1_thermal/ \
$OPM_TESTS_ROOT/spe1/opm-simulation-reference/flow \
SPE1CASE2_THERMAL \
EGRID INIT SMSPEC UNRST UNSMRY
fi
if grep -q "msw_2d_h" <<< $test_name
then
copyToReferenceDir \