Module:
sdynpy.fem.sdynpy_beamSource: GitHub
Signature¶
def sdynpy.fem.sdynpy_beam.beamkm_2d(length, width, height, nnodes, E, rho, nu, axial=True)A simplified 2D beam with uniform cross section and linear materials
Parameters¶
length : float Length of the beam
width : float Width of the beam, perpendicular to the bending plane
height : float Height of the beam, in the bending direction.
nnodes : int Number of nodes in the beam (number of elements + 1)
E : float Elastic modulus
rho : float Density
nu : float Poisson’s Ratio
axial : bool Keep axial motions (default = True)
Returns¶
K : np.ndarray Stiffness matrix of the beam
M : np.ndarray Mass matrix of the beam
Notes¶
Dof ordering is axial translation, bending translation, and bending rotation repeated for each node. Axial is X, bending is Z, and rotation is about Y. If axial == False, Dof ordering is bending translation, bending rotation.