Geometry > kg_Truss
kg_Truss
Purpose
geometric stiffness matrix for 2d/3d 2-node truss element for different options
Synopsis
kg = kg_Truss (option,xyz,u,q)
Description
KG_TRUSS geometric stiffness matrix for 2d/3d 2-node truss element for different options KG = KG_TRUSS (OPTION,XYZ,U,Q) the function determines the geometric stiffness matrix KG of a 2-node 2d/3d truss element with end coordinates in array XYZ (node i corresponds to first column and node j to second); the geometric stiffness matrix depends on the node displacement values in array U (ndmx2) in the global reference system and on the basic force vector Q; OPTION is a character variable with one of three values: 'linear','PDelta' and 'corotational' for linear, P-Delta and corotational geometry, resp.
Cross-Reference Information
This function calls:
- ElmLenOr element length and x-axis orientation (direction cosines)