Skip to content

Commit 94df327

Browse files
committed
update more fsi cases
1 parent a38005e commit 94df327

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

TestCases/disc_adj_fsi/Airfoil_2d/configFlow.cfg

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ TIME_DISCRE_FLOW= EULER_IMPLICIT
5151
% Linear solvers ------------------------------------------------------- %
5252
LINEAR_SOLVER= FGMRES
5353
LINEAR_SOLVER_PREC= ILU
54-
LINEAR_SOLVER_ERROR= 1E-3
55-
LINEAR_SOLVER_ITER= 20
56-
LINEAR_SOLVER_SMOOTHER_RELAXATION= 0.7
57-
DISCADJ_LIN_SOLVER= SMOOTHER
54+
LINEAR_SOLVER_ERROR= 1E-4
55+
LINEAR_SOLVER_ITER= 50
56+
DISCADJ_LIN_SOLVER= FGMRES
5857
DISCADJ_LIN_PREC= ILU
5958
NEWTON_KRYLOV= YES
6059
QUASI_NEWTON_NUM_SAMPLES= 999
@@ -91,4 +90,4 @@ VOLUME_ADJ_FILENAME= adjoint_fluid
9190
SURFACE_FILENAME= surface_fluid
9291
SURFACE_ADJ_FILENAME= adjoint_surface_fluid
9392
SCREEN_WRT_FREQ_INNER= 10
94-
CONV_FILENAME= history
93+
CONV_FILENAME= history
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
INDEX GRAD
2-
0 -3.533163525398154e-03
3-
1 -1.879941699367452e-03
4-
2 -8.078436962531523e-04
5-
3 -2.794845540524826e-04
6-
4 -2.790760674146328e-04
7-
5 -8.045490756184532e-04
8-
6 -1.867166054373919e-03
9-
7 -3.498473613679959e-03
2+
0 -4.570869215186209e-04
3+
1 -2.401466750293265e-04
4+
2 -9.134698389661222e-05
5+
3 -1.628087055796442e-05
6+
4 -1.741052457131011e-05
7+
5 -9.462489787924037e-05
8+
6 -2.452466259888652e-04
9+
7 -4.635483632874935e-04

TestCases/parallel_regression_AD.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def main():
217217
discadj_pitchingNACA0012.cfg_dir = "disc_adj_euler/naca0012_pitching"
218218
discadj_pitchingNACA0012.cfg_file = "inv_NACA0012_pitching.cfg"
219219
discadj_pitchingNACA0012.test_iter = 4
220-
discadj_pitchingNACA0012.test_vals = [-1.224823, -1.646695, -0.007573, 0.000012]
220+
discadj_pitchingNACA0012.test_vals = [-1.226212, -1.647429, -0.007557, 0.000012]
221221
discadj_pitchingNACA0012.unsteady = True
222222
test_list.append(discadj_pitchingNACA0012)
223223

@@ -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 = [-2.402385, 2.873651, -1.278981, -1.284800, 3.530900]
280+
discadj_fsi2.test_vals = [-4.772783, 0.916930, -3.863369, 2.9545e-01, 3.8412]
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)

0 commit comments

Comments
 (0)