From b83bde8ffc43bc3fa473a7ac1ab0f75bbd9f18b6 Mon Sep 17 00:00:00 2001 From: Sahil_Kumar Date: Wed, 11 Mar 2026 21:39:15 +0000 Subject: [PATCH 1/8] Fix unsteady testcase configs and add regression tests - Add TIME_DOMAIN=YES and TIME_ITER=100 to three unsteady configs that were silent running as single steady iterations - Fix SOLVER=RANS in turb_NACA64A010.cfg - Remove deprecated EXT_ITER from all three configs - Add SCREEN_OUTPUT to all three configs for regression output - Register pitching_naca64a010_rans, pitching_naca64a010_euler, and plunging_naca0012 in serial_regression.py Fixes #2524 --- TestCases/serial_regression.py | 24 +++++++++++++++++++ .../pitching_NACA64A010.cfg | 4 +++- .../turb_NACA64A010.cfg | 6 +++-- .../plunging_naca0012/plunging_NACA0012.cfg | 4 +++- 4 files changed, 34 insertions(+), 4 deletions(-) diff --git a/TestCases/serial_regression.py b/TestCases/serial_regression.py index 55fdf623942..8828ba5cf49 100755 --- a/TestCases/serial_regression.py +++ b/TestCases/serial_regression.py @@ -819,6 +819,30 @@ def main(): unst_inc_turb_naca0015_sa.test_vals = [-3.007635, -6.879816, 1.445300, 0.419281] unst_inc_turb_naca0015_sa.unsteady = True test_list.append(unst_inc_turb_naca0015_sa) + # unsteady pitching NACA64A010, RANS, SA + unst_pitching_naca64a010_rans = TestCase('unst_pitching_naca64a010_rans') + unst_pitching_naca64a010_rans.cfg_dir = "unsteady/pitching_naca64a010_rans" + unst_pitching_naca64a010_rans.cfg_file = "turb_NACA64A010.cfg" + unst_pitching_naca64a010_rans.test_iter = 1 + unst_pitching_naca64a010_rans.test_vals = [-3.904127, -6.717585, 0.030913, 0.054788] + unst_pitching_naca64a010_rans.unsteady = True + test_list.append(unst_pitching_naca64a010_rans) + # unsteady pitching NACA64A010, Euler + unst_pitching_naca64a010_euler = TestCase('unst_pitching_naca64a010_euler') + unst_pitching_naca64a010_euler.cfg_dir = "unsteady/pitching_naca64a010_euler" + unst_pitching_naca64a010_euler.cfg_file = "pitching_NACA64A010.cfg" + unst_pitching_naca64a010_euler.test_iter = 1 + unst_pitching_naca64a010_euler.test_vals = [-5.383725, -0.104475, 0.032842, 0.031044] + unst_pitching_naca64a010_euler.unsteady = True + test_list.append(unst_pitching_naca64a010_euler) + # unsteady plunging NACA0012, Laminar NS + unst_plunging_naca0012 = TestCase('unst_plunging_naca0012') + unst_plunging_naca0012.cfg_dir = "unsteady/plunging_naca0012" + unst_plunging_naca0012.cfg_file = "plunging_NACA0012.cfg" + unst_plunging_naca0012.test_iter = 1 + unst_plunging_naca0012.test_vals = [-5.248321, 0.372499, 2.100860, 6.212394] + unst_plunging_naca0012.unsteady = True + test_list.append(unst_plunging_naca0012) # unsteady pitching NACA0012, Euler, Deforming unst_deforming_naca0012 = TestCase('unst_deforming_naca0012') diff --git a/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg b/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg index 3db0541e9a8..2dbcc82a85d 100644 --- a/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg +++ b/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg @@ -26,6 +26,8 @@ TIME_STEP= 0.0023555025613149587 MAX_TIME= 0.59 % 10 periods: 0.5888756403287397 % +TIME_DOMAIN= YES +TIME_ITER= 100 INNER_ITER= 110 UNST_ADJOINT_ITER= 251 @@ -71,7 +73,6 @@ CFL_NUMBER= 10.0 CFL_ADAPT= NO CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.0, 100.0 ) RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 ) -EXT_ITER= 99999 % ------------------------ LINEAR SOLVER DEFINITION ---------------------------% % @@ -142,6 +143,7 @@ VOLUME_ADJ_FILENAME= adjoint GRAD_OBJFUNC_FILENAME= of_grad SURFACE_FILENAME= surface_flow SURFACE_ADJ_FILENAME= surface_adjoint +SCREEN_OUTPUT= (TIME_ITER, INNER_ITER, RMS_DENSITY, RMS_ENERGY, LIFT, DRAG) OUTPUT_WRT_FREQ= 250 % --------------------- OPTIMAL SHAPE DESIGN DEFINITION -----------------------% diff --git a/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg b/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg index ae230679efd..9bd3a5d0229 100644 --- a/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg +++ b/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg @@ -11,7 +11,7 @@ % ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------% % -SOLVER= NAVIER_STOKES +SOLVER= RANS KIND_TURB_MODEL= SA MATH_PROBLEM= DIRECT RESTART_SOL= NO @@ -27,6 +27,8 @@ TIME_STEP= 0.0023555025613149587 MAX_TIME= 0.59 % 10 periods: 0.5888756403287397 % +TIME_DOMAIN= YES +TIME_ITER= 100 INNER_ITER= 2000 UNST_ADJOINT_ITER= 251 GRID_MOVEMENT= RIGID_MOTION @@ -69,7 +71,6 @@ CFL_NUMBER= 4.0 CFL_ADAPT= NO CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.0, 100.0 ) RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 ) -EXT_ITER= 99999 % ------------------------ LINEAR SOLVER DEFINITION ---------------------------% % @@ -150,6 +151,7 @@ VOLUME_ADJ_FILENAME= adjoint GRAD_OBJFUNC_FILENAME= of_grad SURFACE_FILENAME= surface_flow SURFACE_ADJ_FILENAME= surface_adjoint +SCREEN_OUTPUT= (TIME_ITER, INNER_ITER, RMS_DENSITY, RMS_NU_TILDE, LIFT, DRAG) OUTPUT_WRT_FREQ= 1 % --------------------- OPTIMAL SHAPE DESIGN DEFINITION -----------------------% diff --git a/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg b/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg index 6e4bc39ea5d..d1d60b9e0e2 100644 --- a/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg +++ b/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg @@ -20,6 +20,8 @@ RESTART_SOL= NO % TIME_MARCHING= DUAL_TIME_STEPPING-2ND_ORDER TIME_STEP= 0.0023555025613149587 +TIME_DOMAIN= YES +TIME_ITER= 100 % 24 steps per period: 0.0024536485013697488 % 25 steps per period: 0.0023555025613149587 % @@ -62,7 +64,6 @@ CFL_NUMBER= 1.0 CFL_ADAPT= NO CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.0, 100.0 ) RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 ) -EXT_ITER= 99999 % ----------------------- SLOPE LIMITER DEFINITION ----------------------------% % @@ -118,4 +119,5 @@ VOLUME_ADJ_FILENAME= adjoint GRAD_OBJFUNC_FILENAME= of_grad SURFACE_FILENAME= surface_flow SURFACE_ADJ_FILENAME= surface_adjoint +SCREEN_OUTPUT= (TIME_ITER, INNER_ITER, RMS_DENSITY, RMS_ENERGY, LIFT, DRAG) OUTPUT_WRT_FREQ= 1 From 28ef199b69336332e8956e649ac08088b716cebe Mon Sep 17 00:00:00 2001 From: Sahil_Kumar Date: Mon, 16 Mar 2026 18:57:05 +0000 Subject: [PATCH 2/8] Tune inner iteration settings for unsteady test cases - Reduce INNER_ITER from 2000/110/1000 to 30/20/50 for RANS/Euler/Plunging - Switch LINEAR_SOLVER_PREC from LU_SGS to ILU for faster convergence - Raise CFL from 4/10 to 200 for RANS and Euler cases - These settings achieve ~2 orders residual drop in 20 inner iterations for RANS and Euler, consistent with pcarruscag review feedback --- .../pitching_naca64a010_euler/pitching_NACA64A010.cfg | 6 +++--- .../unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg | 6 +++--- TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg b/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg index 2dbcc82a85d..2ec7c7c9e8e 100644 --- a/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg +++ b/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg @@ -28,7 +28,7 @@ MAX_TIME= 0.59 % TIME_DOMAIN= YES TIME_ITER= 100 -INNER_ITER= 110 +INNER_ITER= 20 UNST_ADJOINT_ITER= 251 % ----------------------- DYNAMIC MESH DEFINITION -----------------------------% @@ -69,7 +69,7 @@ MARKER_DESIGNING = ( airfoil ) % ------------- COMMON PARAMETERS TO DEFINE THE NUMERICAL METHOD --------------% % NUM_METHOD_GRAD= WEIGHTED_LEAST_SQUARES -CFL_NUMBER= 10.0 +CFL_NUMBER= 200.0 CFL_ADAPT= NO CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.0, 100.0 ) RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 ) @@ -77,7 +77,7 @@ RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 ) % ------------------------ LINEAR SOLVER DEFINITION ---------------------------% % LINEAR_SOLVER= FGMRES -LINEAR_SOLVER_PREC= LU_SGS +LINEAR_SOLVER_PREC= ILU LINEAR_SOLVER_ERROR= 1E-6 LINEAR_SOLVER_ITER= 5 diff --git a/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg b/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg index 9bd3a5d0229..0a14191cdaf 100644 --- a/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg +++ b/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg @@ -29,7 +29,7 @@ MAX_TIME= 0.59 % TIME_DOMAIN= YES TIME_ITER= 100 -INNER_ITER= 2000 +INNER_ITER= 30 UNST_ADJOINT_ITER= 251 GRID_MOVEMENT= RIGID_MOTION MACH_MOTION= 0.796 @@ -67,7 +67,7 @@ MARKER_DESIGNING = ( airfoil ) % ------------- COMMON PARAMETERS TO DEFINE THE NUMERICAL METHOD --------------% % NUM_METHOD_GRAD= GREEN_GAUSS -CFL_NUMBER= 4.0 +CFL_NUMBER= 200.0 CFL_ADAPT= NO CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.0, 100.0 ) RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 ) @@ -75,7 +75,7 @@ RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 ) % ------------------------ LINEAR SOLVER DEFINITION ---------------------------% % LINEAR_SOLVER= FGMRES -LINEAR_SOLVER_PREC= LU_SGS +LINEAR_SOLVER_PREC= ILU LINEAR_SOLVER_ERROR= 1E-6 LINEAR_SOLVER_ITER= 5 diff --git a/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg b/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg index d1d60b9e0e2..71a0c53c5a9 100644 --- a/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg +++ b/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg @@ -28,7 +28,7 @@ TIME_ITER= 100 MAX_TIME= 0.5888756403287397 % 10 periods: 0.5888756403287397 % -INNER_ITER= 1000 +INNER_ITER= 50 % ----------------------- DYNAMIC MESH DEFINITION -----------------------------% % @@ -75,7 +75,7 @@ SENS_REMOVE_SHARP= NO % ------------------------ LINEAR SOLVER DEFINITION ---------------------------% % LINEAR_SOLVER= FGMRES -LINEAR_SOLVER_PREC= LU_SGS +LINEAR_SOLVER_PREC= ILU LINEAR_SOLVER_ERROR= 1E-4 LINEAR_SOLVER_ITER= 5 From b8027b6116efd9880555800a77d29476a5bb32a6 Mon Sep 17 00:00:00 2001 From: Sahil_Kumar Date: Sun, 22 Mar 2026 19:45:24 +0000 Subject: [PATCH 3/8] Update regression test_vals for new solver settings - RANS: CFL=200, INNER_ITER=30 - Euler: CFL=200, INNER_ITER=20 - Plunging: CFL=1.0, INNER_ITER=50 - test_vals regenerated from clean run with new settings --- TestCases/serial_regression.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TestCases/serial_regression.py b/TestCases/serial_regression.py index 8828ba5cf49..b32130c7464 100755 --- a/TestCases/serial_regression.py +++ b/TestCases/serial_regression.py @@ -824,7 +824,7 @@ def main(): unst_pitching_naca64a010_rans.cfg_dir = "unsteady/pitching_naca64a010_rans" unst_pitching_naca64a010_rans.cfg_file = "turb_NACA64A010.cfg" unst_pitching_naca64a010_rans.test_iter = 1 - unst_pitching_naca64a010_rans.test_vals = [-3.904127, -6.717585, 0.030913, 0.054788] + unst_pitching_naca64a010_rans.test_vals = [-4.625245, -6.168469, 0.030704, 0.039347] unst_pitching_naca64a010_rans.unsteady = True test_list.append(unst_pitching_naca64a010_rans) # unsteady pitching NACA64A010, Euler @@ -832,7 +832,7 @@ def main(): unst_pitching_naca64a010_euler.cfg_dir = "unsteady/pitching_naca64a010_euler" unst_pitching_naca64a010_euler.cfg_file = "pitching_NACA64A010.cfg" unst_pitching_naca64a010_euler.test_iter = 1 - unst_pitching_naca64a010_euler.test_vals = [-5.383725, -0.104475, 0.032842, 0.031044] + unst_pitching_naca64a010_euler.test_vals = [-4.389394, 0.963226, 0.032802, 0.031042] unst_pitching_naca64a010_euler.unsteady = True test_list.append(unst_pitching_naca64a010_euler) # unsteady plunging NACA0012, Laminar NS @@ -840,7 +840,7 @@ def main(): unst_plunging_naca0012.cfg_dir = "unsteady/plunging_naca0012" unst_plunging_naca0012.cfg_file = "plunging_NACA0012.cfg" unst_plunging_naca0012.test_iter = 1 - unst_plunging_naca0012.test_vals = [-5.248321, 0.372499, 2.100860, 6.212394] + unst_plunging_naca0012.test_vals = [-5.248317, 0.372503, 2.100901, 6.212456] unst_plunging_naca0012.unsteady = True test_list.append(unst_plunging_naca0012) From 08962ff67aaf7dce2cf06d7584b3c05e0fe953c1 Mon Sep 17 00:00:00 2001 From: Sahil_Kumar Date: Sun, 22 Mar 2026 21:23:32 +0000 Subject: [PATCH 4/8] Fix plunging preconditioner and update test_vals to CI build values - Revert plunging LINEAR_SOLVER_PREC to LU_SGS (ILU caused divergence on CI) - RANS and Euler test_vals updated to CI Docker computed values - RANS CI values: [-2.474001, -6.039495, 0.031041, 0.053671] - Euler CI values: [-1.864773, 3.545935, 0.035685, 0.035843] - Plunging LU_SGS values: [-5.248321, 0.372499, 2.100860, 6.212394] --- TestCases/serial_regression.py | 6 +++--- TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TestCases/serial_regression.py b/TestCases/serial_regression.py index b32130c7464..5965cc9fd53 100755 --- a/TestCases/serial_regression.py +++ b/TestCases/serial_regression.py @@ -824,7 +824,7 @@ def main(): unst_pitching_naca64a010_rans.cfg_dir = "unsteady/pitching_naca64a010_rans" unst_pitching_naca64a010_rans.cfg_file = "turb_NACA64A010.cfg" unst_pitching_naca64a010_rans.test_iter = 1 - unst_pitching_naca64a010_rans.test_vals = [-4.625245, -6.168469, 0.030704, 0.039347] + unst_pitching_naca64a010_rans.test_vals = [-2.474001, -6.039495, 0.031041, 0.053671] unst_pitching_naca64a010_rans.unsteady = True test_list.append(unst_pitching_naca64a010_rans) # unsteady pitching NACA64A010, Euler @@ -832,7 +832,7 @@ def main(): unst_pitching_naca64a010_euler.cfg_dir = "unsteady/pitching_naca64a010_euler" unst_pitching_naca64a010_euler.cfg_file = "pitching_NACA64A010.cfg" unst_pitching_naca64a010_euler.test_iter = 1 - unst_pitching_naca64a010_euler.test_vals = [-4.389394, 0.963226, 0.032802, 0.031042] + unst_pitching_naca64a010_euler.test_vals = [-1.864773, 3.545935, 0.035685, 0.035843] unst_pitching_naca64a010_euler.unsteady = True test_list.append(unst_pitching_naca64a010_euler) # unsteady plunging NACA0012, Laminar NS @@ -840,7 +840,7 @@ def main(): unst_plunging_naca0012.cfg_dir = "unsteady/plunging_naca0012" unst_plunging_naca0012.cfg_file = "plunging_NACA0012.cfg" unst_plunging_naca0012.test_iter = 1 - unst_plunging_naca0012.test_vals = [-5.248317, 0.372503, 2.100901, 6.212456] + unst_plunging_naca0012.test_vals = [-5.248321, 0.372499, 2.100860, 6.212394] unst_plunging_naca0012.unsteady = True test_list.append(unst_plunging_naca0012) diff --git a/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg b/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg index 71a0c53c5a9..a364dadd763 100644 --- a/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg +++ b/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg @@ -75,7 +75,7 @@ SENS_REMOVE_SHARP= NO % ------------------------ LINEAR SOLVER DEFINITION ---------------------------% % LINEAR_SOLVER= FGMRES -LINEAR_SOLVER_PREC= ILU +LINEAR_SOLVER_PREC= LU_SGS LINEAR_SOLVER_ERROR= 1E-4 LINEAR_SOLVER_ITER= 5 From b0d6a948664e291a46cb38b3a0b503ff8ad29d82 Mon Sep 17 00:00:00 2001 From: Sahil_Kumar Date: Sat, 4 Apr 2026 06:35:27 +0000 Subject: [PATCH 5/8] Add restart file support and update test_vals from developed flow - Add RESTART_SOL=YES, SOLUTION_FILENAME=solution_flow, READ_BINARY_RESTART=NO, RESTART_ITER=2 to all three configs - Update regression test_vals extracted from restart at developed periodic flow RANS (t=90): [-4.799603, -7.374477, -0.005421, 0.008293] Euler (t=98): [-4.240073, 1.280267, -0.040141, 0.000887] Plunging (t=98): [-5.829829, -0.258459, 0.888444, -0.124558] - Solution files submitted via separate PR to SU2/TestCases repo --- TestCases/serial_regression.py | 6 +++--- .../pitching_naca64a010_euler/pitching_NACA64A010.cfg | 6 ++++-- .../unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg | 6 ++++-- TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg | 4 +++- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/TestCases/serial_regression.py b/TestCases/serial_regression.py index 5965cc9fd53..e4962da31d5 100755 --- a/TestCases/serial_regression.py +++ b/TestCases/serial_regression.py @@ -824,7 +824,7 @@ def main(): unst_pitching_naca64a010_rans.cfg_dir = "unsteady/pitching_naca64a010_rans" unst_pitching_naca64a010_rans.cfg_file = "turb_NACA64A010.cfg" unst_pitching_naca64a010_rans.test_iter = 1 - unst_pitching_naca64a010_rans.test_vals = [-2.474001, -6.039495, 0.031041, 0.053671] + unst_pitching_naca64a010_rans.test_vals = [-4.799603, -7.374477, -0.005421, 0.008293] unst_pitching_naca64a010_rans.unsteady = True test_list.append(unst_pitching_naca64a010_rans) # unsteady pitching NACA64A010, Euler @@ -832,7 +832,7 @@ def main(): unst_pitching_naca64a010_euler.cfg_dir = "unsteady/pitching_naca64a010_euler" unst_pitching_naca64a010_euler.cfg_file = "pitching_NACA64A010.cfg" unst_pitching_naca64a010_euler.test_iter = 1 - unst_pitching_naca64a010_euler.test_vals = [-1.864773, 3.545935, 0.035685, 0.035843] + unst_pitching_naca64a010_euler.test_vals = [-4.240073, 1.280267, -0.040141, 0.000887] unst_pitching_naca64a010_euler.unsteady = True test_list.append(unst_pitching_naca64a010_euler) # unsteady plunging NACA0012, Laminar NS @@ -840,7 +840,7 @@ def main(): unst_plunging_naca0012.cfg_dir = "unsteady/plunging_naca0012" unst_plunging_naca0012.cfg_file = "plunging_NACA0012.cfg" unst_plunging_naca0012.test_iter = 1 - unst_plunging_naca0012.test_vals = [-5.248321, 0.372499, 2.100860, 6.212394] + unst_plunging_naca0012.test_vals = [-5.829829, -0.258459, 0.888444, -0.124558] unst_plunging_naca0012.unsteady = True test_list.append(unst_plunging_naca0012) diff --git a/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg b/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg index 2ec7c7c9e8e..6b1e3e7192b 100644 --- a/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg +++ b/TestCases/unsteady/pitching_naca64a010_euler/pitching_NACA64A010.cfg @@ -14,7 +14,7 @@ SOLVER= EULER KIND_TURB_MODEL= NONE MATH_PROBLEM= DIRECT -RESTART_SOL= NO +RESTART_SOL= YES % ------------------------- UNSTEADY SIMULATION -------------------------------% % @@ -132,7 +132,7 @@ CONV_CAUCHY_EPS= 1E-6 MESH_FILENAME= mesh_NACA64A010_inv.su2 MESH_FORMAT= SU2 MESH_OUT_FILENAME= mesh_out -SOLUTION_FILENAME= restart_flow +SOLUTION_FILENAME= solution_flow SOLUTION_ADJ_FILENAME= solution_adj TABULAR_FORMAT= CSV CONV_FILENAME= history @@ -151,3 +151,5 @@ OUTPUT_WRT_FREQ= 250 OPT_OBJECTIVE= DRAG * 0.001 OPT_CONSTRAINT= ( LIFT = 0.0 ) * 0.001; ( AREA > 0.0660957 ) * 0.001 DEFINITION_DV= ( 30, 1.0 | airfoil | 0, 0.961538461538 ); ( 30, 1.0 | airfoil | 0, 0.923076923077 ); ( 30, 1.0 | airfoil | 0, 0.884615384615 ); ( 30, 1.0 | airfoil | 0, 0.846153846154 ); ( 30, 1.0 | airfoil | 0, 0.807692307692 ); ( 30, 1.0 | airfoil | 0, 0.769230769231 ); ( 30, 1.0 | airfoil | 0, 0.730769230769 ); ( 30, 1.0 | airfoil | 0, 0.692307692308 ); ( 30, 1.0 | airfoil | 0, 0.653846153846 ); ( 30, 1.0 | airfoil | 0, 0.615384615385 ); ( 30, 1.0 | airfoil | 0, 0.576923076923 ); ( 30, 1.0 | airfoil | 0, 0.538461538462 ); ( 30, 1.0 | airfoil | 0, 0.5 ); ( 30, 1.0 | airfoil | 0, 0.461538461538 ); ( 30, 1.0 | airfoil | 0, 0.423076923077 ); ( 30, 1.0 | airfoil | 0, 0.384615384615 ); ( 30, 1.0 | airfoil | 0, 0.346153846154 ); ( 30, 1.0 | airfoil | 0, 0.307692307692 ); ( 30, 1.0 | airfoil | 0, 0.269230769231 ); ( 30, 1.0 | airfoil | 0, 0.230769230769 ); ( 30, 1.0 | airfoil | 0, 0.192307692308 ); ( 30, 1.0 | airfoil | 0, 0.153846153846 ); ( 30, 1.0 | airfoil | 0, 0.115384615385 ); ( 30, 1.0 | airfoil | 0, 0.0769230769231 ); ( 30, 1.0 | airfoil | 0, 0.0384615384615 ); ( 30, 1.0 | airfoil | 1, 0.0384615384615 ); ( 30, 1.0 | airfoil | 1, 0.0769230769231 ); ( 30, 1.0 | airfoil | 1, 0.115384615385 ); ( 30, 1.0 | airfoil | 1, 0.153846153846 ); ( 30, 1.0 | airfoil | 1, 0.192307692308 ); ( 30, 1.0 | airfoil | 1, 0.230769230769 ); ( 30, 1.0 | airfoil | 1, 0.269230769231 ); ( 30, 1.0 | airfoil | 1, 0.307692307692 ); ( 30, 1.0 | airfoil | 1, 0.346153846154 ); ( 30, 1.0 | airfoil | 1, 0.384615384615 ); ( 30, 1.0 | airfoil | 1, 0.423076923077 ); ( 30, 1.0 | airfoil | 1, 0.461538461538 ); ( 30, 1.0 | airfoil | 1, 0.5 ); ( 30, 1.0 | airfoil | 1, 0.538461538462 ); ( 30, 1.0 | airfoil | 1, 0.576923076923 ); ( 30, 1.0 | airfoil | 1, 0.615384615385 ); ( 30, 1.0 | airfoil | 1, 0.653846153846 ); ( 30, 1.0 | airfoil | 1, 0.692307692308 ); ( 30, 1.0 | airfoil | 1, 0.730769230769 ); ( 30, 1.0 | airfoil | 1, 0.769230769231 ); ( 30, 1.0 | airfoil | 1, 0.807692307692 ); ( 30, 1.0 | airfoil | 1, 0.846153846154 ); ( 30, 1.0 | airfoil | 1, 0.884615384615 ); ( 30, 1.0 | airfoil | 1, 0.923076923077 ); ( 30, 1.0 | airfoil | 1, 0.961538461538 ) +READ_BINARY_RESTART= NO +RESTART_ITER= 2 diff --git a/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg b/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg index 0a14191cdaf..8a4e536d4eb 100644 --- a/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg +++ b/TestCases/unsteady/pitching_naca64a010_rans/turb_NACA64A010.cfg @@ -14,7 +14,7 @@ SOLVER= RANS KIND_TURB_MODEL= SA MATH_PROBLEM= DIRECT -RESTART_SOL= NO +RESTART_SOL= YES % ------------------------- UNSTEADY SIMULATION -------------------------------% % @@ -140,7 +140,7 @@ CONV_CAUCHY_EPS= 1E-5 MESH_FILENAME= mesh_NACA64A010_turb.su2 MESH_FORMAT= SU2 MESH_OUT_FILENAME= mesh_out -SOLUTION_FILENAME= restart_flow +SOLUTION_FILENAME= solution_flow SOLUTION_ADJ_FILENAME= restart_adj TABULAR_FORMAT= CSV CONV_FILENAME= history @@ -159,3 +159,5 @@ OUTPUT_WRT_FREQ= 1 OPT_OBJECTIVE= DRAG * 0.001 OPT_CONSTRAINT= ( AREA > 0.0661121 ) * 0.001 DEFINITION_DV= ( 30, 1.0 | airfoil | 0, 0.961538461538 ); ( 30, 1.0 | airfoil | 0, 0.923076923077 ); ( 30, 1.0 | airfoil | 0, 0.884615384615 ); ( 30, 1.0 | airfoil | 0, 0.846153846154 ); ( 30, 1.0 | airfoil | 0, 0.807692307692 ); ( 30, 1.0 | airfoil | 0, 0.769230769231 ); ( 30, 1.0 | airfoil | 0, 0.730769230769 ); ( 30, 1.0 | airfoil | 0, 0.692307692308 ); ( 30, 1.0 | airfoil | 0, 0.653846153846 ); ( 30, 1.0 | airfoil | 0, 0.615384615385 ); ( 30, 1.0 | airfoil | 0, 0.576923076923 ); ( 30, 1.0 | airfoil | 0, 0.538461538462 ); ( 30, 1.0 | airfoil | 0, 0.5 ); ( 30, 1.0 | airfoil | 0, 0.461538461538 ); ( 30, 1.0 | airfoil | 0, 0.423076923077 ); ( 30, 1.0 | airfoil | 0, 0.384615384615 ); ( 30, 1.0 | airfoil | 0, 0.346153846154 ); ( 30, 1.0 | airfoil | 0, 0.307692307692 ); ( 30, 1.0 | airfoil | 0, 0.269230769231 ); ( 30, 1.0 | airfoil | 0, 0.230769230769 ); ( 30, 1.0 | airfoil | 0, 0.192307692308 ); ( 30, 1.0 | airfoil | 0, 0.153846153846 ); ( 30, 1.0 | airfoil | 0, 0.115384615385 ); ( 30, 1.0 | airfoil | 0, 0.0769230769231 ); ( 30, 1.0 | airfoil | 0, 0.0384615384615 ); ( 30, 1.0 | airfoil | 1, 0.0384615384615 ); ( 30, 1.0 | airfoil | 1, 0.0769230769231 ); ( 30, 1.0 | airfoil | 1, 0.115384615385 ); ( 30, 1.0 | airfoil | 1, 0.153846153846 ); ( 30, 1.0 | airfoil | 1, 0.192307692308 ); ( 30, 1.0 | airfoil | 1, 0.230769230769 ); ( 30, 1.0 | airfoil | 1, 0.269230769231 ); ( 30, 1.0 | airfoil | 1, 0.307692307692 ); ( 30, 1.0 | airfoil | 1, 0.346153846154 ); ( 30, 1.0 | airfoil | 1, 0.384615384615 ); ( 30, 1.0 | airfoil | 1, 0.423076923077 ); ( 30, 1.0 | airfoil | 1, 0.461538461538 ); ( 30, 1.0 | airfoil | 1, 0.5 ); ( 30, 1.0 | airfoil | 1, 0.538461538462 ); ( 30, 1.0 | airfoil | 1, 0.576923076923 ); ( 30, 1.0 | airfoil | 1, 0.615384615385 ); ( 30, 1.0 | airfoil | 1, 0.653846153846 ); ( 30, 1.0 | airfoil | 1, 0.692307692308 ); ( 30, 1.0 | airfoil | 1, 0.730769230769 ); ( 30, 1.0 | airfoil | 1, 0.769230769231 ); ( 30, 1.0 | airfoil | 1, 0.807692307692 ); ( 30, 1.0 | airfoil | 1, 0.846153846154 ); ( 30, 1.0 | airfoil | 1, 0.884615384615 ); ( 30, 1.0 | airfoil | 1, 0.923076923077 ); ( 30, 1.0 | airfoil | 1, 0.961538461538 ) +READ_BINARY_RESTART= NO +RESTART_ITER= 2 diff --git a/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg b/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg index a364dadd763..b1ce80b506f 100644 --- a/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg +++ b/TestCases/unsteady/plunging_naca0012/plunging_NACA0012.cfg @@ -14,7 +14,7 @@ SOLVER= NAVIER_STOKES KIND_TURB_MODEL= NONE MATH_PROBLEM= DIRECT -RESTART_SOL= NO +RESTART_SOL= YES % ------------------------- UNSTEADY SIMULATION -------------------------------% % @@ -121,3 +121,5 @@ SURFACE_FILENAME= surface_flow SURFACE_ADJ_FILENAME= surface_adjoint SCREEN_OUTPUT= (TIME_ITER, INNER_ITER, RMS_DENSITY, RMS_ENERGY, LIFT, DRAG) OUTPUT_WRT_FREQ= 1 +READ_BINARY_RESTART= NO +RESTART_ITER= 2 From 623175946c126feb2fda0b5b73aef0457694c397 Mon Sep 17 00:00:00 2001 From: Sahil_Kumar Date: Sat, 4 Apr 2026 11:31:35 +0000 Subject: [PATCH 6/8] Fix test_iter to satisfy TIME_ITER > RESTART_ITER constraint - CI autotest sets TIME_ITER = test_iter + 1 - With test_iter=1, TIME_ITER=2 = RESTART_ITER=2, violating the constraint TIME_ITER > RESTART_ITER in SetPostprocessing - Fix: set test_iter=2 so TIME_ITER=3 > RESTART_ITER=2 - test_vals at Time_Iter=2 are unchanged --- TestCases/serial_regression.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TestCases/serial_regression.py b/TestCases/serial_regression.py index a21dcee44a1..d831b67e721 100755 --- a/TestCases/serial_regression.py +++ b/TestCases/serial_regression.py @@ -823,7 +823,7 @@ def main(): unst_pitching_naca64a010_rans = TestCase('unst_pitching_naca64a010_rans') unst_pitching_naca64a010_rans.cfg_dir = "unsteady/pitching_naca64a010_rans" unst_pitching_naca64a010_rans.cfg_file = "turb_NACA64A010.cfg" - unst_pitching_naca64a010_rans.test_iter = 1 + unst_pitching_naca64a010_rans.test_iter = 2 unst_pitching_naca64a010_rans.test_vals = [-4.799603, -7.374477, -0.005421, 0.008293] unst_pitching_naca64a010_rans.unsteady = True test_list.append(unst_pitching_naca64a010_rans) @@ -831,7 +831,7 @@ def main(): unst_pitching_naca64a010_euler = TestCase('unst_pitching_naca64a010_euler') unst_pitching_naca64a010_euler.cfg_dir = "unsteady/pitching_naca64a010_euler" unst_pitching_naca64a010_euler.cfg_file = "pitching_NACA64A010.cfg" - unst_pitching_naca64a010_euler.test_iter = 1 + unst_pitching_naca64a010_euler.test_iter = 2 unst_pitching_naca64a010_euler.test_vals = [-4.240073, 1.280267, -0.040141, 0.000887] unst_pitching_naca64a010_euler.unsteady = True test_list.append(unst_pitching_naca64a010_euler) @@ -839,7 +839,7 @@ def main(): unst_plunging_naca0012 = TestCase('unst_plunging_naca0012') unst_plunging_naca0012.cfg_dir = "unsteady/plunging_naca0012" unst_plunging_naca0012.cfg_file = "plunging_NACA0012.cfg" - unst_plunging_naca0012.test_iter = 1 + unst_plunging_naca0012.test_iter = 2 unst_plunging_naca0012.test_vals = [-5.829829, -0.258459, 0.888444, -0.124558] unst_plunging_naca0012.unsteady = True test_list.append(unst_plunging_naca0012) From f5f8f4bf3556be217583e95eef2349e3034c2465 Mon Sep 17 00:00:00 2001 From: Sahil_Kumar Date: Sat, 4 Apr 2026 18:06:24 +0000 Subject: [PATCH 7/8] Re-trigger CI after TestCase#190 merged From ebade0434f5062f0a1126218e660cde1b7dc02ec Mon Sep 17 00:00:00 2001 From: Sahil_Kumar Date: Sun, 5 Apr 2026 11:09:44 +0000 Subject: [PATCH 8/8] Update test_vals to CI computed values at Time_Iter=2, Inner_Iter=0 --- TestCases/serial_regression.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TestCases/serial_regression.py b/TestCases/serial_regression.py index d831b67e721..ed1a74ca42a 100755 --- a/TestCases/serial_regression.py +++ b/TestCases/serial_regression.py @@ -824,7 +824,7 @@ def main(): unst_pitching_naca64a010_rans.cfg_dir = "unsteady/pitching_naca64a010_rans" unst_pitching_naca64a010_rans.cfg_file = "turb_NACA64A010.cfg" unst_pitching_naca64a010_rans.test_iter = 2 - unst_pitching_naca64a010_rans.test_vals = [-4.799603, -7.374477, -0.005421, 0.008293] + unst_pitching_naca64a010_rans.test_vals = [-1.299045, -3.951372, 0.010139, 0.008244] unst_pitching_naca64a010_rans.unsteady = True test_list.append(unst_pitching_naca64a010_rans) # unsteady pitching NACA64A010, Euler @@ -832,7 +832,7 @@ def main(): unst_pitching_naca64a010_euler.cfg_dir = "unsteady/pitching_naca64a010_euler" unst_pitching_naca64a010_euler.cfg_file = "pitching_NACA64A010.cfg" unst_pitching_naca64a010_euler.test_iter = 2 - unst_pitching_naca64a010_euler.test_vals = [-4.240073, 1.280267, -0.040141, 0.000887] + unst_pitching_naca64a010_euler.test_vals = [-1.186839, 4.280301, -0.038811, 0.000913] unst_pitching_naca64a010_euler.unsteady = True test_list.append(unst_pitching_naca64a010_euler) # unsteady plunging NACA0012, Laminar NS @@ -840,7 +840,7 @@ def main(): unst_plunging_naca0012.cfg_dir = "unsteady/plunging_naca0012" unst_plunging_naca0012.cfg_file = "plunging_NACA0012.cfg" unst_plunging_naca0012.test_iter = 2 - unst_plunging_naca0012.test_vals = [-5.829829, -0.258459, 0.888444, -0.124558] + unst_plunging_naca0012.test_vals = [-4.083462, 1.366757, -3.718481, -0.066605] unst_plunging_naca0012.unsteady = True test_list.append(unst_plunging_naca0012)