2016-04-05 09:42:56 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
2016-04-06 10:15:54 +02:00
|
|
|
pushd .
|
|
|
|
|
cd deps/opm-data
|
2016-04-05 09:42:56 +02:00
|
|
|
|
|
|
|
|
# Run the simple2D polymer case
|
|
|
|
|
cd polymer_test_suite/simple2D
|
2016-08-23 14:26:06 +02:00
|
|
|
$WORKSPACE/$configuration/build-opm-simulators/bin/flow_polymer run.param
|
2016-04-05 09:42:56 +02:00
|
|
|
test $? -eq 0 || exit 1
|
|
|
|
|
cd ../..
|
|
|
|
|
|
|
|
|
|
# Compare OPM with eclipse reference
|
2016-08-23 14:26:06 +02:00
|
|
|
PYTHONPATH=$WORKSPACE/$configuration/install/lib/python2.7/dist-packages/ python output_comparator/src/compare_eclipse.py polymer_test_suite/simple2D/eclipse-simulation/ polymer_test_suite/simple2D/opm-simulation/ 2D_THREEPHASE_POLY_HETER 0.0006 0.004
|
2016-04-05 09:42:56 +02:00
|
|
|
test $? -eq 0 || exit 1
|
|
|
|
|
|
|
|
|
|
popd
|