Civil Engineering Association
truss example for 4 joints and 4 elements - Printable Version

+- Civil Engineering Association (https://forum.civilea.com)
+-- Forum: Civil Engineering Resource (https://forum.civilea.com/forum-1.html)
+--- Forum: Civil Engineering Documents (https://forum.civilea.com/forum-89.html)
+---- Forum: Calculation Notes & Analysis Files (https://forum.civilea.com/forum-80.html)
+---- Thread: truss example for 4 joints and 4 elements (/thread-6552.html)



truss example for 4 joints and 4 elements - preceptor - 11-22-2009

Advanced Example For Finite Element Analysis of Truss Example

[Image: 83613448465407991147.jpg]

[Image: info.png]
about:
Matlab code for 4 nods and 4 truss elements

dear members
this example developed
for finite element analysis and
you will see that include advanced method,

im working on beam,frame etc..
it will be available soon.........
regards
urbana

you can use freely m.file
(there are a important thing that is a practice)




[Image: Download.png]

Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:

http://forum.civilea.com/thread-27464.html
***************************************

[Image: password.png]

Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:

http://forum.civilea.com/thread-27464.html
***************************************

Joint1 u=0 v=0
Joint2 u=-9.0016e-035 v=-0.0081852
Joint3 u=0.0026667 v=-0.0081852
Joint4 u=0 v=0
Member1 f1i=6.7512e-030 f1j=-6.7512e-030
Member2 f1i=-133.3333 f1j=133.3333
Member3 f1i=1.1369e-013 f1j=-1.1369e-013
Member4 f1i=166.6667 f1j=-166.6667


RE: truss example for 4 joints and 4 elements - elbarto_87 - 11-23-2009

Nice work urbana.

I wrote a similar program in MATLAB last year to do 3d frame analysis using the dirrect stiffness method but after writing the program I realized how NOT TO write a program in MATLAB (I used global variables, should have looked more into an OOP approach) although it did work. If you are interested in continuing your development please let me know if I can make a contribution to anything as I would be willing to add where I can. I have a mfile I wrote for partitioning the stiffness matrix (also works on node loads etc) which was written using logical indexing so it will be much faster then looping if you are interested. I will try and upload it somewhere to share if you are interested.

There is a lack of a good general frame analysis toolbox released under a BSD license for Matlab. I would be very interested to hear about the rest of your project.


Regards Elbarto


RE: truss example for 4 joints and 4 elements - preceptor - 11-23-2009

dear elbarto
thanx your interest
please please
you can share
please open the new thread

note:
if you follow the forum rules,i will grateful to you

regards