Hi Ninghui, Timo and John,
Alright, so the problematic case is GMG + iterated Stokes. I can confirm that this case, for the viscoelastic bending beam, leads to anomalous velocities and stresses (see orange solid line in figure below). I’ve tested applying the material averaging to the viscosity used in the reaction rates as well (dashed pink line), and that leads to stable velocities and stresses, much more similar to the Newton/AMG cases. I have to do some more testing/discussing before I can be sure - this change is not in the fix_stresses_elasticity branch yet.
That said, the GMG solver is sensitive to the number of mesh refinement levels, and we’ve experienced in some viscoplastic models that it sometimes doesn’t converge, where AMG does. Reducing the viscosity ratio and/or the timestep can help there according to John.
Also, when elasticity is included, the Stokes equations are assembled differently for the Newton and the Picard nonlinear solvers, and for the GMG and AMG solvers (if I remember correclty). Here @YiminJin will know more.
@tjhei, not having to material average could be useful when trying to match benchmark results or in simulations with limited resolution, where you don’t want to lose the in-element variation. However, I think we should first look into those cases that people in John’s and my group have come across where GMG doesn’t converge, but could provide large speed up, like in 3D setups. What do you think @jbnaliboff ?