pub struct GasDiffusionLayer {
pub porosity: f64,
pub tortuosity: f64,
pub thickness: f64,
pub contact_angle: f64,
pub permeability: f64,
}Expand description
Gas diffusion layer (GDL) transport model.
Fields§
§porosity: f64Porosity (0..1).
tortuosity: f64Tortuosity.
thickness: f64Thickness (m).
contact_angle: f64Contact angle (rad) — for liquid water flooding.
permeability: f64Permeability (m²).
Implementations§
Source§impl GasDiffusionLayer
impl GasDiffusionLayer
Sourcepub fn toray_tgp_h120() -> Self
pub fn toray_tgp_h120() -> Self
Toray carbon paper TGP-H-120 defaults.
Sourcepub fn effective_diffusivity(&self, d_bulk: f64) -> f64
pub fn effective_diffusivity(&self, d_bulk: f64) -> f64
Effective diffusivity via Bruggeman model: D_eff = D_bulk * eps^1.5.
Sourcepub fn knudsen_diffusivity(
&self,
d_pore: f64,
m_molar: f64,
temperature: f64,
) -> f64
pub fn knudsen_diffusivity( &self, d_pore: f64, m_molar: f64, temperature: f64, ) -> f64
Knudsen diffusivity for small pores (m²/s).
d_pore: mean pore diameter (m). m_molar: molar mass (kg/mol).
Sourcepub fn darcy_velocity(&self, viscosity: f64, dp_dx: f64) -> f64
pub fn darcy_velocity(&self, viscosity: f64, dp_dx: f64) -> f64
Darcy velocity (m/s) under pressure gradient dp_dx (Pa/m).
Sourcepub fn capillary_pressure(&self, d_pore: f64, surface_tension: f64) -> f64
pub fn capillary_pressure(&self, d_pore: f64, surface_tension: f64) -> f64
Capillary pressure (Pa) for a pore of diameter d_pore.
Trait Implementations§
Source§impl Clone for GasDiffusionLayer
impl Clone for GasDiffusionLayer
Source§fn clone(&self) -> GasDiffusionLayer
fn clone(&self) -> GasDiffusionLayer
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 GasDiffusionLayer
impl RefUnwindSafe for GasDiffusionLayer
impl Send for GasDiffusionLayer
impl Sync for GasDiffusionLayer
impl Unpin for GasDiffusionLayer
impl UnsafeUnpin for GasDiffusionLayer
impl UnwindSafe for GasDiffusionLayer
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