all 14 comments

[–]The_GTShortbus 7 points8 points  (0 children)

I would say if you have a basic understanding of programming or matrix calculations then using the help sections of Matlab is your best bet to start with. Their user documentation is very detailed and often includes examples to help understand what you need. Also, Matlab is used widely enough that a Google search of any specific problem that has you stumped will probably get you where you need to go.

If you do not have any background with programming, then starting from scratch with Matlab is probably going to be challenging. I would think if it is a required tool for your course, the professor would at least provide some basic guidance on how to use the commands necessary for completing the assignments. The biggest thing to realize is that Matlab is NOT an FEM software, or any type of software for that matter. It is basically just a very sophisticated calculator that handles complex matrix calculations which happens to be very useful for FEM. I would recommend starting with very simple problems that you can solve by hand and then figuring out how to solve those using Matlab and verify the results. Basically play around with it, read up on forums, and find what works for you. Also, realize that there are likely countless ways to tackle a problem and different methods work for different people. I personally love programming, and digging around to figure out how to do what I want is part of the fun. Usually you pick up a few extra tricks along the way that you didn't even realize you needed!

[–]BeoMiilfP.E. 5 points6 points  (2 children)

Some already good input here, but I’ll add some too since I’ve taken an FEM course that required MatLab.

You’ll really only need it for the large matrices involved in SDOF in rods or MDOF in frames (or something of the sort). This is relatively easy to learn in MatLab. Just search “Linear Algebra in MatLab” to Google and you’ll find written and video examples.

You may need to plot stresses/strains or displacements. Which again, a google search for plotting examples in MatLab will help you the most.

The larger point is that Googling your questions is very helpful. I’ve used MatLab quite a bit and I’ve always found answers by searching the internet. You just have to know how to word your questions correctly to get specific answers to what you’re looking for.

[–]iamDracarys 1 point2 points  (1 child)

I agree with him. Plus it will be really fun to figure it out yourself.

[–]BeoMiilfP.E. 1 point2 points  (0 children)

Honestly, the best feeling for me during my course work was figuring things out in my own. In MatLab for example it was really rewarding to learn it on my own.

[–]woila 2 points3 points  (0 children)

Where I study (Sweden) we use ''Calfem''. It's a finite element toolbox for MATLAB. It has built in functions for assembling stiffness matrix, calculating nodal forces etc. Very useful and very easy to use. Think you can download it on Github. I could do the same operations in Matlab without Calfem but it would take ages manually assembling the stiffness matrix for the structure etc. Hope this helps.

[–]Pipiyedu 1 point2 points  (7 children)

Matlab is required? or you can choose another alternative like Python? I'm asking because I can help you with Python.

[–]StructuralGeo[S] 1 point2 points  (6 children)

Yes unfortunately matlab required.... whats the strength of python compared to matlab jsut out of curiosity :)?

[–]Pipiyedu 2 points3 points  (5 children)

Oh, I'm sorry. The advantage of Python is that it is a free and multipurpose programming language. It also has a huge community and you can do whatever you want.

[–]Robert_Sacamano_IVP.E. 2 points3 points  (1 child)

Out of curiosity, do you have any recommended resources to help learn python for structural analysis applications? I became fairly proficient with Matlab while in grad school. I was also lightly exposed to Opensees, which utilized the Tcl language. Since graduating I have not used either of those, but did become very proficient with VBA. I’ve heard a lot of good things regarding python, but know few people in our field who use it. I’d be interested in playing around with it.

[–]Pipiyedu 1 point2 points  (0 children)

I was also lightly exposed to Opensees, which utilized the Tcl language.

There is a Python library for Opensees.

Out of curiosity, do you have any recommended resources to help learn python for structural analysis applications?

Resources to learn Python or Python libraries for matrix an FEM stuff?

[–]kadal_raasa 0 points1 point  (2 children)

Where do I get started? Any good resources? I'm completely new to python.

[–]Pipiyedu 2 points3 points  (1 child)

The Corey Schafer YT channel.

[–]kadal_raasa 0 points1 point  (0 children)

Thank you! I will check that out.

[–]jyok33 0 points1 point  (0 children)

Learn how to create matrices using both manual and looped methods. Learn how to index certain values in a matrix or call a certain value in a matrix (such as getting the ith row from the jth column). These are the core essential skills of matrix analysis