Skip to content

Commit f3dd117

Browse files
committed
modify a test
1 parent c73bec0 commit f3dd117

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

TestCases/fea_fsi/rotating_cylinder/config.cfg

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,15 @@ CENTRIFUGAL_FORCE= YES
2121
ROTATION_RATE= ( 1500, 0, 0 )
2222
MOTION_ORIGIN= ( 0, 0, 0 )
2323

24-
LINEAR_SOLVER= CONJUGATE_GRADIENT
24+
% We are using FGCRODR here for test coverage, CONJUGATE_GRADIENT is usually
25+
% faster, and always more memory-efficient for FEA problems. In this case they
26+
% take approximately the same number of iterations.
27+
LINEAR_SOLVER= FGCRODR
2528
LINEAR_SOLVER_PREC= ILU
2629
LINEAR_SOLVER_ERROR= 1E-8
27-
LINEAR_SOLVER_ITER= 1000
30+
LINEAR_SOLVER_ITER= 200
31+
LINEAR_SOLVER_RESTART_FREQUENCY= 30
32+
LINEAR_SOLVER_RESTART_DEFLATION= 7
2833

2934
SCREEN_OUTPUT= INNER_ITER, RMS_RES, LINSOL, VMS
3035
OUTPUT_WRT_FREQ= 1

TestCases/parallel_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ def main():
12581258
# For a thin disk with the inner and outer radius of this geometry, from
12591259
# "Formulas for Stress, Strain, and Structural Matrices", 2nd Edition, figure 19-4,
12601260
# the maximum stress is 165.6MPa, we get a Von Misses stress very close to that.
1261-
rotating_cylinder_fea.test_vals = [-6.861940, -6.835550, -6.895497, 22, -8.313847, 1.6502e+08]
1261+
rotating_cylinder_fea.test_vals = [-6.792437, -6.732377, -6.808446, 64, -8.226119, 1.6502e+08]
12621262
rotating_cylinder_fea.test_vals_aarch64 = [-6.861939, -6.835539, -6.895498, 22, -8.313847, 1.6502e+08]
12631263
test_list.append(rotating_cylinder_fea)
12641264

0 commit comments

Comments
 (0)