<div dir="ltr">On Thu, Mar 28, 2013 at 11:53 AM,  <span dir="ltr">&lt;<a href="mailto:surendra@caltech.edu" target="_blank">surendra@caltech.edu</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi Matt,<div><br></div><div>I have a 2D plane strain simulation of a plate that isn&#39;t converging.  I thought you might know what could be happening.</div><div><br></div><div>Attached are &#39;false&#39; and &#39;log&#39; files.  Petsc setting are pasted below.  I ran it on Mac OSX pylith version 1.8.0 binary.</div>
<div><br></div><div>I usually run dynamic friction problem that do not require (explicit) petsc but this time I need to run a quasi-static problem with implicit.  Any suggestions on what I could try? </div><div><br></div>
<div>Thanks,</div><div>Surendra</div><div><br></div><div>--</div><div><br></div><div><div style="margin:0px;font-size:11px;font-family:Menlo">[pylithapp.petsc]</div><div style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px">
<br></div><div style="margin:0px;font-size:11px;font-family:Menlo"># Preconditioner settings.</div><div style="margin:0px;font-size:11px;font-family:Menlo">pc_type = asm</div><div style="margin:0px;font-size:11px;font-family:Menlo">
sub_pc_factor_shift_type = nonzero</div><div style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></div><div style="margin:0px;font-size:11px;font-family:Menlo"># Convergence parameters.</div><div style="margin:0px;font-size:11px;font-family:Menlo">
ksp_rtol = 1.0e-8</div><div style="margin:0px;font-size:11px;font-family:Menlo">ksp_atol = 1.0e-12</div><div style="margin:0px;font-size:11px;font-family:Menlo">ksp_max_it = 300</div><div style="margin:0px;font-size:11px;font-family:Menlo">
ksp_gmres_restart = 50</div><div style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></div><div style="margin:0px;font-size:11px;font-family:Menlo"># Linear solver monitoring options.</div><div style="margin:0px;font-size:11px;font-family:Menlo">
ksp_monitor = false</div><div style="margin:0px;font-size:11px;font-family:Menlo">ksp_view = false</div><div style="margin:0px;font-size:11px;font-family:Menlo">ksp_converged_reason = true</div><div style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px">
<br></div><div style="margin:0px;font-size:11px;font-family:Menlo"># Nonlinear solver monitoring options.</div><div style="margin:0px;font-size:11px;font-family:Menlo">snes_rtol = 1.0e-8</div><div style="margin:0px;font-size:11px;font-family:Menlo">
snes_atol = 1.0e-12</div><div style="margin:0px;font-size:11px;font-family:Menlo">snes_max_it = 100</div><div style="margin:0px;font-size:11px;font-family:Menlo">snes_monitor = false</div></div></div></blockquote><div><br>
</div><div style>This puts the monitor information in the file &#39;false&#39; which is weird. Just leave it true.</div><div style><br></div><div style>ASM is a terrible preconditioner. Use the AMG options we showed in the tutorial and</div>
<div style>you will get good convergence.</div><div style><br></div><div style>  Thanks,</div><div style><br></div><div style>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div style="margin:0px;font-size:11px;font-family:Menlo">snes_view = false</div><div style="margin:0px;font-size:11px;font-family:Menlo">snes_converged_reason = true</div><div style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px">
<br></div><div style="margin:0px;font-size:11px;font-family:Menlo"># PETSc summary -- useful for performance information.</div><div style="margin:0px;font-size:11px;font-family:Menlo">#log_summary = true</div><div style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px">
<br></div><div style="margin:0px;font-size:11px;font-family:Menlo"># Uncomment to launch gdb when starting PyLith.</div><div style="margin:0px;font-size:11px;font-family:Menlo"># start_in_debugger = true</div></div><div><br>
</div><div></div></div><br><div style="word-wrap:break-word"><div></div></div><br><div style="word-wrap:break-word"><div></div></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>