adding a test for polymer oil water

This commit is contained in:
Kai Bao 2018-02-27 15:27:30 +01:00
parent 635f6c7db2
commit b71949b09e
2 changed files with 15 additions and 0 deletions

View File

@ -225,6 +225,12 @@ add_test_compareECLFiles(CASENAME msw_3d_hfa
REL_TOL ${rel_tol} REL_TOL ${rel_tol}
TEST_ARGS use_multisegment_well=true) TEST_ARGS use_multisegment_well=true)
add_test_compareECLFiles(CASENAME polymer_oilwater
FILENAME 2D_OILWATER_POLYMER
SIMULATOR flow
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol})
add_test_compareECLFiles(CASENAME polymer_simple2D add_test_compareECLFiles(CASENAME polymer_simple2D
FILENAME 2D_THREEPHASE_POLY_HETER FILENAME 2D_THREEPHASE_POLY_HETER
SIMULATOR flow SIMULATOR flow

View File

@ -107,6 +107,15 @@ for test_name in ${tests}; do
EGRID INIT SMSPEC UNRST UNSMRY EGRID INIT SMSPEC UNRST UNSMRY
fi fi
if grep -q "polymer_oilwater" <<< $test_name
then
copyToReferenceDir \
$configuration/build-opm-simulators/tests/results/flow+polymer_oilwater/ \
$OPM_DATA_ROOT/polymer_oilwater/opm-simulation-reference/flow \
2D_OILWATER_POLYMER \
EGRID INIT SMSPEC UNRST UNSMRY
fi
if grep -q "polymer2d" <<< $test_name if grep -q "polymer2d" <<< $test_name
then then
copyToReferenceDir \ copyToReferenceDir \