Skip to content
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

Add cutoff pressures to tian parameterization #5652

Merged
merged 1 commit into from
May 30, 2024

Conversation

danieldouglas92
Copy link
Contributor

@danieldouglas92 danieldouglas92 commented May 29, 2024

The polynomials used in the Tian parameterization for reactive two phase flow break down above certain pressures for each lithology, and the maximum bound water content becomes infinite. This PR ensures that the polynomial does not break down above these pressures by setting the pressure equal to the pressure just before the break down. An example of how this fix impacts the PT space for gabbro is shown below.

image image

The python script that was used to determine these cutoff pressures can be found in the zip below.
Tian_water_content.py.zip

Copy link
Contributor

@naliboff naliboff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danieldouglas92 - Thanks for implementing this change. Reiterating my comment within the PR, are the cutoff values for each lithology reported in the Tian et al. paper, or did you determine them through testing? If the latter, would it be worth creating an input parameter where people can try adjusting the cutoff pressures?

include/aspect/material_model/reactive_fluid_transport.h Outdated Show resolved Hide resolved
@danieldouglas92 danieldouglas92 force-pushed the add_pressure_bounds_to_tian branch 2 times, most recently from c292cc1 to e4f2374 Compare May 29, 2024 21:59
Copy link
Contributor

@naliboff naliboff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danieldouglas92 - Just a few additional comments.

include/aspect/material_model/reactive_fluid_transport.h Outdated Show resolved Hide resolved
include/aspect/material_model/reactive_fluid_transport.h Outdated Show resolved Hide resolved
Copy link
Contributor

@naliboff naliboff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go from my side once you address my last comment and @tjhei approves.

include/aspect/material_model/reactive_fluid_transport.h Outdated Show resolved Hide resolved
@danieldouglas92 danieldouglas92 force-pushed the add_pressure_bounds_to_tian branch 2 times, most recently from 7af6c4c to 8758f14 Compare May 30, 2024 02:06
@tjhei tjhei merged commit b358f15 into geodynamics:main May 30, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants