Skip to main content

RetainingWall

Struct RetainingWall 

Source
pub struct RetainingWall {
    pub height: f64,
    pub gamma: f64,
    pub phi_deg: f64,
    pub delta_deg: f64,
    pub beta_deg: f64,
}
Expand description

Retaining wall earth pressure analysis (Rankine/Coulomb).

Fields§

§height: f64

Height of wall H (m).

§gamma: f64

Soil unit weight behind wall γ (kN/m³).

§phi_deg: f64

Friction angle φ (degrees).

§delta_deg: f64

Wall friction angle δ (degrees).

§beta_deg: f64

Backfill inclination β (degrees).

Implementations§

Source§

impl RetainingWall

Source

pub fn new(height: f64, gamma: f64, phi_deg: f64) -> Self

Create a retaining wall with given parameters.

Source

pub fn rankine_ka(&self) -> f64

Rankine active earth pressure coefficient Ka.

Source

pub fn rankine_kp(&self) -> f64

Rankine passive earth pressure coefficient Kp.

Source

pub fn active_thrust_rankine(&self) -> f64

Total active thrust Pa per unit width (kN/m) using Rankine.

Source

pub fn passive_resistance_rankine(&self) -> f64

Total passive resistance Pp per unit width (kN/m) using Rankine.

Source

pub fn coulomb_ka(&self) -> f64

Coulomb active pressure coefficient Ka.

Source

pub fn overturning_factor(&self, footing_width: f64) -> f64

Check overturning stability factor (should be > 2.0).

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.