-
Notifications
You must be signed in to change notification settings - Fork 269
Fix rheology in continental extension (WIP) #6903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lhy11009
wants to merge
3
commits into
geodynamics:main
Choose a base branch
from
lhy11009:edit_continental_extension
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
101 changes: 101 additions & 0 deletions
101
cookbooks/continental_extension/contiental_extension_rheology.ipynb
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| { | ||
| "cells": [ | ||
| { | ||
| "cell_type": "code", | ||
| "execution_count": null, | ||
| "id": "ae6c84d6", | ||
| "metadata": {}, | ||
| "outputs": [], | ||
| "source": [ | ||
| "import numpy as np\n", | ||
| "\n", | ||
| "# Gleason and Tullis (1995) - Wet Quartzite - Dislocation Creep\n", | ||
| "pfct_gt95_wqtz_disl_rprt = 1.1e-4 # Original reported prefactor in units of MPa^-n micrometers^m\n", | ||
| "sexp_gt95_wqtz_disl_rprt = 4.0 # Original reported stress exponent\n", | ||
| "gexp_gt95_wqtz_disl_rprt = 0 # Original reported grain size exponent\n", | ||
| "\n", | ||
| "# Convert prefactor to units of Pa^-n meters^m s^-1\n", | ||
| "pfct_gt95_wqtz_disl_unit = (pfct_gt95_wqtz_disl_rprt) * \\\n", | ||
| " (1.e-6**sexp_gt95_wqtz_disl_rprt) * \\\n", | ||
| " (1.e-6**gexp_gt95_wqtz_disl_rprt)\n", | ||
| "\n", | ||
| "# Calculate prefactor scaling term\n", | ||
| "pfct_gt95_wqtz_disl_sfac = 2.**(sexp_gt95_wqtz_disl_rprt-1.) * 3.**((sexp_gt95_wqtz_disl_rprt+1.)/2.)\n", | ||
| "pfct_gt95_wqtz_disl_sfac_1 = 3.**((sexp_gt95_wqtz_disl_rprt+1.)/2.) / 2\n", | ||
| "\n", | ||
| "\n", | ||
| "# Calculated modified prefactor term for ASPECT\n", | ||
| "pfct_gt95_wqtz_disl_aspt = pfct_gt95_wqtz_disl_unit * pfct_gt95_wqtz_disl_sfac\n", | ||
| "pfct_gt95_wqtz_disl_aspt_1 = pfct_gt95_wqtz_disl_unit * pfct_gt95_wqtz_disl_sfac_1\n", | ||
| "\n", | ||
| "print('')\n", | ||
| "print('Gleason and Tullis (1995) Wet Quarzite Dislocation Prefactor Scaling = ', pfct_gt95_wqtz_disl_sfac)\n", | ||
| "print('Gleason and Tullis (1995) Wet Quarzite Dislocation Prefactor ASPECT = ', pfct_gt95_wqtz_disl_aspt)\n", | ||
| "print('Gleason and Tullis (1995) Wet Quarzite Dislocation Prefactor Scaling = ', pfct_gt95_wqtz_disl_sfac_1)\n", | ||
| "print('Gleason and Tullis (1995) Wet Quarzite Dislocation Prefactor ASPECT = ', pfct_gt95_wqtz_disl_aspt_1)\n", | ||
| "print('')" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "code", | ||
| "execution_count": null, | ||
| "id": "336177d6", | ||
| "metadata": {}, | ||
| "outputs": [], | ||
| "source": [ | ||
| "# Rybacki et al. (2006) - Wet Anorthite - Dislocation Creep\n", | ||
| "pfct_ry06_want_disl_rprt = 10.**(0.2) # Original reported log(prefactor) in units of MPa^(-n-r) micrometers^m\n", | ||
| "sexp_ry06_want_disl_rprt = 3.0 # Original reported stress exponent\n", | ||
| "gexp_ry06_want_disl_rprt = 0 # Original reported grain size exponent\n", | ||
| "wfug_ry06_want_disl_rprt = 1 # Original reported water fugacity\n", | ||
| "constant_fug = 1 # 1MPa\n", | ||
| "\n", | ||
| "# Convert prefactor to units of Pa^(-n-r) meters^m s^-1\n", | ||
| "pfct_ry06_want_disl_unit = (pfct_ry06_want_disl_rprt) * \\\n", | ||
| " (1.e-6**(sexp_ry06_want_disl_rprt + wfug_ry06_want_disl_rprt)) * \\\n", | ||
| " (1.e-6**gexp_ry06_want_disl_rprt)\n", | ||
| "\n", | ||
| "pfct_ry06_want_disl_unit_1 = (pfct_ry06_want_disl_rprt * constant_fug**wfug_ry06_want_disl_rprt) * \\\n", | ||
| " (1.e-6**(sexp_ry06_want_disl_rprt)) * \\\n", | ||
| " (1.e-6**gexp_ry06_want_disl_rprt)\n", | ||
| "\n", | ||
| "\n", | ||
| "# Calculate prefactor scaling term\n", | ||
| "pfct_ry06_want_disl_sfac = 2.**(sexp_ry06_want_disl_rprt-1.) * 3.**((sexp_ry06_want_disl_rprt+1.)/2.)\n", | ||
| "pfct_ry06_want_disl_sfac_1 = 3.**((sexp_ry06_want_disl_rprt+1.)/2.) / 2.0\n", | ||
| "\n", | ||
| "# Calculated modified prefactor term for ASPECT\n", | ||
| "pfct_ry06_want_disl_aspt = pfct_ry06_want_disl_unit * pfct_ry06_want_disl_sfac\n", | ||
| "pfct_ry06_want_disl_aspt_1 = pfct_ry06_want_disl_unit_1 * pfct_ry06_want_disl_sfac_1\n", | ||
| "\n", | ||
| "print('')\n", | ||
| "print('Rybacki et al. (2006) Wet Anorthite Dislocation Prefactor Scaling = ', pfct_ry06_want_disl_sfac)\n", | ||
| "print('Rybacki et al. (2006) Wet Anorthite Dislocation Prefactor ASPECT = ', pfct_ry06_want_disl_aspt)\n", | ||
| "print('Rybacki et al. (2006) Wet Anorthite Dislocation Prefactor Scaling = ', pfct_ry06_want_disl_sfac_1)\n", | ||
| "print('Rybacki et al. (2006) Wet Anorthite Dislocation Prefactor ASPECT = ', pfct_ry06_want_disl_aspt_1)\n", | ||
| "print('')" | ||
| ] | ||
| } | ||
| ], | ||
| "metadata": { | ||
| "kernelspec": { | ||
| "display_name": "hmgeolib", | ||
| "language": "python", | ||
| "name": "python3" | ||
| }, | ||
| "language_info": { | ||
| "codemirror_mode": { | ||
| "name": "ipython", | ||
| "version": 3 | ||
| }, | ||
| "file_extension": ".py", | ||
| "mimetype": "text/x-python", | ||
| "name": "python", | ||
| "nbconvert_exporter": "python", | ||
| "pygments_lexer": "ipython3", | ||
| "version": "3.9.23" | ||
| } | ||
| }, | ||
| "nbformat": 4, | ||
| "nbformat_minor": 5 | ||
| } |
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the real change.