create some test structures in 2 or 3 dimensions.
[t,p,e,A,E,rho,F] = build_fem_test(test_name)
the name of the structure to be created. Can be:
'2bars' | ![]() |
'pylon2d' | ![]() |
'truss' | ![]() |
'pylon3d' | ![]() |
'dev5' | ![]() |
'building2d' | ![]() |
'bridge2d' | ![]() |
'building3d' | ![]() |
'bridge3d' | ![]() |
'dome' | ![]() |
'bar' | ![]() |
a matrix containing the list of bars. It's a nbars x 2 matrix. First column corresponds to the point number which starts the bar. Second column corresponds to the point number which ends the bar.
a matrix containing the coordinate of the points. It's a npoints x 2 matrix for a 2 dimensions structure and a npoints x 3 for a 3 dimensions structure.
a matrix containing the list of fixed degrees of freedom.
a vector which contains the value of the sections of the bars. Must be a vector of size nbars.
a vector which contains the modulus of elasticity of the bars. Must be a vector of size nbars.
a vector which contains the volumic mass of the bars. Must be a vector of size nbars.
list of forces applied to the nodes. Must be a vector of size 2 x npoints for a 2 dimensions structure and a vector of size 3 x npoints for a 3 dimensions structure.
Create some test structures in 2 or 3 dimensions.