Skip to content

formula_2_22

codes.cur.cur_228.formula_2_22

Contains formula 2.22 from CUR 228.

Classes:

codes.cur.cur_228.formula_2_22.Form2Dot22ModulusHorizontalSubgrade

Form2Dot22ModulusHorizontalSubgrade(r: M, e_p: KPA, alpha: DIMENSIONLESS)

Bases: Formula

Representation of equation 2.22 CUR 228.

Calculates the modulus of horizontal subgrade reaction (\(k_h\)) using Menard stiffness for r < 0.3 m.

Parameters:

  • r (M) –

    The radius of a foundation pile [m]: r < 0.3 m

  • e_p (KPA) –

    Elastic modulus of Ménard [kPa]: e_p ≈ beta * q_c beta: DIMENSIONLESS Dependent on soil type [-]: (table 2.1) q_c: KPA Cone resistance [kPa]

  • alpha (DIMENSIONLESS) –

    Factor dependent on soil type [-]: (table 2.1)

Source code in blueprints/codes/cur/cur_228/formula_2_22.py
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
def __init__(self, r: M, e_p: KPA, alpha: DIMENSIONLESS) -> None:
    """Calculates the modulus of horizontal subgrade reaction ($k_h$) using Menard stiffness for r < 0.3 m.

    Parameters
    ----------
    r: M
        The radius of a foundation pile [m]:
        r < 0.3 m
    e_p: KPA
        Elastic modulus of Ménard [kPa]:
        e_p ≈ beta * q_c
            beta: DIMENSIONLESS
                Dependent on soil type [-]: (table 2.1)
            q_c: KPA
                Cone resistance [kPa]
    alpha: DIMENSIONLESS
        Factor dependent on soil type [-]: (table 2.1)
    """
    super().__init__()
    self.r = r
    self.e_p = e_p
    self.alpha = alpha

codes.cur.cur_228.formula_2_22.Form2Dot22ModulusHorizontalSubgrade.latex

latex(n: int = 3) -> LatexFormula

Latex representation of the full equation including result.

Returns:

  • LatexFormula

    Latex representation of the equation

Source code in blueprints/codes/cur/cur_228/formula_2_22.py
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
def latex(self, n: int = 3) -> LatexFormula:
    """Latex representation of the full equation including result.

    Returns
    -------
    LatexFormula
        Latex representation of the equation

    """
    n = self.n_decimals
    return LatexFormula(
        return_symbol=r"k_{h}",
        result=f"{self:.{n}f}",
        equation=r"\frac{2 \cdot R}{E_{p}} \cdot \frac{4 \cdot 2.65^{\alpha} + 3 \alpha}{18}",
        numeric_equation=rf"\frac{{2 \cdot {self.r:.{n}f}}}{{{self.e_p:.{n}f}}} \cdot \frac{{4 \cdot 2.65^{{{self.alpha:.{n}f}}} + 3 \cdot "
        rf"{self.alpha:.{n}f}}}{{18}}",
        unit="kN/m^3",
    )