pub struct SwellingMaterial {
pub hygroscopic_coeff: f64,
pub osmotic_coeff: f64,
pub crosslink_density: f64,
pub flory_chi: f64,
pub temperature: f64,
}Expand description
Swelling material: hygroscopic expansion, osmotic pressure, gel (Flory-Rehner).
Fields§
§hygroscopic_coeff: f64Hygroscopic expansion coefficient β_h (strain per unit relative humidity).
osmotic_coeff: f64Osmotic pressure coefficient (Pa per mol/m³ concentration difference).
crosslink_density: f64Flory-Rehner cross-link density (mol/m³).
flory_chi: f64Flory-Huggins parameter χ.
temperature: f64Temperature (K).
Implementations§
Source§impl SwellingMaterial
impl SwellingMaterial
Sourcepub fn hygroscopic_strain(&self, delta_rh: f64) -> f64
pub fn hygroscopic_strain(&self, delta_rh: f64) -> f64
Hygroscopic swelling strain: ε = β_h * ΔRH.
Sourcepub fn osmotic_pressure(&self, concentration: f64) -> f64
pub fn osmotic_pressure(&self, concentration: f64) -> f64
Osmotic pressure (van’t Hoff): Π = c * R * T.
Sourcepub fn flory_rehner_elastic_energy(&self, swelling_ratio: f64) -> f64
pub fn flory_rehner_elastic_energy(&self, swelling_ratio: f64) -> f64
Flory-Rehner elastic free energy: ΔF_el = (3/2) * ν * kT * (λ² - 1 - ln λ).
λ = swelling ratio.
Sourcepub fn swelling_equilibrium_condition(&self, phi: f64) -> f64
pub fn swelling_equilibrium_condition(&self, phi: f64) -> f64
Total swelling driving force: mixing + elastic.
Trait Implementations§
Source§impl Clone for SwellingMaterial
impl Clone for SwellingMaterial
Source§fn clone(&self) -> SwellingMaterial
fn clone(&self) -> SwellingMaterial
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SwellingMaterial
impl RefUnwindSafe for SwellingMaterial
impl Send for SwellingMaterial
impl Sync for SwellingMaterial
impl Unpin for SwellingMaterial
impl UnsafeUnpin for SwellingMaterial
impl UnwindSafe for SwellingMaterial
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