Skip to main content

FoundationSoil

Struct FoundationSoil 

Source
pub struct FoundationSoil {
    pub cu: f64,
    pub phi_deg: f64,
    pub c_prime: f64,
    pub gamma: f64,
    pub spt_n: u32,
    pub constrained_modulus: f64,
}
Expand description

Foundation soil properties for bearing capacity analysis.

Fields§

§cu: f64

Undrained shear strength cu (kPa) for cohesive soils.

§phi_deg: f64

Effective internal friction angle φ’ (degrees).

§c_prime: f64

Cohesion c’ (kPa) for c-φ soil.

§gamma: f64

Soil unit weight γ (kN/m³).

§spt_n: u32

SPT N-value (blows per 300mm).

§constrained_modulus: f64

Constrained modulus D (MPa) for settlement.

Implementations§

Source§

impl FoundationSoil

Source

pub fn medium_clay() -> Self

Create a typical medium stiff clay.

Source

pub fn ultimate_bearing_capacity(&self, b: f64, df: f64) -> f64

Ultimate bearing capacity by Terzaghi (strip footing, general shear).

b = footing width (m), df = depth of foundation (m).

Source

pub fn allowable_bearing_capacity(&self, b: f64, df: f64) -> f64

Allowable bearing capacity with factor of safety FOS = 3.

Source

pub fn immediate_settlement(&self, q: f64, b: f64, es_mpa: f64, nu: f64) -> f64

Immediate settlement by Boussinesq (elastic, uniform load).

q = net foundation pressure (kPa), b = footing width (m), es = Young’s modulus of soil (MPa), nu = Poisson’s ratio.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.