Skip to main content

ModifiedCamClay

Struct ModifiedCamClay 

Source
pub struct ModifiedCamClay {
    pub m: f64,
    pub kappa: f64,
    pub lambda: f64,
    pub e0: f64,
    pub poisson_ratio: f64,
    pub pc0: f64,
}
Expand description

Modified Cam-Clay (MCC) critical state soil mechanics model.

Yield surface: f = q² / M² + p’(p’ - p’_c) = 0

where: p’ = I₁/3 = mean effective stress q = √(3 J₂) = deviatoric stress (von Mises) M = critical state stress ratio q/p’ at failure p’_c = pre-consolidation pressure (hardening variable)

Fields§

§m: f64

Critical state stress ratio M = q/p at critical state.

§kappa: f64

Swelling line slope κ in e-ln(p) space.

§lambda: f64

Normal consolidation line slope λ in e-ln(p) space.

§e0: f64

Initial void ratio e₀.

§poisson_ratio: f64

Poisson’s ratio ν (for elastic stiffness).

§pc0: f64

Initial pre-consolidation pressure p’_c0 (Pa).

Implementations§

Source§

impl ModifiedCamClay

Source

pub fn new( m: f64, kappa: f64, lambda: f64, e0: f64, poisson_ratio: f64, pc0: f64, ) -> Self

Create a Modified Cam-Clay model.

Source

pub fn soft_clay() -> Self

Soft clay default parameters.

Source

pub fn bulk_modulus(&self, p_prime: f64) -> f64

Elastic bulk modulus K = (1+e₀) p’ / κ.

Source

pub fn shear_modulus(&self, p_prime: f64) -> f64

Elastic shear modulus from K and Poisson’s ratio.

Source

pub fn mean_stress(stress: &[f64; 6]) -> f64

Mean effective stress from stress vector (Voigt: [xx,yy,zz,xy,yz,xz]).

Source

pub fn deviatoric_stress(stress: &[f64; 6]) -> f64

Deviatoric stress q = √(3 J₂).

Source

pub fn yield_function(&self, stress: &[f64; 6], pc: f64) -> f64

Yield function f = q²/M² + p’(p’ - p’_c).

Source

pub fn critical_state_pressure(&self, pc: f64) -> f64

Critical state (CSL) pressure at given void ratio.

p_cs = p_c / 2 (at yield surface apex for MCC)

Source

pub fn update_preconsolidation_pressure( &self, pc: f64, delta_eps_v_p: f64, ) -> f64

Hardening: evolution of p’_c with plastic volumetric strain Δε_v_p.

p’_c^new = p’_c * exp((1+e₀) * Δε_v_p / (λ - κ))

Source

pub fn compression_index(&self) -> f64

Compression index Cc ≈ λ * ln(10) (conventional oedometer measure).

Trait Implementations§

Source§

impl Clone for ModifiedCamClay

Source§

fn clone(&self) -> ModifiedCamClay

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ModifiedCamClay

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for ModifiedCamClay

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.