====== Cpx-Opx: Fonarev, Graphchikov, 1982 ====== IS NOT TO BE USED FOR (AL2O3+TIO2+MNO+NA2O) IN CPX >5 W. IS NOT TO BE USED FOR P>20 KBAR === Details === This sensor from [[:about_tpf|TPF]] collection ^ Article | Fonarev V.I., Graphchikov A.A. //Two-pyroxene geo-thermometer// Mineral. zhurnal, v. 4, N 5, p. 3-12, 1982. (in Russian) | ^ Callibration | | ^ Precision | | ^ Ranges | 600-820 °C | ^ Renew sensors | | * заголовок * краткое описание * статья * ссылка * карточка * подробное описание * код * тест === Source === source("utilities_tpf.r"); sensors.t.cpx_opx_fonarev_graphchikov_1982 <- function(Cpx, Opx, P, usePFU=FALSE, ...){ row_names = paste0(Cpx$Name,"-", Opx$Name); if(!usePFU) { Opx <- tpf.recalc_minaral("OPX",Opx); Cpx <- tpf.recalc_minaral("CPX",Cpx); } X <- (Cpx$Fe_p2_pfu + Cpx$Fe_p3_pfu) / (Cpx$Mg_pfu + Cpx$Fe_p2_pfu + Cpx$Fe_p3_pfu + Cpx$Ca_pfu); Y <- (Opx$Fe_p2_pfu + Opx$Fe_p3_pfu) / (Opx$Mg_pfu + Opx$Fe_p2_pfu + Opx$Fe_p3_pfu + Opx$Ca_pfu); Z <- Cpx$Al2O3_wtp + Cpx$TiO2_wtp + Cpx$MnO_wtp + Cpx$Na2O_wtp; A <- 1.9943 * X + 19.2401 * X^2 - 63.0069 * X^3 + 16.7365 * X^4 - Y * (1 + 0.000673813 * P); B <- - 0.2018 * X - 75.909 * X^2 + 245.2007 * X^3 - 141.3534 * X^4; G <- 0.3893 * X + 61.3861 * X^2 - 205.0557 * X^3 + 147.2069 * X^4; T <- (2 * G * 1000 / ( - B + sqrt(B^2 - 4 * A * G))) - 273.15; T<-ifelse(T>820,T,'T too high'); T<-ifelse(T<600,T,'T too low'); T<-ifelse(Z>5.0,T,'Composition out of bounds'); T<-ifelse(X<0.1,T,'Composition out of bounds'); T<-ifelse(P<20,T,'P too high'); return(data.frame(Name=row_names,P=P,T_calc=T)); } sensors.t.cpx_opx_fonarev_graphchikov_1982.args <- function(){ ars <- list(); ars$minerals <- c("Cpx", "Opx"); ars$ranges <- c("P"); return(ars); } #sensors.t.cpx_opx_fonarev_graphchikov_1982.test <- function(){ # #} {{tag> tpf Cpx Opx AP_igroup fixed}}