pub struct BiodegradationKinetics {
pub rate_constant: f64,
pub mw_initial: f64,
pub mw_critical: f64,
pub d_water: f64,
pub half_thickness: f64,
}Expand description
Polymer biodegradation model (first-order hydrolytic degradation).
Fields§
§rate_constant: f64Degradation rate constant k (1/s).
mw_initial: f64Initial molecular weight (g/mol).
mw_critical: f64Minimum molecular weight for loss of mechanical function (g/mol).
d_water: f64Diffusion coefficient of water in polymer (m²/s).
half_thickness: f64Sample half-thickness (m).
Implementations§
Source§impl BiodegradationKinetics
impl BiodegradationKinetics
Sourcepub fn pla_scaffold() -> Self
pub fn pla_scaffold() -> Self
PLA (polylactic acid) scaffold defaults.
Sourcepub fn molecular_weight(&self, t: f64) -> f64
pub fn molecular_weight(&self, t: f64) -> f64
Molecular weight at time t (s) assuming first-order chain scission.
Sourcepub fn time_to_failure(&self) -> f64
pub fn time_to_failure(&self) -> f64
Time to reach critical molecular weight (s).
Sourcepub fn mass_loss_fraction(&self, t: f64) -> f64
pub fn mass_loss_fraction(&self, t: f64) -> f64
Mass loss fraction at time t (dimensionless 0..1).
Uses Weibull degradation model.
Sourcepub fn diffusion_time(&self) -> f64
pub fn diffusion_time(&self) -> f64
Diffusion-limited degradation: characteristic time t_d = L^2 / D.
Sourcepub fn is_bulk_degradation(&self) -> bool
pub fn is_bulk_degradation(&self) -> bool
Assess degradation regime: true = bulk, false = surface.
Surface degradation occurs when diffusion time >> reaction time.
Sourcepub fn plga_mass_loss(&self, t: f64, autocatalysis_factor: f64) -> f64
pub fn plga_mass_loss(&self, t: f64, autocatalysis_factor: f64) -> f64
PLGA copolymer degradation with autocatalysis (Gopferich model approximation).
Trait Implementations§
Source§impl Clone for BiodegradationKinetics
impl Clone for BiodegradationKinetics
Source§fn clone(&self) -> BiodegradationKinetics
fn clone(&self) -> BiodegradationKinetics
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more