mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-26 22:06:26 -06:00
Add test case for thermal simulator in flow
This commit is contained in:
parent
ee88790dea
commit
936220f85c
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user