@@ -14,17 +14,18 @@ OPTIONS & PREFIXES
14
14
15
15
* Jacobian preconditioner matrix is controlled with prefix -pcmat_
16
16
17
- -pcmat_type [block, mono] - select matrix type (block or monolithic) (default - mono)
18
- -pcmat_pgamma [value] - set the penalty parameter (pgamma >= 1) (default - 1)
19
- -pcmat_no_dev_proj - switch off deviatoric projection (default - not set)
17
+ -pcmat_type [block, mono] - select matrix type (block or monolithic) (default - mono)
18
+ -pcmat_schur_type [wbfbt, inv_eta] - Schur preconditiner type (wBFBt or I/eta) (default - inv_eta)
19
+ -pcmat_pgamma [value] - set the penalty parameter (pgamma >= 1) (default - 1)
20
+ -pcmat_no_dev_proj - switch off deviatoric projection (default - not set)
20
21
21
22
If matrix type is 'block', and 'pgamma' > 1, velocity Schur complement is assembled
22
23
23
24
* Jacobian preconditioner is controlled with prefix -jp
24
25
25
26
-jp_type [bf, mg, user] - select preconditioner type (default user)
26
27
27
- bf - block factorization (currently only block upper triangular)
28
+ bf - block factorization
28
29
mg - coupled Galerkin geometric multigrid
29
30
user - coupled user-defined preconditioner controlled via options
30
31
@@ -34,12 +35,16 @@ OPTIONS & PREFIXES
34
35
35
36
* Block factorization preconditioner is controlled with prefix -bf
36
37
37
- -bf_vs_type [mg, user] - select velocity block solver:
38
+ -bf_type [upper, lower] - block factorization type (default upper)
39
+
40
+ -bf_vs_type [mg, user] - select velocity block solver (default user)
38
41
39
42
mg - Galerkin geometric multigrid
40
43
user - user-defined preconditioner controlled via options
41
44
42
45
Option prefix for user-defined velocity solver is -vs
46
+
47
+ Option prefix for pressure block solver is -ks (only relevant for -pcmat_schur_type wbfbt)
43
48
44
49
* Galerkin geometric multigrid option (both coupled and velocity) is -gmg_
45
50
@@ -78,11 +83,20 @@ Examples
78
83
79
84
-jp_type user
80
85
-jp_pc_type lu
81
- -jp_pc_factor_mat_solver_package mumps
86
+ -jp_pc_factor_mat_solver_type mumps
87
+
88
+ ================================================================================
89
+
90
+ [3] multigrid for coupled system
91
+ (see [7] for coupled multigrid settings)
92
+
93
+ -pcmat_type mono
94
+
95
+ -jp_type mg
82
96
83
97
================================================================================
84
98
85
- [3 ] block factorization with penalty and direct solver for velocity block (a-la Powell-Hesteness)
99
+ [4 ] block factorization with penalty and direct solver for velocity block (a-la Powell-Hesteness)
86
100
(play with -pcmat_pgamma to see the iteration count)
87
101
88
102
-pcmat_type block
@@ -94,31 +108,45 @@ Examples
94
108
95
109
-vs_ksp_type preonly
96
110
-vs_pc_type lu
97
- -vs_pc_factor_mat_solver_package mumps
111
+ -vs_pc_factor_mat_solver_type mumps
98
112
99
113
================================================================================
100
114
101
- [4] multigrid for coupled system
115
+ [5] block factorization with multigrid for velocity block
116
+ (see [7] for velocity multigrid settings)
102
117
103
- -pcmat_type mono
118
+ -pcmat_type block
104
119
105
- -jp_type mg
120
+ -jp_type bf
121
+
122
+ -bf_vs_type mg
123
+
124
+ -vs_ksp_type preonly
106
125
107
126
================================================================================
108
127
109
- [5] block factorization with multigrid for velocity block
128
+ [6] block factorization with wBFBT preconditioner and multigrid for velocity and pressure blocks
129
+ (see [7] for velocity multigrid settings)
130
+ (see [8] for pressure multigrid settings)
110
131
111
132
-pcmat_type block
112
-
133
+ -pcmat_schur_type wbfbt
134
+
113
135
-jp_type bf
114
136
115
137
-bf_vs_type mg
116
138
117
- -vs_ksp_type preonly
139
+ -vs_ksp_type gmres
140
+ -vs_ksp_rtol 1e-2
141
+ -vs_ksp_max_it 10
142
+
143
+ -ks_ksp_type gmres
144
+ -ks_ksp_rtol 1e-2
145
+ -ks_ksp_max_it 10
118
146
119
147
================================================================================
120
148
121
- [6 ] multigrid & coarse solver settings (both coupled & velocity)
149
+ [7 ] multigrid & coarse solver settings (both coupled system & velocity block )
122
150
123
151
-gmg_pc_view
124
152
-gmg_pc_type mg
@@ -135,6 +163,17 @@ Examples
135
163
-crs_ksp_type preonly
136
164
-crs_pc_type redundant
137
165
-crs_pc_redundant_number 1
138
- -crs_redundant_pc_factor_mat_solver_package mumps
166
+ -crs_redundant_pc_factor_mat_solver_type mumps
139
167
140
168
================================================================================
169
+
170
+ [8] multigrid settings for pressure block
171
+
172
+ -ks_pc_type mg
173
+ -ks_pc_mg_levels 3
174
+ -ks_pc_mg_galerkin
175
+ -ks_pc_mg_type multiplicative
176
+ -ks_pc_mg_cycle_type v
177
+
178
+ ================================================================================
179
+
0 commit comments