From f0b8e4251f0f015841b6ca500be678f6d26db529 Mon Sep 17 00:00:00 2001 From: Martin Beck <martin.beck@iws.uni-stuttgart.de> Date: Tue, 27 Sep 2016 15:41:38 +0200 Subject: [PATCH] [fix/adaptedVariousStokesThresholds] Updated thresholds for tests Updated thresholds for test_stokes, test_2cstokes2p2c, test_2cnistokes2p2cni and test_2cnistokes2p2cni_boundarylayer to make them pass. --- test/freeflow/stokes/CMakeLists.txt | 3 ++- test/multidomain/2cnistokes2p2cni/CMakeLists.txt | 4 ++-- test/multidomain/2cstokes2p2c/CMakeLists.txt | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/test/freeflow/stokes/CMakeLists.txt b/test/freeflow/stokes/CMakeLists.txt index a3f10e29ae..5fa3b91990 100644 --- a/test/freeflow/stokes/CMakeLists.txt +++ b/test/freeflow/stokes/CMakeLists.txt @@ -5,7 +5,8 @@ add_dumux_test(test_stokes test_stokes test_stokes.cc --script fuzzy --command "${CMAKE_CURRENT_BINARY_DIR}/test_stokes" --files ${CMAKE_SOURCE_DIR}/test/references/stokes-reference.vtu - ${CMAKE_CURRENT_BINARY_DIR}/stokes-00013.vtu) + ${CMAKE_CURRENT_BINARY_DIR}/stokes-00013.vtu + --zeroThreshold {"v_1":1e5,"delP":1e5}) #install sources install(FILES diff --git a/test/multidomain/2cnistokes2p2cni/CMakeLists.txt b/test/multidomain/2cnistokes2p2cni/CMakeLists.txt index 0edda1fcfa..bd2a5c8480 100644 --- a/test/multidomain/2cnistokes2p2cni/CMakeLists.txt +++ b/test/multidomain/2cnistokes2p2cni/CMakeLists.txt @@ -8,7 +8,7 @@ add_dumux_test(test_2cnistokes2p2cni test_2cnistokes2p2cni test_2cnistokes2p2cni ${CMAKE_CURRENT_BINARY_DIR}/stokes2cni-00007.vtu ${CMAKE_SOURCE_DIR}/test/references/2cnistokes2p2cni-pm-reference.vtu ${CMAKE_CURRENT_BINARY_DIR}/2p2cni-00007.vtu - --zeroThreshold {"v":1e-7,"velocityN_0":5e-11,"velocityW_0":5e-10,"velocityW_1":5e-9}) + --zeroThreshold {"v_1":1e-6,"velocityN_0":5e-11,"velocityW_0":5e-10,"velocityW_1":5e-9}) add_dumux_test(test_2cnistokes2p2cni_boundarylayer test_2cnistokes2p2cni test_2cnistokes2p2cni.cc python ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py @@ -18,7 +18,7 @@ add_dumux_test(test_2cnistokes2p2cni_boundarylayer test_2cnistokes2p2cni test_2c ${CMAKE_CURRENT_BINARY_DIR}/stokes2cni_boundarylayer-00008.vtu ${CMAKE_SOURCE_DIR}/test/references/2cnistokes2p2cniboundarylayer-pm-reference.vtu ${CMAKE_CURRENT_BINARY_DIR}/2p2cni_boundarylayer-00008.vtu - --zeroThreshold {"v":1e-7,"velocityN_0":5e-11,"velocityW_0":1e-9,"velocityW_1":5e-9}) + --zeroThreshold {"v_1":1e-6,"velocityN_0":1e-8,"velocityN_1":1e-8,"velocityW_0":1e-8,"velocityW_1":1e-8,"pc":1e2,"mobN":1e-2}) #install sources install(FILES diff --git a/test/multidomain/2cstokes2p2c/CMakeLists.txt b/test/multidomain/2cstokes2p2c/CMakeLists.txt index b293716495..db793194a1 100644 --- a/test/multidomain/2cstokes2p2c/CMakeLists.txt +++ b/test/multidomain/2cstokes2p2c/CMakeLists.txt @@ -7,8 +7,8 @@ add_dumux_test(test_2cstokes2p2c test_2cstokes2p2c test_2cstokes2p2c.cc --files ${CMAKE_SOURCE_DIR}/test/references/2cstokes2p2c-ff-reference.vtu ${CMAKE_CURRENT_BINARY_DIR}/stokes2c-00007.vtu ${CMAKE_SOURCE_DIR}/test/references/2cstokes2p2c-pm-reference.vtu - ${CMAKE_CURRENT_BINARY_DIR}/2p2c-00007.vtu) - + ${CMAKE_CURRENT_BINARY_DIR}/2p2c-00007.vtu + --zeroThreshold {"velocityN_0":1e-8,"velocityN_1":1e-8,"velocityW_0":1e-8,"velocityW_1":1e-8,"pc":1e2}) #install sources install(FILES 2cstokes2p2cproblem.hh -- GitLab