Skip to content

Commit d69757e

Browse files
committed
fado regression
1 parent e4e670b commit d69757e

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

TestCases/tutorials.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,14 +345,29 @@ def main():
345345
pass_list = [ test.run_test() for test in test_list ]
346346

347347

348+
# design-FADO: 90 degree pipe bend optimization
349+
test1 = TestCase('test1')
350+
test1.command = TestCase.Command(exec = "python", param = "optimization1.py")
351+
test1.cfg_dir = "../Tutorials/design/Inc_Turbulent_Bend_Wallfunctions"
352+
test1.cfg_file = "sudo.cfg"
353+
test1.multizone = False
354+
test1.test_iter = 10
355+
test1.timeout = 1600
356+
test1.reference_file = "optim.csv.ref"
357+
test1.test_file = "optim.csv"
358+
test1.comp_threshold = 1e-6
359+
test1.tol_file_percent = 0.1
360+
pass_list.append(test1.run_filediff())
361+
test_list.append(test1)
362+
348363
# design-FADO: 90 degree pipe bend optimization
349364
sudo_design_fado = TestCase('sudo_bend_design_fado')
350365
sudo_design_fado.command = TestCase.Command(exec = "python", param = "optimization.py")
351366
sudo_design_fado.cfg_dir = "../Tutorials/design/Inc_Turbulent_Bend_Wallfunctions"
352367
sudo_design_fado.cfg_file = "sudo.cfg"
353368
sudo_design_fado.multizone = False
354369
sudo_design_fado.test_iter = 10
355-
sudo_design_fado.timeout = 1600
370+
sudo_design_fado.timeout = 3200
356371
sudo_design_fado.reference_file = "optim.csv.ref"
357372
sudo_design_fado.test_file = "optim.csv"
358373
sudo_design_fado.comp_threshold = 1e-6

0 commit comments

Comments
 (0)