[CIG-SHORT] question about the convergence of Pylith 1.4.2

Brad Aagaard baagaard at usgs.gov
Wed Dec 9 07:38:19 PST 2009


Faqi-

Charles may have already responded to your question (we discussed it
yeaterday). The mesh quality is not okay. Ideally the aspect ratio (in
LaGriT) should be greater than about 0.3.  Aspect ratios smaller than
that will degrade the convergence rate due to ill-conditioning. You
might be able to get away with aspect ratios of about 0.2  and still get
the solution to converge with a reasonable runtime.

For users of CUBIT, the aspect ratio is the inverse of that in LaGriT,
so the desired range of aspect ratios is 1 to 3 (see the CUBIT
documentation).

Regards,
Brad


Faqi Diao wrote:
> Hi Brad,
> 
>   I found the solution converges extremly slowly in my model.  And
> the mesh quality seems ok (from Carl). I want to know if there are 
> other reasons caused the slow convergence. I list the mesh quality
> and petsc setting in the Pylith control file and output during the
> iterations. 
>   I use uniform time step with  'total_time = 10.0*year' and 'dt =
> 0.08*year'. I just want to model the postseismic deformation following
> an inverse earthquake with a Maxwell solid (1.0e18 Pa*s).
>   I think the iterations is long overdue to stop, but it didn't until
> the ksp_max_it (5000). Why?
>   Many thanks!
>   Best wishes, 
>   Faqi Diao 
> ========================================================
>  Institute of Geodesy and Geophysics,    
>  Chinese Academy of Sciences               
>  340 Xudong St.,Wuhan, 430077, P. R. China                   
>  E-mail: faqidiao at asch.whigg.ac.cn                  
> ========================================================
> 
> *  mesh quality (I use LaGrit)
> epsilonl, epsilonaspect:   6.3155981E-07  2.5190887E-19                         
> --------------------------------------------                                    
> elements with aspect ratio < .01:                    0                          
> elements with aspect ratio b/w .01 and .02:         20                          
> elements with aspect ratio b/w .02 and .05:         98                          
> elements with aspect ratio b/w .05 and .1 :       2051                          
> elements with aspect ratio b/w .1  and .2 :      99337                          
> elements with aspect ratio b/w .2  and .5 :     511310                          
> elements with aspect ratio b/w .5  and 1. :       6806                          
> min aspect ratio =  0.1829E-01  max aspect ratio =  0.9561E+00                  
> -----------------------------------------------------------                     
>     619622 total elements evaluated.    
> *
> *
> [pylithapp.petsc]
> ksp_rtol = 1.0e-06
> pc_type = asm
> ksp_monitor = true
> ksp_view = true
> log_summary = true
> ksp_max_it = 5000
> ksp_gmres_restart = 50
> *
> 1728 KSP Residual norm 2.266941390044e-07 
> 1729 KSP Residual norm 2.265865061317e-07 
> 1730 KSP Residual norm 2.265604302410e-07 
> 1731 KSP Residual norm 2.265070386609e-07 
> 1732 KSP Residual norm 2.263999483430e-07 
> 1733 KSP Residual norm 2.263990528726e-07 
> 1734 KSP Residual norm 2.263126624750e-07 
> 1735 KSP Residual norm 2.262775558114e-07 
> 1736 KSP Residual norm 2.262329998822e-07 
> 1737 KSP Residual norm 2.261092033311e-07 
> 1738 KSP Residual norm 2.261048923957e-07 
> 1739 KSP Residual norm 2.260067875000e-07 
> *
> 
>          



More information about the CIG-SHORT mailing list