v0.14.0
param_file.petsc
Go to the documentation of this file.
1 ###############################
2 #### Essential parameters #####
3 
4 # set Griffith's energy
5 -my_gc 1.4e-4
6 
7 # arc length step
8 -arc_s 1e-5
9 
10 ## arc-length step adaptation
11 
12 # desired number of iterations
13 -adapt_step_its_d 8
14 # minimal step size
15 -adapt_step_min_s 5e-5
16 # maximal step size
17 -adapt_step_max_s 5e-4
18 
19 ## Steps and cutting
20 # number of cutting steps
21 -nb_cut_steps 100
22 # number of load steps between cutting
23 -nb_load_steps 3
24 
25 ## Approximation order a
26 
27 # global approximation order
28 -my_order 1
29 # increase of appox. at crack front (global_order + ref_order)
30 -my_ref_order 2
31 
32 # If one or true crack propagation algorithm on
33 #-my_propagate_crack 1
34 
35 # Initial load step
36 -load_scale 1
37 
38 # Solvers propagation
39 
40 -arc_length_ksp_type fgmres
41 -arc_length_ksp_max_it 20
42 #-arc_length_norm_iteration 5
43 -arc_length_ksp_gmres_restart 500
44 -arc_length_ksp_atol 1e-10
45 -arc_length_ksp_rtol 0
46 #-arc_length_ksp_monitor
47 
48 -elastic_pc_type lu
49 #-propagation_pc_type lu
50 -propagation_pc_type fieldsplit
51 -propagation_pc_fieldsplit_type multiplicative
52 #-propagation_pc_fieldsplit_type schur
53 #-propagation_pc_fieldsplit_schur_precondition selfp
54 
55 -propagation_fieldsplit_0_ksp_type cg
56 -propagation_fieldsplit_0_ksp_atol 1e-16
57 -propagation_fieldsplit_0_ksp_rtol 0
58 -propagation_fieldsplit_0_ksp_max_it 5
59 -propagation_fieldsplit_0_pc_type lu
60 #-propagation_fieldsplit_0_pc_type bjacobi
61 #-propagation_fieldsplit_0_ksp_monitor
62 #-propagation_fieldsplit_0_ksp_converged_reason
63 
64 -propagation_fieldsplit_1_ksp_type fgmres
65 -propagation_fieldsplit_1_ksp_atol 1e-16
66 -propagation_fieldsplit_1_ksp_rtol 0
67 -propagation_fieldsplit_1_ksp_max_it 3
68 #-propagation_fieldsplit_1_ksp_monitor
69 -propagation_fieldsplit_1_pc_type lu
70 
71 ######################################
72 ##### Critical cutting parameters ####
73 
74 #-fraction_level 5
75 
76 # Cut
77 #-tol_cut 1e-1
78 #-tol_cut_close 2e-1
79 # Trim
80 #-tol_trim_close 2e-1
81 
82 #-cut_mesh 1
83 -cut_surface_side_set 400
84 -edges_block_set 2
85 -vertex_block_set 3
86 -cut_factor 1
87 
88 #-cutting_surf_corner_factor 0.2
89 #-cutting_surf_edge_delta 0.2
90 #-cutting_surf_skin_factor 0.2
91 
92 ##############################
93 #### Sometimes change this ####
94 
95 # Arc-length
96 
97 -arc_beta 0
98 
99 # Crack front regularisation
100 
101 -griffith_E 1
102 -griffith_r 1
103 -gc_fix_threshold 0.5
104 
105 # Smoothing parameters
106 
107 -arc_alpha 1
108 -smoothing_stabilise 1
109 -smoother_alpha 1
110 -adapt_min_smoother_alpha 1e-3
111 
112 
113 # Approximation and order
114 
115 -my_ref 0
116 -my_geom_order 1
117 -material HOOKE
118 -my_add_singularity 1
119 -my_max_post_proc_ref_level 0
120 
121 ###################################
122 #### Almost never change this ####
123 
124 -volume_length_type BARRIER_AND_CHANGE_QUALITY_SCALED_BY_VOLUME
125 
126 -ksp_type gmres
127 -ksp_atol 1e-12
128 -ksp_rtol 1e-12
129 -ksp_max_it 10
130 -pc_type lu
131 
132 -elastic_snes_monitor
133 -elastic_snes_atol 1e-10
134 -elastic_snes_rtol 1e-10
135 -elastic_snes_converged_reason
136 -elastic_snes_linesearch_type basic
137 -elastic_snes_max_linear_solve_fail 100
138 -elastic_snes_max_fail 100
139 
140 -elastic_ksp_monitor
141 -elastic_ksp_type gmres
142 -elastic_ksp_atol 1e-12
143 -elastic_ksp_rtol 1e-12
144 -elastic_ksp_stol 0
145 -elastic_ksp_max_it 100
146 
147 #-elastic_ksp_converged_reason
148 
149 #-propagation_snes_type ngmres
150 #-propagation_snes_ngmres_select_type difference
151 #-propagation_ngmres_monitor 1
152 #-propagation_snes_type test
153 
154 -propagation_snes_atol 1e-8
155 -propagation_snes_rtol 1e-6
156 -propagation_snes_stol 0
157 -propagation_snes_converged_reason
158 -propagation_snes_max_linear_solve_fail 100
159 -propagation_snes_max_fail 100
160 -propagation_snes_max_it 20
161 
162 -propagation_snes_linesearch_type l2
163 -propagation_snes_linesearch_minlambda 1e-3
164 -propagation_snes_linesearch_damping 1
165 -propagation_snes_linesearch_max_it 1
166 -propagation_snes_linesearch_monitor
167 -propagation_snes_monitor
168 
169 -propagation_ksp_monitor
170 -propagation_ksp_type fgmres
171 -propagation_ksp_atol 1e-10
172 -propagation_ksp_rtol 1e-6
173 -propagation_ksp_stol 0
174 -propagation_ksp_max_it 100
175 -propagation_ksp_gmres_restart 500
176 
177 -pc_factor_mat_ordering_type natural
178 -material_pc_factor_mat_ordering_type natural
179 -elastic_pc_factor_mat_ordering_type natural
180 -propagation_pc_factor_mat_ordering_type natural
181 -propagation_fieldsplit_0_pc_factor_mat_ordering_type natural
182 -propagation_fieldsplit_1_pc_factor_mat_ordering_type natural
183 
184 -log_no_color