changing the parameters for the numerical aquifer regression tests

cpr linear solver is used for better convergence.
This commit is contained in:
Kai Bao 2021-03-12 13:33:53 +01:00
parent 9ecdca75d9
commit afac0fb485
2 changed files with 7 additions and 6 deletions

View File

@ -289,7 +289,7 @@ add_test_compareECLFiles(CASENAME numerical_aquifer_3d_2aqu
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
DIR aquifer-num
TEST_ARGS --enable-tuning=true --relaxed-max-pv-fraction=0 --tolerance-cnv=0.0001 --time-step-control=pid)
TEST_ARGS --relaxed-max-pv-fraction=0 --tolerance-cnv=0.00003 --time-step-control=pid --linsolver=cpr)
add_test_compareECLFiles(CASENAME numerical_aquifer_3d_1aqu
FILENAME 3D_1AQU_3CELLS
@ -297,7 +297,7 @@ add_test_compareECLFiles(CASENAME numerical_aquifer_3d_1aqu
ABS_TOL ${abs_tol}
REL_TOL ${rel_tol}
DIR aquifer-num
TEST_ARGS --enable-tuning=true --relaxed-max-pv-fraction=0 --tolerance-cnv=0.0001)
TEST_ARGS --relaxed-max-pv-fraction=0 --tolerance-cnv=0.00003 --time-step-control=pid --linsolver=cpr)
add_test_compareECLFiles(CASENAME spe3
FILENAME SPE3CASE1
@ -1018,16 +1018,16 @@ if(MPI_FOUND)
add_test_compare_parallel_simulation(CASENAME numerical_aquifer_3d_2aqu
FILENAME 3D_2AQU_NUM
SIMULATOR flow
ABS_TOL ${abs_tol_parallel}
ABS_TOL 0.12
REL_TOL ${coarse_rel_tol_parallel}
DIR aquifer-num
TEST_ARGS --enable-tuning=true --relaxed-max-pv-fraction=0 --tolerance-cnv=0.0001 --time-step-control=pid)
TEST_ARGS --relaxed-max-pv-fraction=0 --tolerance-cnv=0.00003 --time-step-control=pid --linsolver=cpr)
add_test_compare_parallel_simulation(CASENAME numerical_aquifer_3d_1aqu
FILENAME 3D_1AQU_3CELLS
SIMULATOR flow
ABS_TOL ${abs_tol_parallel}
REL_TOL 0.025}
REL_TOL ${coarse_rel_tol_parallel}
DIR aquifer-num
TEST_ARGS --enable-tuning=true --relaxed-max-pv-fraction=0 --tolerance-cnv=0.0001)
TEST_ARGS --relaxed-max-pv-fraction=0 --tolerance-cnv=0.00003 --time-step-control=pid --linsolver=cpr)
endif()

View File

@ -149,6 +149,7 @@ BlackoilAquiferModel<TypeTag>::endTimeStep()
if (aquiferNumericalActive()) {
for (auto& aquifer : this->aquifers_numerical) {
aquifer.endTimeStep();
this->simulator_.vanguard().grid().comm().barrier();
}
}
}