From 3b214a8c7cbba6d109b979d6ba9d7b8a93568df2 Mon Sep 17 00:00:00 2001 From: pkuLmq <1900011062@pku.edu.cn> Date: Tue, 20 Aug 2024 21:54:50 +0800 Subject: [PATCH] debug for test 4 --- test/aachenBomb_2D/system/decomposeParDict | 8 +++++++- test/corrtest.cpp | 8 ++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/test/aachenBomb_2D/system/decomposeParDict b/test/aachenBomb_2D/system/decomposeParDict index c63e471e..c96c26a7 100644 --- a/test/aachenBomb_2D/system/decomposeParDict +++ b/test/aachenBomb_2D/system/decomposeParDict @@ -16,7 +16,13 @@ FoamFile numberOfSubdomains 2; -method scotch; +method simple; + +simpleCoeffs +{ + n (2 1 1); + delta 0; +} // ************************************************************************* // diff --git a/test/corrtest.cpp b/test/corrtest.cpp index b3ae4493..49f13508 100644 --- a/test/corrtest.cpp +++ b/test/corrtest.cpp @@ -71,10 +71,10 @@ float aachenBomb4 = readBomb(194,"aachenBomb2D/data_T.xy"); // } TEST(corrtest,dfLowMachFoam_2DaachenBomb){ - EXPECT_NEAR(aachenBomb1,814.011,0.0001); - EXPECT_NEAR(aachenBomb2,2114.86,0.0001); - EXPECT_NEAR(aachenBomb3,933.448,0.0001); - EXPECT_NEAR(aachenBomb4,2534.72,0.0001); + EXPECT_NEAR(aachenBomb1,814.228,0.0001); + EXPECT_NEAR(aachenBomb2,2145.99,0.0001); + EXPECT_NEAR(aachenBomb3,939.509,0.0001); + EXPECT_NEAR(aachenBomb4,2475.45,0.0001); } float readmaxTH2(){