mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-24 18:20:22 -06:00
5c308614b6
replace with compareECL from opm-output
24 lines
690 B
Bash
Executable File
24 lines
690 B
Bash
Executable File
#!/bin/bash
|
|
|
|
pushd .
|
|
cd deps/opm-data
|
|
|
|
# Run the simple2D polymer case
|
|
cd polymer_test_suite/simple2D
|
|
$WORKSPACE/$configuration/build-opm-simulators/bin/flow_polymer run.param
|
|
test $? -eq 0 || exit 1
|
|
cd ../..
|
|
|
|
# Compare OPM with eclipse reference
|
|
compareECL=$WORKSPACE/$configuration/install/bin/compareECL
|
|
reffile=polymer_test_suite/simple2D/eclipse-simulation/2D_THREEPHASE_POLY_HETER
|
|
opmfile=polymer_test_suite/simple2D/opm-simulation/2D_THREEPHASE_POLY_HETER
|
|
$compareECL $reffile $opmfile 1.0 0.004 -k SGAS
|
|
test $? -eq 0 || exit 1
|
|
$compareECL $reffile $opmfile 1.0 0.004 -k SWAT
|
|
test $? -eq 0 || exit 1
|
|
$compareECL $reffile $opmfile 0.0006 1.0 -k PRESSURE
|
|
test $? -eq 0 || exit 1
|
|
|
|
popd
|