Previous topic

civpy.structures.Node.sym_nodes

Next topic

civpy.structures.Element.copy

This Page

civpy.structures.Element

class civpy.structures.Element(name, inode, jnode, group, symmetry=None, roll=0, unstr_length=None, imx_free=False, imy_free=False, imz_free=False, jmx_free=False, jmy_free=False, jmz_free=False)[source]

A class representing a structural element.

Parameters:
name : str

A unique name for the element.

inode, jnode : str

The names of the nodes at the i and j ends of the element.

group : ElementGroup

The group assigned to the element.

symmetry : {None, ‘x’, ‘y’, ‘xy’}

The symmetry of the element.

roll : float

The counter clockwise angle of roll about the length axis.

imx_free, imy_free, imz_free : bool

The rotational fixities at the i-node about the local x, y, and z axes.

jmx_free, jmy_free, jmz_free : bool

The rotational fixities at the j-node about the local x, y, and z axes.

Methods

copy(self) Returns a copy of the element.
free(self) Sets the end rotational fixities to free.
get_nodes(self) Returns the i and j node objects.
get_unstr_length(self) If the unstressed length of the element is None, returns the initial distance between the nodes.
global_stiffness(self[, di, dj]) Returns the global stiffness matrix for the element.
i_free(self) Sets the i end rotational fixities to free.
j_free(self) Sets the j end rotational fixities to free.
length(self[, di, dj]) Returns the length of the element between nodes.
local_stiffness(self[, di, dj]) Returns the local stiffness for the element.
mx_free(self) Sets the x rotational fixities to free.
my_free(self) Sets the y rotational fixities to free.
mz_free(self) Sets the z rotational fixities to free.
rotation_matrix(self[, di, dj]) Returns the rotation matrix for the element.
set_nodes(self, ndict) Sets the node references for the element.
sym_elements(self) Returns the symmetric elements for the element.
transformation_matrix(self[, di, dj]) Returns the transformation matrix for the element.