pub struct GlassTransition {
pub t_ref: f64,
pub c1: f64,
pub c2: f64,
pub t_g: f64,
}Expand description
Glass transition temperature model using the WLF equation.
log₁₀(a_T) = -C₁*(T - T_ref) / (C₂ + (T - T_ref))
Fields§
§t_ref: f64Reference temperature T_ref [K]
c1: f64WLF constant C₁ (dimensionless)
c2: f64WLF constant C₂ [K]
t_g: f64Glass transition temperature T_g [K]
Implementations§
Source§impl GlassTransition
impl GlassTransition
Sourcepub fn new(t_g: f64, t_ref: f64, c1: f64, c2: f64) -> Self
pub fn new(t_g: f64, t_ref: f64, c1: f64, c2: f64) -> Self
Create glass transition model with WLF parameters.
Universal constants at T_g: C₁ = 17.44, C₂ = 51.6 K.
§Arguments
t_g- Glass transition temperature [K]t_ref- Reference temperature [K] (often = T_g)c1- WLF C₁ constant (default 17.44)c2- WLF C₂ constant [K] (default 51.6)
Sourcepub fn log_shift_factor(&self, temperature: f64) -> f64
pub fn log_shift_factor(&self, temperature: f64) -> f64
WLF shift factor log₁₀(a_T) = -C₁*(T-T_ref)/(C₂+(T-T_ref)).
Sourcepub fn shift_factor(&self, temperature: f64) -> f64
pub fn shift_factor(&self, temperature: f64) -> f64
Shift factor a_T = 10^(log₁₀(a_T)).
Sourcepub fn is_rubbery(&self, temperature: f64) -> bool
pub fn is_rubbery(&self, temperature: f64) -> bool
Check if temperature is above glass transition.
Sourcepub fn relaxation_time(&self, t_ref_tau: f64, temperature: f64) -> f64
pub fn relaxation_time(&self, t_ref_tau: f64, temperature: f64) -> f64
Relaxation time at temperature T relative to reference.
Auto Trait Implementations§
impl Freeze for GlassTransition
impl RefUnwindSafe for GlassTransition
impl Send for GlassTransition
impl Sync for GlassTransition
impl Unpin for GlassTransition
impl UnsafeUnpin for GlassTransition
impl UnwindSafe for GlassTransition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more