pycufsm.pre.stresses

Functions

yield_mp(→ pycufsm._types.Forces)

Determine yield strengths in bending and axial loading

stress_gen(→ numpy.ndarray)

Generates stresses on nodes based upon applied loadings

Module Contents

pycufsm.pre.stresses.yield_mp(nodes: numpy.ndarray, f_y: float, sect_props: pycufsm._types.Sect_Props, restrained: bool = False) pycufsm._types.Forces

Determine yield strengths in bending and axial loading

Args:

nodes (np.ndarray): _description_ f_y (float): _description_ sect_props (Sect_Props): _description_ restrained (bool, optional): _description_. Defaults to False.

Returns:
forces (Forces): Yield bending and axial strengths

{Py,Mxx_y,Mzz_y,M11_y,M22_y}

BWS, Aug 2000 BWS, May 2019 trap nan when flat plate or other properites are zero

pycufsm.pre.stresses.stress_gen(nodes: numpy.ndarray, forces: pycufsm._types.Forces, sect_props: pycufsm._types.Sect_Props, restrained: bool = False, offset_basis: int | list = 0) numpy.ndarray

Generates stresses on nodes based upon applied loadings

Args:

nodes (np.ndarray): _description_ forces (Forces): _description_ sect_props (Sect_Props): _description_ restrained (bool, optional): _description_. Defaults to False. offset_basis (Union[int, list], optional): offset_basis compensates for section properties

that are based upon coordinate [0, 0] being something other than the centreline of elements. For example, if section properties are based upon the outer perimeter, then offset_basis=[-thickness/2, -thickness/2]. Defaults to 0.

Returns:

np.ndarray: _description_

BWS, 1998 B Smith, Aug 2020