eos tutorial — pytheosseismo.berkeley.edu/wiki_cider/images/0/02/dan_shim_tutorial_cide… ·...

34
EOS tutorial — PythEOS S.-H. Dan Shim (심상헌) Acknowledgement: NSF-CSEDI, NSF-FESD, NSF-EAR, NASA-NExSS, Keck

Upload: others

Post on 29-Sep-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

EOS tutorial — PythEOS

S.-H. Dan Shim (심상헌)

Acknowledgement: NSF-CSEDI, NSF-FESD, NSF-EAR, NASA-NExSS, Keck

Page 2: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Goals

• Understanding the EOS parameters

• Solving discrepancies using consistent pressure scales

Page 3: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Questions

• PythEOS — Python

• Tutorial scripts — Jupyter notebook / Jupyter lab

Page 4: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Tutorial Materials

1. Anaconda distribution of python 3.6 is already installed in your VirtualMachine.

2. Start the VirtualMachine.

3. Login as “mineralphysics”.

4. Right click in an empty area of the desktop and “create new … > folder”. Then make a folder, “EOS_ex”.

5. Right click the newly created folder and choose “open in new terminal”

6. Type the following command in the terminal.

gitclonehttps://github.com/SHDShim/CIDER2018-ex.git.

Page 5: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

P-V-T Equation of State

Ftot�� = Fst + F��b + Fe�ec

P(V, T) = Pst(V, T0) + �Pth(V, T)

Page 6: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

P—V—T EOS

Bridgmanite

Page 7: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

P—V—T EOS

Page 8: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Ptotal

P—V—T EOS

Page 9: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Pst Pth

P—V—T EOS

Page 10: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Parameters

Pst = f(V | V0, K0, K´0)

ΔPth = f(V, T | γ0, q, θ0)

Page 11: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Understanding the EOS parameters

0-eos.ipynb

Page 12: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Running Jupyter Lab

$ cd ~

$ source activate root

$ jupyter lab

Page 13: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Jupyter Lab

• Code cell

• Markdown cell

• Code, table, figures, animations, equations, bibliography, …, all together in one document.

• Reproducibility and transparency

Page 14: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Shortcut Keys to Remember

• Shift + Enter

• Option + Enter

• Command + Enter

• Esc + m

• Esc + y

Page 15: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your
Page 16: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Experiments

Page 17: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

P-V-T Equation of State

P(V, T) = Pst(V, T0) + �Pth(V, T)

Page 18: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Popular Pressure Scales

• MgO, Pt, Au, NaCl, KCl, Ne, Ar …

• Ruby, Diamond, …

• Are they all consistent with each other?

• Which one is accurate?

Page 19: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Gold

• Jamieson (1982), Heinz (1984), Anderson (1989), Shim (2002), Tsuchiya (2003), Dorogokupets (2007, 2015), Ye (2017), …..

• Which one to use?

Page 20: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Can I reproduce them?

Page 21: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

PythEOS

• Accurate calculation of pressure scales

• Conversion of pressures

• Equation of state fit

• Error propagation

Page 22: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Can we resolve the discrepancies among different mineral physics datasets?

d-Mantle_Boundaries.ipynb

Page 23: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Estimating CMB temperature

Tateno 2009

Page 24: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Matching EOSs

Ye et al. 2017 JGR

Page 25: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Other Uncertainty Sources

• Stress conditions

• Temperature conditions

• Extreme thermal contribution — electronic contribution in metal pressure standards

Page 26: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Can use of different pressure scale affect the EOS fitting result?

b-8_pv_eos_fit_multi-scales.ipynb

Page 27: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Parameters to Fit

V0, K0, K´0

Page 28: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Example: Isotherm Fitting

SiC, Nisr et al., in prep.

Page 29: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Example: Isotherm Fitting

SiC, Nisr et al., in prep.

Strong correlation between K0 and K0´

Page 30: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Can use of different pressure scale affect the EOS fitting result?

c-10_pvt-eos_fit.ipynb

Page 31: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Parameters to Fit

V0, K0, K´0γ0, q, θ0

Page 32: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Caution

Fei et al. (2007)

Page 33: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

Caution

Do not mix equations and fitting results

Fei et al. (2007)

Page 34: EOS tutorial — PythEOSseismo.berkeley.edu/wiki_cider/images/0/02/Dan_Shim_Tutorial_CIDE… · Tutorial Materials 1. Anaconda distribution of python 3.6 is already installed in your

How can I reproduce pressure calculations?

a-6_p_scale_test_Speziale_MgO.ipynb