Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

sdynpy.fem.sdynpy_beam.beamkm

Signature

def sdynpy.fem.sdynpy_beam.beamkm(node_coords, element_connectivity, bend_direction_1, ae, jg, ei1, ei2, mass_per_length, tmmi_per_length)

Compute mass and stiffness matrices for the given beam model

This function computes the mass and stiffness matrices for the beam model defined by the given nodal coordinates, element connectivity, orientation parameters, and elastic properties.

Parameters

Returns

Notes

The degrees of freedom in the mass and stiffness matrices will be ordered as follows: [disp_x_0, disp_y_0, disp_z_0, rot_x_0, rot_y_0, rot_z_0, disp_x_1, disp_y_1, disp_z_1, rot_x_1, rot_y_1, rot_z_1, ... disp_x_n, disp_y_n, disp_z_n, rot_x_n, rot_y_n, rot_z_n]