Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds viscoplastic regularisation to the rheology model of LaMEM (red item):
Previous, we could do plasticity regularisation already by specifying the
eta_st
viscosity per phase, which changes the minimum viscosity from its global value (eta_min
), to a phase-wise value.Another possibility is by amending the plasticity yield stress directly:
where$\tau_y$ is a yield stress, $\eta_{\textrm{vp}}$ a regularisation viscosity, and $\dot{\varepsilon}_{II}^{\textrm{pl}}$ the plastic strainrate. This regularisation was used by Duretz et al. 2018 , among others.
This PR adds a new, phase-wise, material parameter to specify this (set to zero by default):
Comparison of regularisation methods$\eta_{vp}=10^{21}$ Pas, or $\eta_{st}=10^{21}$ Pas. Looking at the number of SNES iterations shows that both regularisations reduce the number of iterations, but that the viscoplastic method is slightly more efficient:
The newly added test
/tests/t4_Loc/localization_eta_vp_reg.dat
was used to compare the different formulations, withA table with timings (on an M2 MacBook Pro):
A comparison of the 2nd invariant of the strain rate at the end of the simulation for different resolutions for a case that uses the new method using
eta_vp=1e21
.