-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #596 from bobmyhill/calibs
added calibrants
- Loading branch information
Showing
37 changed files
with
2,246 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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,55 @@ | ||
# This file is part of BurnMan - a thermoelastic and thermodynamic toolkit for | ||
# the Earth and Planetary Sciences | ||
# Copyright (C) 2012 - 2024 by the BurnMan team, released under the GNU | ||
# GPL v2 or later. | ||
|
||
from burnman.eos.birch_murnaghan import BirchMurnaghanBase as BM3 | ||
from burnman.eos.mie_grueneisen_debye import MGDBase | ||
from burnman.classes.calibrant import Calibrant | ||
|
||
|
||
""" | ||
Armentrout_2015 | ||
^^^^^^^^^^^^^^^ | ||
""" | ||
|
||
|
||
class Co_fcc(Calibrant): | ||
""" | ||
The FCC Cobalt pressure standard reported by Armentrout | ||
(2015; https://doi.org/10.1063/1.4935087). | ||
""" | ||
|
||
def __init__(self): | ||
def _pressure_Armentrout_fccCo(volume, temperature, params): | ||
|
||
# Isothermal pressure (GPa) | ||
pressure_model = BM3() | ||
P0 = pressure_model.pressure(params["T_0"], volume, params) | ||
|
||
# Thermal pressure | ||
thermal_model = MGDBase() | ||
Pth0 = thermal_model._thermal_pressure(params["T_0"], volume, params) | ||
Pth = thermal_model._thermal_pressure(temperature, volume, params) | ||
|
||
# Total pressure | ||
P = P0 + Pth - Pth0 | ||
|
||
return P | ||
|
||
_params_Armentrout_fccCo = { | ||
"V_0": 6.7529e-06, | ||
"K_0": 196.0e9, | ||
"Kprime_0": 4.7, | ||
"Debye_0": 385.0, | ||
"grueneisen_0": 2.0, | ||
"q_0": 1.3, | ||
"n": 1.0, | ||
"T_0": 300.0, | ||
"P_0": 0.0, | ||
"Z": 4.0, | ||
} | ||
|
||
Calibrant.__init__( | ||
self, _pressure_Armentrout_fccCo, "pressure", _params_Armentrout_fccCo | ||
) |
This file contains 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,53 @@ | ||
# This file is part of BurnMan - a thermoelastic and thermodynamic toolkit for | ||
# the Earth and Planetary Sciences | ||
# Copyright (C) 2012 - 2024 by the BurnMan team, released under the GNU | ||
# GPL v2 or later. | ||
|
||
from burnman.eos.birch_murnaghan import BirchMurnaghanBase as BM3 | ||
from burnman.eos.mie_grueneisen_debye import MGDBase | ||
from burnman.classes.calibrant import Calibrant | ||
|
||
|
||
""" | ||
Campbell_2009 | ||
^^^^^^^^^^^^^ | ||
""" | ||
|
||
|
||
class Ni_fcc(Calibrant): | ||
""" | ||
The FCC Ni pressure standard reported by | ||
Campbell (2009; https://doi.org/10.1016/j.epsl.2009.07.022). | ||
""" | ||
|
||
def __init__(self): | ||
def _pressure_Campbell_Ni(volume, temperature, params): | ||
|
||
# Isothermal pressure (GPa) | ||
pressure_model = BM3() | ||
P0 = pressure_model.pressure(params["T_0"], volume, params) | ||
|
||
# Thermal pressure | ||
thermal_model = MGDBase() | ||
Pth0 = thermal_model._thermal_pressure(params["T_0"], volume, params) | ||
Pth = thermal_model._thermal_pressure(temperature, volume, params) | ||
|
||
# Total pressure | ||
P = P0 + Pth - Pth0 | ||
|
||
return P | ||
|
||
_params_Campbell_Ni = { | ||
"V_0": 6.5870e-06, | ||
"K_0": 179.0e9, | ||
"Kprime_0": 4.3, | ||
"Debye_0": 415.0, | ||
"grueneisen_0": 2.5, | ||
"q_0": 1.0, | ||
"n": 1.0, | ||
"T_0": 300.0, | ||
"P_0": 0.0, | ||
"Z": 4.0, | ||
} | ||
|
||
Calibrant.__init__(self, _pressure_Campbell_Ni, "pressure", _params_Campbell_Ni) |
This file contains 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,55 @@ | ||
# This file is part of BurnMan - a thermoelastic and thermodynamic toolkit for | ||
# the Earth and Planetary Sciences | ||
# Copyright (C) 2012 - 2024 by the BurnMan team, released under the GNU | ||
# GPL v2 or later. | ||
|
||
from burnman.eos.birch_murnaghan import BirchMurnaghanBase as BM3 | ||
from burnman.eos.mie_grueneisen_debye import MGDBase | ||
from burnman.classes.calibrant import Calibrant | ||
|
||
|
||
""" | ||
Chidester_2021 | ||
^^^^^^^^^^^^^^ | ||
""" | ||
|
||
|
||
class KCl_B2(Calibrant): | ||
""" | ||
The B2 KCl pressure standard reported by | ||
Chidester et al. (2021; https://doi.org/10.1103/PhysRevB.104.094107). | ||
""" | ||
|
||
def __init__(self): | ||
def _pressure_Chidester_KCl(volume, temperature, params): | ||
|
||
# Isothermal pressure (GPa) | ||
pressure_model = BM3() | ||
P0 = pressure_model.pressure(params["T_0"], volume, params) | ||
|
||
# Thermal pressure | ||
thermal_model = MGDBase() | ||
Pth0 = thermal_model._thermal_pressure(params["T_0"], volume, params) | ||
Pth = thermal_model._thermal_pressure(temperature, volume, params) | ||
|
||
# Total pressure | ||
P = P0 + Pth - Pth0 | ||
|
||
return P | ||
|
||
_params_Chidester_KCl = { | ||
"V_0": 3.1200e-05, | ||
"K_0": 24.0e9, | ||
"Kprime_0": 4.56, | ||
"Debye_0": 235.0, | ||
"grueneisen_0": 2.9, | ||
"q_0": 1.0, | ||
"n": 2.0, | ||
"T_0": 300.0, | ||
"P_0": 0.0, | ||
"Z": 1.0, | ||
} | ||
|
||
Calibrant.__init__( | ||
self, _pressure_Chidester_KCl, "pressure", _params_Chidester_KCl | ||
) |
This file contains 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
This file contains 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,52 @@ | ||
# This file is part of BurnMan - a thermoelastic and thermodynamic toolkit for | ||
# the Earth and Planetary Sciences | ||
# Copyright (C) 2012 - 2024 by the BurnMan team, released under the GNU | ||
# GPL v2 or later. | ||
|
||
from burnman.eos.vinet import Vinet | ||
from burnman.eos.mie_grueneisen_debye import MGDBase | ||
from burnman.classes.calibrant import Calibrant | ||
|
||
""" | ||
Dewaele_2008 | ||
^^^^^^^^^^^^ | ||
""" | ||
|
||
|
||
class Ni(Calibrant): | ||
""" | ||
The Ni pressure standard reported by | ||
Dewaele (2008; Table IV; https://doi.org/10.1103/PhysRevB.78.104102). | ||
""" | ||
|
||
def __init__(self): | ||
def _pressure_Dewaele_Ni(volume, temperature, params): | ||
|
||
# Isothermal pressure (GPa) | ||
pressure_model = Vinet() | ||
P0 = pressure_model.pressure(params["T_0"], volume, params) | ||
|
||
# Thermal pressure | ||
thermal_model = MGDBase() | ||
Pth0 = thermal_model._thermal_pressure(params["T_0"], volume, params) | ||
Pth = thermal_model._thermal_pressure(temperature, volume, params) | ||
|
||
# Total pressure | ||
P = P0 + Pth - Pth0 | ||
|
||
return P | ||
|
||
_params_Dewaele_Ni = { | ||
"V_0": 6.5792e-06, | ||
"K_0": 176.7e9, | ||
"Kprime_0": 5.23, | ||
"Debye_0": 415.0, | ||
"grueneisen_0": 1.98, | ||
"q_0": 1.3, | ||
"n": 1.0, | ||
"T_0": 300.0, | ||
"P_0": 0.0, | ||
"Z": 4.0, | ||
} | ||
|
||
Calibrant.__init__(self, _pressure_Dewaele_Ni, "pressure", _params_Dewaele_Ni) |
Oops, something went wrong.