Skip to content

Oxygen fugacity

oxygen_fugacity

OxygenFugacity(model=DEFAULT_FO2_MODEL)

log10 oxygen fugacity as a function of temperature

Source code in src/calliope/oxygen_fugacity.py
55
56
57
58
59
60
def __init__(self, model=DEFAULT_FO2_MODEL):
    if model not in FO2_MODELS:
        raise ValueError(f'Unknown IW buffer {model!r}; expected one of {FO2_MODELS}.')
    self.callmodel = (
        self._hirschmann_1bar if model == 'hirschmann' else getattr(self, model)
    )

fischer(T)

Fischer et al. (2011) IW (FeO equation of state, EPSL 304, 496).

Fischer et al. (2011) calculate the 1-bar Fe-FeO curve from Chase (1998) (Fig. 6) and add the pressure integral of their Eq. 2; their supplement (Table S2) gives a P-T polynomial. The source of this 2-term form is not stated in the paper body.

Source code in src/calliope/oxygen_fugacity.py
71
72
73
74
75
76
77
78
79
def fischer(self, T):
    """Fischer et al. (2011) IW (FeO equation of state, EPSL 304, 496).

    Fischer et al. (2011) calculate the 1-bar Fe-FeO curve from Chase (1998)
    (Fig. 6) and add the pressure integral of their Eq. 2; their supplement
    (Table S2) gives a P-T polynomial. The source of this 2-term form is not
    stated in the paper body.
    """
    return 6.94059 - 28.1808 * 1e3 / T

hirschmann(T, P_bar=1.0)

Hirschmann (2021) IW (GCA 313, 74), empirical fit of Table 1.

Accounts for variable wustite stoichiometry and for pressure. Calibrated over 1000-3000 K and 1 bar to 100 GPa; the paper advises against extrapolation below 1000 K or above 100 GPa. The dispatcher evaluates it at the 1 bar reference, the same reference as the other buffers, so fO2_shift keeps its meaning. Call this method directly with P_bar for the buffer at pressure. The fcc/bcc branch applies below the fcc-hcp iron boundary (Eq. 18), the hcp branch above it. The boundary is evaluated at T held to 1000 K - 4300 K, so it never drops to 1 bar; outside that range it stays at its end value.

Source code in src/calliope/oxygen_fugacity.py
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
def hirschmann(self, T, P_bar=1.0):
    """Hirschmann (2021) IW (GCA 313, 74), empirical fit of Table 1.

    Accounts for variable wustite stoichiometry and for pressure.
    Calibrated over 1000-3000 K and 1 bar to 100 GPa; the paper
    advises against extrapolation below 1000 K or above 100 GPa.
    The dispatcher evaluates it at the 1 bar reference, the same
    reference as the other buffers, so ``fO2_shift`` keeps its
    meaning. Call this method directly with ``P_bar`` for the
    buffer at pressure. The fcc/bcc branch applies below the
    fcc-hcp iron boundary (Eq. 18), the hcp branch above it. The
    boundary is evaluated at T held to 1000 K - 4300 K, so it never
    drops to 1 bar; outside that range it stays at its end value.
    """
    T = np.asarray(T, dtype=float)
    P = np.asarray(P_bar, dtype=float) * _BAR_TO_GPA
    if np.any(P < 0):
        raise ValueError(f'Pressure must be non-negative (bar), got P_bar={P_bar}.')

    def evaluate(coeffs):
        a, b, c, d = (
            m[0] + m[1] * P + m[2] * P**2 + m[3] * P**3 + m[4] * np.sqrt(P) for m in coeffs
        )
        return a + b * T + c * T * np.log(T) + d / T

    x0, x1, x2 = _H21_FCC_HCP
    T_b = np.clip(T, *_H21_FCC_HCP_T_RANGE)
    hcp = P > x0 + x1 * T_b + x2 * T_b**2
    return np.where(hcp, evaluate(_H21_HCP), evaluate(_H21_FCC_BCC))[()]

oneill(T)

O'Neill and Eggins (2002) IW

Source code in src/calliope/oxygen_fugacity.py
81
82
83
84
85
86
def oneill(self, T):
    """O'Neill and Eggins (2002) IW"""
    # DrG of Fe + 0.5 O2 = FeO(liq): O'Neill & Eggins (2002), Chem. Geol. 186,
    # Table 6, p. 163. Keep the coded gas constant 8.31441 J/mol/K; a change
    # moves every IW value.
    return 2 * (-244118 + 115.559 * T - 8.474 * T * np.log(T)) / (np.log(10) * 8.31441 * T)