@@ -277,7 +277,7 @@ def main():
277277 discadj_fsi2 .cfg_dir = "disc_adj_fsi/Airfoil_2d"
278278 discadj_fsi2 .cfg_file = "config.cfg"
279279 discadj_fsi2 .test_iter = 8
280- discadj_fsi2 .test_vals = [- 4.772783 , 0.916930 , - 3.863369 , 2.9545e-01 , 3.8412 ]
280+ discadj_fsi2 .test_vals = [- 4.772585 , 0.918091 , - 3.863369 , 0.295450 , 3.841200 ]
281281 discadj_fsi2 .test_vals_aarch64 = [- 4.349372 , 0.190601 , - 1.303589 , 0.754070 , 2.324400 ]
282282 discadj_fsi2 .tol = 0.00001
283283 test_list .append (discadj_fsi2 )
@@ -323,6 +323,28 @@ def main():
323323 da_unsteadyCHT_cylinder .multizone = True
324324 test_list .append (da_unsteadyCHT_cylinder )
325325
326+ ##################################
327+ ### Disc. adj. flamelet solver ###
328+ ##################################
329+
330+ # 2D planar laminar premixed flame on isothermal burner (restart)
331+ discadj_flamelet_ch4_hx = TestCase ('discadj_flamelet_ch4_hx' )
332+ discadj_flamelet_ch4_hx .cfg_dir = "flamelet/02_laminar_premixed_ch4_flame_hx_ad"
333+ discadj_flamelet_ch4_hx .cfg_file = "lam_prem_ch4_hx_ad.cfg"
334+ discadj_flamelet_ch4_hx .multizone = False
335+ discadj_flamelet_ch4_hx .test_iter = 10
336+ discadj_flamelet_ch4_hx .test_vals = [- 8.590418 , - 8.455958 , - 8.752915 , - 6.591140 , - 14.611234 , - 3.200577 , - 18.860864 ]
337+ test_list .append (discadj_flamelet_ch4_hx )
338+
339+ # 2D planar laminar premixed flame on isothermal burner with conjugate heat transfer (restart)
340+ discadj_flamelet_ch4_cht = TestCase ('discadj_flamelet_ch4_cht' )
341+ discadj_flamelet_ch4_cht .cfg_dir = "flamelet/04_laminar_premixed_ch4_flame_cht_ad"
342+ discadj_flamelet_ch4_cht .cfg_file = "lam_prem_ch4_cht_ad_master.cfg"
343+ discadj_flamelet_ch4_cht .multizone = True
344+ discadj_flamelet_ch4_cht .test_iter = 10
345+ discadj_flamelet_ch4_cht .test_vals = [- 2.709315 , - 1.959829 , - 1.979420 , - 0.095015 , - 7.230415 , - 18.606872 , - 18.578240 , - 4.804839 ]
346+ test_list .append (discadj_flamelet_ch4_cht )
347+
326348 ######################################
327349 ### RUN TESTS ###
328350 ######################################
@@ -341,40 +363,6 @@ def main():
341363
342364 pass_list = [ test .run_test () for test in test_list ]
343365
344- ##################################
345- ### Disc. adj. flamelet solver ###
346- ##################################
347-
348- # 2D planar laminar premixed flame on isothermal burner (restart)
349- discadj_flamelet_ch4_hx = TestCase ('discadj_flamelet_ch4_hx' )
350- discadj_flamelet_ch4_hx .command = TestCase .Command ("mpirun -n 2" , "SU2_CFD_AD" )
351- discadj_flamelet_ch4_hx .cfg_dir = "flamelet/02_laminar_premixed_ch4_flame_hx_ad"
352- discadj_flamelet_ch4_hx .cfg_file = "lam_prem_ch4_hx_ad.cfg"
353- discadj_flamelet_ch4_hx .multizone = False
354- discadj_flamelet_ch4_hx .test_iter = 10
355- discadj_flamelet_ch4_hx .timeout = 20000
356- discadj_flamelet_ch4_hx .reference_file = "restart_adj_custom.csv.ref"
357- discadj_flamelet_ch4_hx .test_file = "restart_adj_custom.csv"
358- discadj_flamelet_ch4_hx .comp_threshold = 1e-6
359- discadj_flamelet_ch4_hx .tol_file_percent = 0.1
360- # pass_list.append(discadj_flamelet_ch4_hx.run_filediff())
361- # test_list.append(discadj_flamelet_ch4_hx)
362-
363- # 2D planar laminar premixed flame on isothermal burner with conjugate heat transfer (restart)
364- discadj_flamelet_ch4_cht = TestCase ('discadj_flamelet_ch4_cht' )
365- discadj_flamelet_ch4_cht .command = TestCase .Command ("mpirun -n 2" , "SU2_CFD_AD" )
366- discadj_flamelet_ch4_cht .cfg_dir = "flamelet/04_laminar_premixed_ch4_flame_cht_ad"
367- discadj_flamelet_ch4_cht .cfg_file = "lam_prem_ch4_cht_ad_master.cfg"
368- discadj_flamelet_ch4_cht .multizone = True
369- discadj_flamelet_ch4_cht .test_iter = 5
370- discadj_flamelet_ch4_cht .reference_file = "restart_adj_T_0.csv.ref"
371- discadj_flamelet_ch4_cht .test_file = "restart_adj_T_0.csv"
372- discadj_flamelet_ch4_cht .comp_threshold = 1e-6
373- discadj_flamelet_ch4_cht .tol_file_percent = 0.1
374- discadj_flamelet_ch4_cht .timeout = 20000
375- # pass_list.append(discadj_flamelet_ch4_cht.run_filediff())
376- # test_list.append(discadj_flamelet_ch4_cht)
377-
378366 ################################################
379367 ### Gradient check (dot) for flamelet solver ###
380368 ################################################
@@ -392,8 +380,8 @@ def main():
392380 dot_flamelet_ch4_hx .test_file = "of_grad.csv"
393381 dot_flamelet_ch4_hx .comp_threshold = 1e-6
394382 dot_flamelet_ch4_hx .tol_file_percent = 0.1
395- # pass_list.append(dot_flamelet_ch4_hx.run_filediff())
396- # test_list.append(dot_flamelet_ch4_hx)
383+ pass_list .append (dot_flamelet_ch4_hx .run_filediff ())
384+ test_list .append (dot_flamelet_ch4_hx )
397385
398386 # 2D planar laminar premixed flame on isothermal burner with conjugate heat transfer (restart)
399387 # This test restarts on the output of test discadj_flamelet_ch4_cht and
@@ -409,8 +397,8 @@ def main():
409397 dot_flamelet_ch4_cht .test_file = "of_grad.csv"
410398 dot_flamelet_ch4_cht .comp_threshold = 1e-6
411399 dot_flamelet_ch4_cht .tol_file_percent = 0.1
412- # pass_list.append(dot_flamelet_ch4_cht.run_filediff())
413- # test_list.append(dot_flamelet_ch4_cht)
400+ pass_list .append (dot_flamelet_ch4_cht .run_filediff ())
401+ test_list .append (dot_flamelet_ch4_cht )
414402
415403 ##################################################
416404 ### Structural Adjoint - Topology Optimization ###
0 commit comments