====== Cpx-Opx: Wells, 1977 ====== Semi-empirical equation of state extracted from the available experimental data for the diopside-enstatite miscibility gap. === Details === This sensor from [[:about_tpf|TPF]] collection ^ Article | | ^ Callibration | Multiple data sources | ^ Precision | ±70°C | ^ Ranges | 800-1700°C | ^ Renew sensors | | * заголовок * краткое описание * статья * ссылка * карточка * подробное описание * код * тест === Source === source("utilities_tpf.r"); sensors.t.cpx_opx_wells_1977 <- function(Cpx, Opx, usePFU=FALSE, ...){ row_names = paste0(Cpx$Name,"-", Opx$Name); if(!usePFU) { Opx <- tpf.recalc_minaral("OPX",Opx); Cpx <- tpf.recalc_minaral("CPX",Cpx); } X <- Opx$Fe_p2_pfu / (Opx$Fe_p2_pfu + Opx$Mg_pfu); A1 <- (1 - (Cpx$Al_c4_pfu + Cpx$Al_c6_pfu) / 2 - Cpx$Ti_pfu - Cpx$Cr_pfu - Cpx$Fe_p3_pfu) * Cpx$Mg_pfu; A2 <- (1 - (Cpx$Al_c4_pfu + Cpx$Al_c6_pfu) / 2 - Cpx$Ti_pfu - Cpx$Cr_pfu - Cpx$Fe_p3_pfu + 1 - Cpx$Mn_pfu - Cpx$Ca_pfu - Cpx$Na_pfu); A3 <- (1 - Cpx$Mn_pfu - Cpx$Ca_pfu - Cpx$Na_pfu) * Cpx$Mg_pfu; A4 <- (1 - (Cpx$Al_c4_pfu + Cpx$Al_c6_pfu) / 2 - Cpx$Ti_pfu - Cpx$Cr_pfu - Cpx$Fe_p3_pfu + 1 - Cpx$Mn_pfu - Cpx$Ca_pfu - Cpx$Na_pfu); B1 <- (1 - (Opx$Al_c4_pfu + Opx$Al_c6_pfu) / 2 - Opx$Ti_pfu - Opx$Cr_pfu - Opx$Fe_p3_pfu) * Opx$Mg_pfu; B2 <- (1 - (Opx$Al_c4_pfu + Opx$Al_c6_pfu) / 2 - Opx$Ti_pfu - Opx$Cr_pfu - Opx$Fe_p3_pfu + 1 - Opx$Mn_pfu - Opx$Ca_pfu - Opx$Na_pfu); B3 <- (1 - Opx$Mn_pfu - Opx$Ca_pfu - Opx$Na_pfu) * Opx$Mg_pfu; B4 <- (1 - (Opx$Al_c4_pfu + Opx$Al_c6_pfu) / 2 - Opx$Ti_pfu - Opx$Cr_pfu - Opx$Fe_p3_pfu + 1 - Opx$Mn_pfu - Opx$Ca_pfu - Opx$Na_pfu); A <- A1 / A2 * A3 / A4; B <- B1 / B2 * B3 / B4; T <- 7341 / (3.355 + 2.44 * X - log(A / B)) - 273.15; return(data.frame(Name=row_names,T_calc=T)); } sensors.t.cpx_opx_wells_1977.args <- function(){ ars <- list(); ars$minerals <- c("Cpx", "Opx"); ars$ranges <- c(); return(ars); } #sensors.t.cpx_opx_wells_1977.test <- function(){ # #} {{tag> tpf Cpx Opx AP_igroup fixed}}