Add Compositional Plastic Weakening Factors [WIP] #6677
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.
A project that @Geoniette, @Minerallo, and @Djneu talked about at the Hackathon. This pull request enables the user to apply weakening factors to the plastic parameters (cohesion and friction angle) based on a compositional field. The current case that is presented in this PR is specifically for the
porosity
compositional field. This could be extended to more properly handle how fluid weakens the plastic parameters through the fluid pressure, but this implementation currently approximates how the presence of fluid reduces the yield strength.The user can specify a minimum cohesion and friction angle, and how much porosity is required for the model to reach these minimum values. The cohesion and friction angle are linearly reduced for porosity values between 0 and the upper limit on the porosity. I've created some simple tests which show that the cohesion and the friction angle are actually reduced where there is porosity, and this also works in more complicated setups (see images below).
The implementation largely follows what was done for the compositional viscosity prefactors implemented in #5678. I need to go back and double check the way that this is being applied though. If this feature is the only plastic weakening method used I think it is fine, but I am not confident that if this is used with strain weakening for example that both mechanisms are being applied correctly.