[ADDITION] Added a variant of the Herschel Bulkley rheology#317
Open
mthielma wants to merge 9 commits intoJuliaGeodynamics:mainfrom
Open
[ADDITION] Added a variant of the Herschel Bulkley rheology#317mthielma wants to merge 9 commits intoJuliaGeodynamics:mainfrom
mthielma wants to merge 9 commits intoJuliaGeodynamics:mainfrom
Conversation
…version of Albert
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
albert-de-montserrat
requested changes
Feb 18, 2026
Member
albert-de-montserrat
left a comment
There was a problem hiding this comment.
Thanks Marcel! Looks mostly good to me!
Member
|
@albert-de-montserrat I think its either |
Member
|
Ah yes my bad, |
albert-de-montserrat
requested changes
Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Whats the purpose of this PR?
Describe it in more detail below:
Based on Albert's earlier work, I have added a variant of Hershel-Bulkley rheology that is a bit more general than the one in Massmeyer et al. (2013). The rheology is given by:
where$\eta_T$ is a temperature-dependent reference viscosity at a reference temperature $T_r$ and a reference strain rate $\dot\varepsilon_{r}$ :
and
is the reference strain rate at the Bingham yield stress.
This formulation is loosely based on the paper by Souza Mendes and Dutra (2004) and Massmeyer et al. (2013). I have adapted it so that it resembles more the formulations that are used in geodynamics.
This rheology may be useful for lower mantle rheology, but it is also often used to model magma rheology (when the magma contains crystals or bubbles). However, the current implementation does not include the effects of bubbles/crystals etc. on e.g. the yield stress or the power law exponent.
Before going on with this, I would like to get some feedback on the implementation and the formulation. I have not added any tests/documentation yet, but I will do so once everybody is happy with the implementation.
Mendes, P. R. S., & Dutra, E. S. S. (2004). Viscosity Function for Yield-Stress Liquids. Applied Rheology, 14(6), 296–302. https://doi.org/10.1515/arh-2004-0016
Massmeyer, A., Giuseppe, E. D., Davaille, A., Rolf, T., & Tackley, P. J. (2013). Numerical simulation of thermal plumes in a Herschel–Bulkley fluid. Journal of Non-Newtonian Fluid Mechanics, 195, 32–45. https://doi.org/10.1016/j.jnnfm.2012.12.004
Checklist
[BUGFIX],[ADDITION],[DOC], etc.