Draw the mode shapes and get the natural frequencies of the cantilever beam(with a force in free end)
Show older comments
[EDIT: 20110621 11:15 CDT - merge comment into question, clarify - WDR]
hi, I'm Rex. I have a problem, can anyone help me solve it.
The problem is : Draw the mode shapes and get the natural frequencies of the cantilever beam (with a force in free end). The bar is shown in Fig.1 (you can see in my blog. <http://www.facebook.com/profile.php?...type=1&theater#!/photo.php?fbid=224903064204253&set=o.21222876640&type=1&theater> ) and it has elastic modulus of 200GPa, cross-sectional area of 0.001m^2, and density of 7860 kg/m^3. P=P0*sinΩ*t applied at point xi, where i=1,2,3,4,5(five nodes) and respectively (P0=100 ,Ω=30 and t=10(s), t is time, P is force).
[I need to solve] the problem by commercial code such as matlab.
I have a matlab code (Euler–Bernoulli beam),
This is the matlab code (Euler-Bernoulli beam): http://www.mathworks.de/matlabcentral/answers/9519-draw-the-mode-shapes-and-get-the-natural-frequencies-of-the-cantilever-beam-with-a-force-in-free-e You can see it there, and try to run in matlab. how can i modify it and transform to Cantilever beam with end load. I can mail the code to you,tell me your mail please.
If you interested this question,we can discuss it. This is my mail:a14292914@yahoo.com.tw
My english is poor, i hope you understand the question which i asked. Nice to meet you.
Accepted Answer
More Answers (2)
Sean de Wolski
on 21 Jun 2011
0 votes
Aren't the eigenvectors the buckling modes? ~ Corresponding to the (ascending) sorted eigenvalues?
To change it to a cantilever, change your boundary conditions, possibly your discretization to include any important points, and your force vector.
17 Comments
Chen Rex
on 21 Jun 2011
Sean de Wolski
on 21 Jun 2011
I can modify this code for you. I could also write a new code that's more consolidated. I'll do it for your simple cantilever beam once I have $10,000.00 American wired to a bank account that I'll have to set up just for this transaction.
Seriously, you're COPYING someone's well commented, well documented code and you're not going to take the time to learn how it works or why it works? As a civil/structural engineer myself, I wouldn't want to drive across any beam you design.
Chen Rex
on 21 Jun 2011
Sean de Wolski
on 21 Jun 2011
Yes. So what is more useful for you as a student:
-Figuring out what RenYu did yourself: what they're doing, how/why they're doing it and what modifications you need to make it work for your problem.
or
-Having one of us do you homework assignment for you?
Chen Rex
on 21 Jun 2011
Sean de Wolski
on 21 Jun 2011
I have no problem helping you. I will not do you homework for you. Helping would be something like: "Why does the author overwrite K_bc with a new K_bc? Doesn't that make the previous line useless?" or "What is the last double for-loop doing? How could I consolidate it?"
Helping is not: "Here's a bunch of code, now can you change it so it meets the specs of my homework assignment so I can get back to lounging?"
The first example of helping is the point of this community - people with more experience assisting people with less experience become more proficient. The second example is example is the point of contractors - pay people to do your work for you.
Chen Rex
on 21 Jun 2011
Sean de Wolski
on 21 Jun 2011
If the code is well written there is no difference; the engine is the same just the parameters change. K_bc,M_bc, F.
F has to be a vector of forces corresponding to each DOF. Most will be zero. Figure out which DOF has your load applied and place it at that point in a column vector of zeros (zeros everywhere there is no force)
Chen Rex
on 21 Jun 2011
Sean de Wolski
on 21 Jun 2011
I would expect there to be three DOF per node: x,y,theta.
So for a vertical load at the 5th node if there are five nodes total:
F = zeros(15,1);
F(14) = P; %or negative P if it's down.
Chen Rex
on 21 Jun 2011
Sean de Wolski
on 21 Jun 2011
Two DOF corresponds to a truss element. You need three for a beam/frame.
Chen Rex
on 21 Jun 2011
Chen Rex
on 22 Jun 2011
Walter Roberson
on 22 Jun 2011
Sean is a student and has, I am sure, numerous things to do.
Sean de Wolski
on 22 Jun 2011
It's a gorgeous day to go water-skiing Walter !!
Chen Rex
on 22 Jun 2011
Adjal yassine
on 22 Apr 2012
0 votes
Salam alikom , hello I would like to tell you that the important thing is to understand to finite element method then it is easy to understand this program with Matlab , try to understand theory then the program, there is good book in this field , Matlab codes for finite element method and you will find many examples also there are many anlaytical methods for analysis the vibration of beam, one of this method is finite element method , what I can do with this method , we can give an apporiximate solution
Categories
Find more on Mathematics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!