You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This post is a follow-up from a related series of issues and pull requests (#4370, #4563, #6002) that discuss solver failure or solution divergence for different combinations linear (AMG, GMG) and nonlinear (iterated Stokes, iterated Newton Stokes, etc) solvers.
As a starting point, I first ran a modified version of benchmarks/viscoelastic_plastic_shear_bands/kaus_2010/kaus_2010_extension.prm with elasticity removed and other updates to the solver parameters based on recent testing. One examples of this PRM is attached.
This model was run for 0.01 Myr (100 time steps) was run for the following four parameter combinations:
Nonlinear solver tolerance = 1e-5, zero traction surface (no mesh deformation)
Nonlinear solver tolerance = 1e-7, zero traction surface (no mesh deformation)
Stokes solver type= block AMG, Nonlinear solver scheme = single Advection and iterated Newton Stokes
Stokes solver type= block GMG, Nonlinear solver scheme = single Advection and iterated Newton Stokes
At time = 0, the solutions (strain rate) are qualitatively very similar for a nonlinear solver tolerance of 1e-5 and zero traction surface or free surface:
Zero Traction Surface, t=0, Nonlinear Solver Tolerance = 1e-5
From t=0 to t=0.1 Myr, the two models (block AMG versus block GMG) using single Advection, Iterated Stokes still have qualitatively similar solutions, while the models using single Advection, iterated Newton Stokes diverge:
Zero Traction Surface, t=0.1 Myr, Nonlinear Solver Tolerance = 1e-5
Making the nonlinear solver tolerance stricter (1e-7) leads to qualitatively similar strain rate fields for both the zero traction and free surface cases:
Zero Traction Surface, t=0.1 Myr, Nonlinear Solver Tolerance = 1e-7
Notably, the results for the case of Nonlinear solver scheme = single Advection, iterated Stokes and a Nonlinear solver tolerance = 1e-5 or 1e-7 show little divergence.
Initial conclusions: For the same linear solver tolerance, a stricter nonlinear solver tolerance is needed for iterated Newton Stokes (and presumably iterated defect correction Stokes) related to iterated Stokes.
Next Steps:
Test to see if we can achieve qualitatively similar solutions for the continental extension cookbook with stricter solver tolerances across the four solver scheme combinations tested here.
Update the continental extension cookbook and related documentation accordingly.
This post is a follow-up from a related series of issues and pull requests (#4370, #4563, #6002) that discuss solver failure or solution divergence for different combinations linear (
AMG
,GMG
) and nonlinear (iterated Stokes
,iterated Newton Stokes
, etc) solvers.@anne-glerum, @egpuckett, and previously discussed these results a few weeks ago.
As a starting point, I first ran a modified version of
benchmarks/viscoelastic_plastic_shear_bands/kaus_2010/kaus_2010_extension.prm
with elasticity removed and other updates to the solver parameters based on recent testing. One examples of this PRM is attached.This model was run for 0.01 Myr (100 time steps) was run for the following four parameter combinations:
Nonlinear solver tolerance = 1e-5
, zero traction surface (no mesh deformation)Nonlinear solver tolerance = 1e-7
, zero traction surface (no mesh deformation)Nonlinear solver tolerance = 1e-5
, free surface (mesh deformation)Nonlinear solver tolerance = 1e-7
, free surface (mesh deformation)For each of the four parameter combinations above, the following four solver combinations were tested:
Stokes solver type = block AMG
,Nonlinear solver scheme = single Advection, iterated Stokes
Stokes solver type= block GMG
,Nonlinear solver scheme = single Advection, iterated Stokes
Stokes solver type= block AMG
,Nonlinear solver scheme = single Advection and iterated Newton Stokes
Stokes solver type= block GMG
,Nonlinear solver scheme = single Advection and iterated Newton Stokes
At time = 0, the solutions (strain rate) are qualitatively very similar for a nonlinear solver tolerance of 1e-5 and zero traction surface or free surface:
Zero Traction Surface, t=0, Nonlinear Solver Tolerance = 1e-5
Free Surface, t=0.1 Myr, Nonlinear Solver Tolerance = 1e-5*
From t=0 to t=0.1 Myr, the two models (
block AMG
versusblock GMG
) usingsingle Advection, Iterated Stokes
still have qualitatively similar solutions, while the models usingsingle Advection, iterated Newton Stokes
diverge:Zero Traction Surface, t=0.1 Myr, Nonlinear Solver Tolerance = 1e-5
Free Surface, t=0.1 Myr, Nonlinear Solver Tolerance = 1e-5*
Making the nonlinear solver tolerance stricter (1e-7) leads to qualitatively similar strain rate fields for both the zero traction and free surface cases:
Zero Traction Surface, t=0.1 Myr, Nonlinear Solver Tolerance = 1e-7
Free Surface, t=0.1 Myr, Nonlinear Solver Tolerance = 1e-7*
Notably, the results for the case of
Nonlinear solver scheme = single Advection, iterated Stokes
and aNonlinear solver tolerance = 1e-5
or1e-7
show little divergence.Initial conclusions: For the same linear solver tolerance, a stricter nonlinear solver tolerance is needed for
iterated Newton Stokes
(and presumablyiterated defect correction Stokes
) related toiterated Stokes
.Next Steps:
@MFraters @bangerth @YiminJin @tjhei - This may be of interest.
Example PRM File:
kaus_2010_extension_gmg_iterated-newton-stokes.prm.txt
The text was updated successfully, but these errors were encountered: