Description: A code to solve a 2-D truss structure using FEM theorem (direct method). Each branch of the truss is considered as a 2-force member and the coordinates of the nodes in Cartesian system is needed. This code contains 3 functions:
Truss_f, which is the main function to calculate stress, strain and force.M_properties22, which contains the mechanical properties of whole truss in a matrix
P_condition22, which contains boundary condition and external forces in a matrix
To Search:
File list (Check if you may need any files):
truss_f.m