Skip to content

formula_4_2

codes.eurocode.en_1993_1_8_2005.chapter_4_welded_connections.formula_4_2

Formula 4.2 from EN 1993-1-8:2005: Chapter 4 - Welded Connections.

Classes:

codes.eurocode.en_1993_1_8_2005.chapter_4_welded_connections.formula_4_2.Form4Dot2CheckWeldedConnection

Form4Dot2CheckWeldedConnection(fw_ed: N, fw_rd: N)

Bases: Formula

Class representing formula 4.2 for checking welded connections.

Check the force in the weld per unit length against its resistance.

EN 1993-1-8:2005 art.4.5.3.3(1) - Formula (4.2)

Parameters:

  • fw_ed (N) –

    [\(F_{w,Ed}\)] Design value of the force in the weld per unit length [\(N\)].

  • fw_rd (N) –

    [\(F_{w,Rd}\)] Design value of the resistance of the weld per unit length [\(N\)].

Source code in blueprints/codes/eurocode/en_1993_1_8_2005/chapter_4_welded_connections/formula_4_2.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
def __init__(
    self,
    fw_ed: N,
    fw_rd: N,
) -> None:
    r"""Check the force in the weld per unit length against its resistance.

    EN 1993-1-8:2005 art.4.5.3.3(1) - Formula (4.2)

    Parameters
    ----------
    fw_ed : N
        [$F_{w,Ed}$] Design value of the force in the weld per unit length [$N$].
    fw_rd : N
        [$F_{w,Rd}$] Design value of the resistance of the weld per unit length [$N$].
    """
    super().__init__()
    self.fw_ed = fw_ed
    self.fw_rd = fw_rd

codes.eurocode.en_1993_1_8_2005.chapter_4_welded_connections.formula_4_2.Form4Dot2CheckWeldedConnection.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 4.2.

Source code in blueprints/codes/eurocode/en_1993_1_8_2005/chapter_4_welded_connections/formula_4_2.py
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 4.2."""
    _equation: str = r"F_{w,Ed} \leq F_{w,Rd}"
    _numeric_equation: str = latex_replace_symbols(
        _equation,
        {
            "F_{w,Ed}": f"{self.fw_ed:.{n}f}",
            "F_{w,Rd}": f"{self.fw_rd:.{n}f}",
        },
        False,
    )
    _numeric_equation_with_units: str = latex_replace_symbols(
        _equation,
        {
            "F_{w,Ed}": rf"{self.fw_ed:.{n}f} \ N",
            "F_{w,Rd}": rf"{self.fw_rd:.{n}f} \ N",
        },
        False,
    )
    return LatexFormula(
        return_symbol=r"CHECK",
        result="OK" if self.__bool__() else "\\text{Not OK}",
        equation=_equation,
        numeric_equation=_numeric_equation,
        numeric_equation_with_units=_numeric_equation_with_units,
        comparison_operator_label="\\to",
        unit="",
    )