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 10
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 and mg
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 -mofem_mg_verbose 1
41 -mofem_mg_coarse_order 1
42 -mofem_mg_levels 3
43 
44 -arc_length_ksp_type fgmres
45 -arc_length_ksp_max_it 20
46 #-arc_length_norm_iteration 5
47 -arc_length_ksp_gmres_restart 500
48 -arc_length_ksp_atol 1e-10
49 -arc_length_ksp_rtol 0
50 #-arc_length_ksp_monitor
51 
52 -elastic_pc_type lu
53 #-elastic_pc_type mg
54 
55 -propagation_pc_type lu
56 #-propagation_pc_type fieldsplit
57 -propagation_pc_fieldsplit_type multiplicative
58 #-propagation_pc_fieldsplit_type schur
59 #-propagation_pc_fieldsplit_schur_precondition selfp
60 
61 -propagation_fieldsplit_0_ksp_type cg
62 -propagation_fieldsplit_0_ksp_atol 1e-16
63 -propagation_fieldsplit_0_ksp_rtol 0
64 -propagation_fieldsplit_0_ksp_max_it 5
65 -propagation_fieldsplit_0_pc_type lu
66 #-propagation_fieldsplit_0_pc_type bjacobi
67 #-propagation_fieldsplit_0_pc_type mg
68 #-propagation_fieldsplit_0_ksp_monitor
69 #-propagation_fieldsplit_0_ksp_converged_reason
70 -propagation_fieldsplit_0_pc_mg_type multiplicative
71 -propagation_fieldsplit_0_pc_mg_smoothup 1
72 -propagation_fieldsplit_0_pc_mg_smoothdown 1
73 -propagation_fieldsplit_0_mg_coarse_ksp_type cg
74 -propagation_fieldsplit_0_mg_coarse_pc_type lu
75 
76 -propagation_fieldsplit_1_ksp_type fgmres
77 -propagation_fieldsplit_1_ksp_atol 1e-16
78 -propagation_fieldsplit_1_ksp_rtol 0
79 -propagation_fieldsplit_1_ksp_max_it 3
80 #-propagation_fieldsplit_1_ksp_monitor
81 -propagation_fieldsplit_1_pc_type lu
82 
83 ######################################
84 ##### Critical cutting parameters ####
85 
86 #-fraction_level 1
87 
88 # Cut
89 #-tol_cut 1e-2
90 #-tol_cut_close 1e-2
91 
92 # Trim
93 #-tol_trim_close 1e-4
94 
95 -cut_mesh 1
96 -cut_surface_side_set 400
97 -edges_block_set 2
98 -vertex_block_set 3
99 -cut_factor 1
100 
101 #-cutting_surf_corner_factor 0
102 #-cutting_surf_skin_factor 0.
103 #-cutting_snap_to_fixed_edge_rtol 0.2
104 
105 
106 ##############################
107 #### Somtimes change this ####
108 
109 # Arc-length
110 
111 -arc_beta 0
112 
113 # Crack front regularisation
114 
115 -griffith_E 1
116 -griffith_r 1
117 -gc_fix_threshold 0.5
118 
119 # Smoothing parameters
120 
121 -arc_alpha 1
122 -smoothing_stabilise 1
123 -smoother_alpha 1
124 -adapt_min_smoother_alpha 3
125 
126 # Approximation and order
127 
128 -my_ref 0
129 -my_geom_order 1
130 -material HOOKE
131 -my_add_singularity 1
132 -my_max_post_proc_ref_level 0
133 
134 ###################################
135 #### Almost never change this ####
136 
137 -volume_length_type BARRIER_AND_CHANGE_QUALITY_SCALED_BY_VOLUME
138 
139 -ksp_type gmres
140 -ksp_atol 1e-12
141 -ksp_rtol 1e-12
142 -ksp_max_it 10
143 -pc_type lu
144 
145 -elastic_snes_monitor
146 -elastic_snes_atol 1e-10
147 -elastic_snes_rtol 1e-10
148 -elastic_snes_converged_reason
149 -elastic_snes_linesearch_type basic
150 -elastic_snes_max_linear_solve_fail 100
151 -elastic_snes_max_fail 100
152 
153 -elastic_ksp_monitor
154 -elastic_ksp_type gmres
155 -elastic_ksp_atol 1e-12
156 -elastic_ksp_rtol 1e-12
157 -elastic_ksp_stol 0
158 -elastic_ksp_max_it 100
159 
160 -elastic_pc_mg_log
161 -elastic_pc_mg_type multiplicative
162 -elastic_pc_mg_smoothup 1
163 -elastic_pc_mg_smoothdown 1
164 -elastic_mg_coarse_ksp_type gmres
165 -elastic_mg_coarse_pc_type lu
166 #-elastic_ksp_converged_reason
167 
168 #-propagation_snes_type ngmres
169 #-propagation_snes_ngmres_select_type difference
170 #-propagation_ngmres_monitor 1
171 #-propagation_snes_type test
172 
173 -propagation_snes_atol 1e-8
174 -propagation_snes_rtol 1e-6
175 -propagation_snes_stol 0
176 -propagation_snes_converged_reason
177 -propagation_snes_max_linear_solve_fail 100
178 -propagation_snes_max_fail 100
179 -propagation_snes_max_it 20
180 
181 -propagation_snes_linesearch_type l2
182 -propagation_snes_linesearch_minlambda 1e-3
183 -propagation_snes_linesearch_damping 1
184 -propagation_snes_linesearch_max_it 1
185 -propagation_snes_linesearch_monitor
186 -propagation_snes_monitor
187 
188 -propagation_ksp_monitor
189 -propagation_ksp_type fgmres
190 -propagation_ksp_atol 1e-10
191 -propagation_ksp_rtol 1e-6
192 -propagation_ksp_max_it 100
193 -propagation_ksp_gmres_restart 500
194 
195 -pc_factor_mat_ordering_type natural
196 -material_pc_factor_mat_ordering_type natural
197 -elastic_pc_factor_mat_ordering_type natural
198 -propagation_pc_factor_mat_ordering_type natural
199 -propagation_fieldsplit_0_mg_coarse_pc_factor_mat_ordering_type natural
200 -propagation_fieldsplit_0_pc_factor_mat_ordering_type natural
201 -propagation_fieldsplit_1_pc_factor_mat_ordering_type natural