Skip to content

Commit de42d07

Browse files
committed
Fix contact saddle-point preconditioner tests
These tests target the contact preconditioner, thus their nonlinear solver tolerance is way to loose. Hence, results are affected by changes in the subdomain. Slightly loosening the result tolerances makes the test more robust. Number of linear iterations have changed as well.
1 parent 3193bf3 commit de42d07

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

tests/input_files/contact3D_sp_std_braess_sarazin.dat

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
3D contact in saddle-point formulation with fully coupled AMG
33
preconditioner from MueLu
44
------------------------------------------------------PROBLEM SIZE
5-
//ELEMENTS 9216
6-
//NODES 11250
7-
DIM 3
5+
//ELEMENTS 9216
6+
//NODES 11250
7+
DIM 3
88
-----------------------------------------------------DISCRETISATION
99
NUMFLUIDDIS 1
1010
NUMSTRUCDIS 1
@@ -13,7 +13,7 @@ NUMARTNETDIS 1
1313
NUMTHERMDIS 1
1414
NUMAIRWAYSDIS 1
1515
--------------------------------------------------------PROBLEM TYPE
16-
PROBLEMTYPE Structure
16+
PROBLEMTYPE Structure
1717
RESTART 0
1818
SHAPEFCT Polynomial
1919
RANDSEED -1
@@ -24,18 +24,18 @@ STRUCT_STRESS No
2424
STRUCT_COUPLING_STRESS No
2525
STRUCT_STRAIN No
2626
FILESTEPS 1000
27-
STDOUTEVERY 1
27+
STDOUTEVERY 1
2828
WRITE_TO_SCREEN Yes
2929
WRITE_TO_FILE No
3030
VERBOSITY verbose
31-
RESTARTEVERY -1
31+
RESTARTEVERY -1
3232
--------------------------------------------------MESH PARTITIONING
3333
IMBALANCE_TOL 1.03
3434
-------------------------------------------------STRUCTURAL DYNAMIC
3535
INT_STRATEGY Old
36-
DYNAMICTYPE Statics
37-
RESULTSEVERY 1
38-
RESEVERYERGY 0
36+
DYNAMICTYPE Statics
37+
RESULTSEVERY 1
38+
RESEVERYERGY 0
3939
RESTARTEVERY 1000
4040
TIMESTEP 0.0025
4141
NUMSTEP 1
@@ -108,11 +108,11 @@ STRUCTURE DIS structure NODE 5460 QUANTITY dispx VALUE -6.06478973853427183e-04
108108
STRUCTURE DIS structure NODE 5460 QUANTITY dispy VALUE -4.76147405311606387e-05 TOLERANCE 1.0e-7
109109
STRUCTURE DIS structure NODE 5460 QUANTITY dispz VALUE -2.07060581325553978e-05 TOLERANCE 1.0e-7
110110
// Check displacement of node on master side of the contact interface
111-
STRUCTURE DIS structure NODE 6284 QUANTITY dispx VALUE 3.93501688602034591e-04 TOLERANCE 1.0e-7
111+
STRUCTURE DIS structure NODE 6284 QUANTITY dispx VALUE 3.93501688602034591e-04 TOLERANCE 3.0e-7
112112
STRUCTURE DIS structure NODE 6284 QUANTITY dispy VALUE 3.21827951739344922e-06 TOLERANCE 1.0e-7
113113
STRUCTURE DIS structure NODE 6284 QUANTITY dispz VALUE 3.00076971309307133e-05 TOLERANCE 1.0e-7
114114
// Check linear iterations in last Newton step
115-
STRUCTURE SPECIAL true QUANTITY lin_iters_contact VALUE 37 TOLERANCE 1.0e-13
115+
STRUCTURE SPECIAL true QUANTITY lin_iters_contact VALUE 38 TOLERANCE 1.0e-13
116116
-------------------------------------DESIGN SURF DIRICH CONDITIONS
117117
// dirichlet_surf_large
118118
E 1 NUMDOF 3 ONOFF 1 1 1 VAL 0.0 0.0 0.0 FUNCT 0 0 0

tests/input_files/contact3D_sp_std_simple.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ STRUCTURE DIS structure NODE 6284 QUANTITY dispx VALUE 3.93501688602034591e-04 T
114114
STRUCTURE DIS structure NODE 6284 QUANTITY dispy VALUE 3.21827951739344922e-06 TOLERANCE 1.0e-7
115115
STRUCTURE DIS structure NODE 6284 QUANTITY dispz VALUE 3.00076971309307133e-05 TOLERANCE 1.0e-7
116116
// Check linear iterations in last Newton step
117-
STRUCTURE SPECIAL true QUANTITY lin_iters_contact VALUE 20 TOLERANCE 1.0e-13
117+
STRUCTURE SPECIAL true QUANTITY lin_iters_contact VALUE 27 TOLERANCE 1.0e-13
118118
-------------------------------------DESIGN SURF DIRICH CONDITIONS
119119
// dirichlet_surf_large
120120
E 1 NUMDOF 3 ONOFF 1 1 1 VAL 0.0 0.0 0.0 FUNCT 0 0 0

tests/input_files/contact3D_sp_std_uzawa.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ STRUCTURE DIS structure NODE 6284 QUANTITY dispx VALUE 3.93501688602034591e-04 T
114114
STRUCTURE DIS structure NODE 6284 QUANTITY dispy VALUE 3.21827951739344922e-06 TOLERANCE 1.0e-7
115115
STRUCTURE DIS structure NODE 6284 QUANTITY dispz VALUE 3.00076971309307133e-05 TOLERANCE 1.0e-7
116116
// Check linear iterations in last Newton step
117-
STRUCTURE SPECIAL true QUANTITY lin_iters_contact VALUE 32 TOLERANCE 1.0e-13
117+
STRUCTURE SPECIAL true QUANTITY lin_iters_contact VALUE 27 TOLERANCE 1.0e-13
118118
-------------------------------------DESIGN SURF DIRICH CONDITIONS
119119
// dirichlet_surf_large
120120
E 1 NUMDOF 3 ONOFF 1 1 1 VAL 0.0 0.0 0.0 FUNCT 0 0 0

0 commit comments

Comments
 (0)