Truss class
Parent class
Class doc
- class femedu.elements.finite.Truss.Truss(nodei, nodej, material, label=None)
Representing a single truss element for finite deformation analysis between 2 nodes.
The element is using the following dofs:
\(u\) (
ux
) and \(v\) (uy
) in a 2D model.\(u\) (
ux
), \(v\) (uy
) and \(w\) (uz
) in a 3D model.
self.nodes
nodes i and j (tuple)
self.material
pointer to Material object
self.force
internal force (float)
self.Forces
nodal force vectors (list of np.arrays)
self.Kt
tangent stiffness (list of np.arrays)
- getAxialForce()
- Returns:
axial force in the truss. Positive value = tension.
- updateState()
Compute internal state, nodal forces, and tangent stiffness for the current state of deformation.