mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add test to compare two runs with COMPDAT
Two data files get compared: one with ACTIONX and one with the same commands but without ACTIONX. For sequential runs, they produce the same output, but for parallel runs they don't, because the when the COMPDAT keyword is used in an ACTIONX, well connections get created there that are not known to the grid partitioner.
This commit is contained in:
parent
3d8c1a11b7
commit
f89be66ddd
@ -212,3 +212,27 @@ add_test_compare_parallel_simulation(CASENAME rxft
|
||||
REL_TOL 1.0e-3
|
||||
DIR rxft_smry
|
||||
TEST_ARGS --enable-tuning=true --linear-solver-reduction=1e-7 --tolerance-cnv=5e-6 --tolerance-mb=1e-8 --enable-drift-compensation=false)
|
||||
|
||||
opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-comparison.sh "")
|
||||
|
||||
add_test_compareSeparateECLFiles(CASENAME actionx_compdat_1_proc
|
||||
DIR1 actionx
|
||||
FILENAME1 COMPDAT_SHORT
|
||||
DIR2 actionx
|
||||
FILENAME2 ACTIONX_COMPDAT_SHORT
|
||||
SIMULATOR flow
|
||||
ABS_TOL ${abs_tol}
|
||||
REL_TOL ${rel_tol}
|
||||
IGNORE_EXTRA_KW BOTH
|
||||
MPI_PROCS 1)
|
||||
|
||||
add_test_compareSeparateECLFiles(CASENAME actionx_compdat_8_procs
|
||||
DIR1 actionx
|
||||
FILENAME1 COMPDAT_SHORT
|
||||
DIR2 actionx
|
||||
FILENAME2 ACTIONX_COMPDAT_SHORT
|
||||
SIMULATOR flow
|
||||
ABS_TOL ${abs_tol}
|
||||
REL_TOL ${rel_tol}
|
||||
IGNORE_EXTRA_KW BOTH
|
||||
MPI_PROCS 8)
|
||||
|
Loading…
Reference in New Issue
Block a user