mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add msw_3d_hfa test
This commit is contained in:
parent
e190aec229
commit
baa4f0b0c3
@ -172,6 +172,13 @@ add_test_compareECLFiles(CASENAME msw_2d_h
|
||||
REL_TOL ${rel_tol}
|
||||
TEST_ARGS use_multisegment_well=true)
|
||||
|
||||
add_test_compareECLFiles(CASENAME msw_3d_hfa
|
||||
FILENAME 3D_MSW
|
||||
SIMULATOR flow
|
||||
ABS_TOL ${abs_tol}
|
||||
REL_TOL ${rel_tol}
|
||||
TEST_ARGS use_multisegment_well=true)
|
||||
|
||||
foreach(SIM flow flow_polymer)
|
||||
add_test_compareECLFiles(CASENAME polymer_simple2D
|
||||
FILENAME 2D_THREEPHASE_POLY_HETER
|
||||
|
@ -20,7 +20,7 @@ copyToReferenceDir () {
|
||||
}
|
||||
|
||||
tests=${@:2}
|
||||
test -z "$tests" && tests="spe11 spe12 spe12p spe3 spe5 spe9 norne_init msw_2d_h polymer2d spe9group"
|
||||
test -z "$tests" && tests="spe11 spe12 spe12p spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group"
|
||||
if grep -q -i "norne " <<< $ghprbCommentBody
|
||||
then
|
||||
if test -d $WORKSPACE/deps/opm-data/norne/flow
|
||||
@ -80,6 +80,15 @@ for test_name in ${tests}; do
|
||||
EGRID INIT SMSPEC UNRST UNSMRY
|
||||
fi
|
||||
|
||||
if grep -q "msw_3d_hfa" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow+msw_3d_hfa/ \
|
||||
$OPM_DATA_ROOT/msw_3d_hfa/opm-simulation-reference/flow \
|
||||
3D_MSW \
|
||||
EGRID INIT SMSPEC UNRST UNSMRY
|
||||
fi
|
||||
|
||||
if grep -q "polymer2d" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
|
Loading…
Reference in New Issue
Block a user