<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Hello Matt,</div>
<div class=""><br class="">
</div>
<div class="">Many thanks for your suggestion.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">BR,</div>
<div class="">Xiaofeng</div>
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Sep 26, 2022, at 20:29, Matthew Knepley <<a href="mailto:knepley@gmail.com" class="">knepley@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Another option are the PCPATCH solvers for multigrid, as shown in this paper: <a href="https://arxiv.org/abs/1912.08516" class="">https://arxiv.org/abs/1912.08516</a>
<div class="">which I believe solves incompressible elasticity. There is an example in PETSc for Stokes I believe.</div>
<div class=""><br class="">
</div>
<div class=""> Thanks,</div>
<div class=""><br class="">
</div>
<div class=""> Matt</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Sep 26, 2022 at 5:20 AM 晓峰 何 <<a href="mailto:tlanyan@hotmail.com" class="">tlanyan@hotmail.com</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;" class=""><span style="font-family:STSongti-SC-Regular" class="">Are there other approaches to solve this kind of systems in PETSc except for field-split methods? </span>
<div style="font-family:STSongti-SC-Regular" class=""><br class="">
</div>
<div style="font-family:STSongti-SC-Regular" class="">Thanks,</div>
<div style="font-family:STSongti-SC-Regular" class="">Xiaofeng</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Sep 26, 2022, at 14:13, Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank" class="">jed@jedbrown.org</a>> wrote:</div>
<br class="">
<div class=""><span style="font-family:STSongti-SC-Regular;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline" class="">This
is the joy of factorization field-split methods. The actual Schur complement is dense, so we represent it implicitly. A common strategy is to assemble the mass matrix and drop it in the 11 block of the Pmat. You can check out some examples in the repository
for incompressible flow (Stokes problems). The LSC (least squares commutator) is another option. You'll likely find that lumping diag(A00)^{-1} works poorly because the resulting operator behaves like a Laplacian rather than like a mass matrix.</span><br style="font-family:STSongti-SC-Regular;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">
<br style="font-family:STSongti-SC-Regular;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">
<span style="font-family:STSongti-SC-Regular;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline" class="">晓峰
何 <</span><a href="mailto:tlanyan@hotmail.com" style="font-family:STSongti-SC-Regular;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" class="">tlanyan@hotmail.com</a><span style="font-family:STSongti-SC-Regular;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline" class="">>
writes:</span><br style="font-family:STSongti-SC-Regular;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">
<br style="font-family:STSongti-SC-Regular;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">
<blockquote type="cite" style="font-family:STSongti-SC-Regular;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">
If assigned a preconditioner to A11 with this cmd options:<br class="">
<br class="">
-fieldsplit_0_ksp_type gmres -fieldsplit_0_pc_type ilu -fieldsplit_1_ksp_type gmres -fieldsplit_1_pc_type ilu<br class="">
<br class="">
Then I got this error:<br class="">
<br class="">
"Could not locate a solver type for factorization type ILU and matrix type schurcomplement"<br class="">
<br class="">
How could I specify a preconditioner for A11?<br class="">
<br class="">
BR,<br class="">
Xiaofeng<br class="">
<br class="">
<br class="">
On Sep 26, 2022, at 11:02, 晓峰 何 <<a href="mailto:tlanyan@hotmail.com" target="_blank" class="">tlanyan@hotmail.com</a><<a href="mailto:tlanyan@hotmail.com" target="_blank" class="">mailto:tlanyan@hotmail.com</a>>> wrote:<br class="">
<br class="">
-fieldsplit_0_ksp_type gmres -fieldsplit_0_pc_type ilu -fieldsplit_1_ksp_type gmres -fieldsplit_1_pc_type none</blockquote>
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
</div>
<br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div dir="ltr" class="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br class="">
-- Norbert Wiener</div>
<div class=""><br class="">
</div>
<div class=""><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank" class="">https://www.cse.buffalo.edu/~knepley/</a><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</body>
</html>