pub fn tg_fox(components: &[(f64, f64)]) -> f64Expand description
Estimates the glass transition temperature (K) using the Fox equation.
§Arguments
components — slice of (weight_fraction, Tg_homopolymer_K) pairs,
one per distinct repeat unit. Weight fractions must sum to 1.0.
§Reference
Fox, T. G. (1956). Bull. Am. Phys. Soc. 1, 123.
§Example
use polysim_core::properties::thermal::tg_fox;
// 50/50 blend of PS (Tg ≈ 373 K) and PMMA (Tg ≈ 378 K)
let tg = tg_fox(&[(0.5, 373.0), (0.5, 378.0)]);
assert!((tg - 375.4).abs() < 0.2);