Skip to content

Commit b418cc0

Browse files
committed
fado regression
1 parent ac31189 commit b418cc0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

TestCases/tutorials.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def main():
118118
sudo_design_adjoint.command = TestCase.Command("mpirun -n 2", "SU2_CFD_AD")
119119
test_list.append(sudo_design_adjoint)
120120

121+
121122
### Species Transport
122123

123124
# 3 species (2 eq) primitive venturi mixing
@@ -343,6 +344,22 @@ def main():
343344

344345
pass_list = [ test.run_test() for test in test_list ]
345346

347+
348+
# design-FADO: 90 degree pipe bend optimization
349+
sudo_design_fado = TestCase('sudo_bend_design_fado')
350+
sudo_design_fado.command = TestCase.Command("python", "optimization.py")
351+
sudo_design_fado.cfg_dir = "../Tutorials/design/Inc_Turbulent_Bend_Wallfunctions"
352+
sudo_design_fado.cfg_file = "sudo.cfg"
353+
sudo_design_fado.multizone = False
354+
sudo_design_fado.test_iter = 10
355+
sudo_design_fado.timeout = 1600
356+
sudo_design_fado.reference_file = "optim.csv.ref"
357+
sudo_design_fado.test_file = "optim.csv"
358+
sudo_design_fado.comp_threshold = 1e-6
359+
sudo_design_fado.tol_file_percent = 0.1
360+
pass_list.append(sudo_design_fado.run_filediff())
361+
test_list.append(sudo_design_fado)
362+
346363
# Tests summary
347364
print('==================================================================')
348365
print('Summary of the parallel tests')

0 commit comments

Comments
 (0)