pub struct ConcreteMaterial {
pub fc: f64,
pub ft: f64,
pub ec: f64,
pub poisson: f64,
pub shrinkage_strain: f64,
pub creep_coefficient: f64,
pub density: f64,
}Expand description
Concrete material properties per ACI/EN standard.
Fields§
§fc: f64Characteristic compressive strength f’c (MPa).
ft: f64Tensile strength ft (MPa), typically ≈ 0.1 * fc.
ec: f64Modulus of elasticity Ec (MPa).
poisson: f64Poisson’s ratio ν.
shrinkage_strain: f64Drying shrinkage strain ε_sh (dimensionless).
creep_coefficient: f64Creep coefficient φ (ratio of creep strain to elastic strain).
density: f64Density (kg/m³).
Implementations§
Source§impl ConcreteMaterial
impl ConcreteMaterial
Sourcepub fn new(fc: f64) -> Self
pub fn new(fc: f64) -> Self
Create a normal-weight concrete with characteristic strength fc (MPa).
Ec is estimated by ACI 318: Ec = 4700 * sqrt(fc) (MPa).
Sourcepub fn shear_modulus(&self) -> f64
pub fn shear_modulus(&self) -> f64
Shear modulus G = Ec / (2*(1+ν)).
Sourcepub fn splitting_tensile_strength(&self) -> f64
pub fn splitting_tensile_strength(&self) -> f64
Splitting tensile strength (ACI): fct = 0.56 * sqrt(fc) MPa.
Sourcepub fn ultimate_compressive_strain(&self) -> f64
pub fn ultimate_compressive_strain(&self) -> f64
Ultimate compressive strain (ACI): 0.003.
Sourcepub fn modulus_of_rupture(&self) -> f64
pub fn modulus_of_rupture(&self) -> f64
Modulus of rupture (flexural): fr = 0.62 * sqrt(fc) MPa.
Auto Trait Implementations§
impl Freeze for ConcreteMaterial
impl RefUnwindSafe for ConcreteMaterial
impl Send for ConcreteMaterial
impl Sync for ConcreteMaterial
impl Unpin for ConcreteMaterial
impl UnsafeUnpin for ConcreteMaterial
impl UnwindSafe for ConcreteMaterial
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