From b71949b09e73d16addb8c7fb33b5c84ef9638870 Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Tue, 27 Feb 2018 15:27:30 +0100 Subject: [PATCH] adding a test for polymer oil water --- compareECLFiles.cmake | 6 ++++++ tests/update_reference_data.sh | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/compareECLFiles.cmake b/compareECLFiles.cmake index 39f9798b6..caecf6104 100644 --- a/compareECLFiles.cmake +++ b/compareECLFiles.cmake @@ -225,6 +225,12 @@ add_test_compareECLFiles(CASENAME msw_3d_hfa REL_TOL ${rel_tol} 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 FILENAME 2D_THREEPHASE_POLY_HETER SIMULATOR flow diff --git a/tests/update_reference_data.sh b/tests/update_reference_data.sh index b9544ef55..fd24ec622 100755 --- a/tests/update_reference_data.sh +++ b/tests/update_reference_data.sh @@ -107,6 +107,15 @@ for test_name in ${tests}; do EGRID INIT SMSPEC UNRST UNSMRY 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 then copyToReferenceDir \