How to calculate stress on a beam using MATLAB?

  • Context: MATLAB 
  • Thread starter Thread starter AqibH
  • Start date Start date
  • Tags Tags
    Beam Matlab Stress
Click For Summary

Discussion Overview

The discussion revolves around calculating stress and strain on a hollow rectangular aluminum beam using MATLAB, including the creation of a stress-strain curve. Participants explore the necessary parameters and methods for visualizing the beam and applying a load in the context of structural analysis.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant outlines the problem of calculating stress and strain on a hollow rectangular aluminum beam fixed at both ends, specifying dimensions and load.
  • Another participant suggests consulting "Roark - Formulas for stress and strain" and "Timoshenko - Strength of materials" for reference.
  • Concerns are raised about the omission of the dimensions of the hollow portion of the beam, emphasizing the need for clarity in the problem setup.
  • It is noted that MATLAB functions as a calculation tool that requires a proper understanding of the problem to yield correct results.
  • A participant asserts that the dimensions of the hollow portion were intentionally omitted and argues that they are not critical for the discussion at hand.
  • Another participant recommends reviewing MATLAB documentation for guidance on using the software effectively.

Areas of Agreement / Disagreement

Participants express differing views on the importance of specifying the dimensions of the hollow portion of the beam, with some emphasizing its necessity while others argue it is not relevant for the current discussion. The overall discussion remains unresolved regarding the best approach to visualize and calculate the stress and strain in MATLAB.

Contextual Notes

There are limitations regarding the assumptions made about the beam's dimensions and the clarity of the problem setup, which may affect the calculations and visualizations discussed.

AqibH
Messages
16
Reaction score
0
Hey all,

I want to calculate the stress and strain on a beam using MATLAB and I would also like to make a stress-strain curve as well. The problem is as follows:

I have a hollow rectangular aluminum beam that is fixed at both ends. I have the material properties and the dimensions of the beam. The beam is 60 cm in z (length), 5 cm in x (width), and 3 cm in y (depth?). There is a load on this beam at let's say 40 cm from the wall (the other end is supported by another beam attached to ground). The load is approximately (40kg)(9.8m/s^2). Is there any way I can make a figure of this beam in MATLAB indicating where the load is applied and then calculate the stress and also plot stress-strain curve? Or if anyone has any references that would also help greatly. Thanks in advance!
 
Physics news on Phys.org
Roark - Formulas for stress and strain - any edition .

Timoshenko - Strength of materials part 1 - any edition .
 
AqibH said:
Hey all,

I want to calculate the stress and strain on a beam using MATLAB and I would also like to make a stress-strain curve as well. The problem is as follows:

I have a hollow rectangular aluminum beam that is fixed at both ends. I have the material properties and the dimensions of the beam. The beam is 60 cm in z (length), 5 cm in x (width), and 3 cm in y (depth?). There is a load on this beam at let's say 40 cm from the wall (the other end is supported by another beam attached to ground). The load is approximately (40kg)(9.8m/s^2). Is there any way I can make a figure of this beam in MATLAB indicating where the load is applied and then calculate the stress and also plot stress-strain curve? Or if anyone has any references that would also help greatly. Thanks in advance!
You forgot the dimensions of the hollow portion of the beam.

MATLAB is just a calculation tool, like a calculator, essentially. It has a rather specialized programming language to follow, in order to tell it what you want to calculate.

You don't just throw a bunch of numbers and formulas at MATLAB and hope that it will provide correct results. You must first understand what you are trying to do.
 
SteamKing said:
You forgot the dimensions of the hollow portion of the beam.

MATLAB is just a calculation tool, like a calculator, essentially. It has a rather specialized programming language to follow, in order to tell it what you want to calculate.

You don't just throw a bunch of numbers and formulas at MATLAB and hope that it will provide correct results. You must first understand what you are trying to do.
I know what MATLAB is and what it is capable of. I did not forget the dimensions of the hollow portion, I left it out on purpose. I do not know how to make a figure of this beam in MATLAB and show where the load is being applied. I can get this help without mentioning those dimensions. And really, the dimensions are meaningless. They are so easily changed it does not matter for this discussion. You must first stop assuming and fully think through your responses
 
AqibH said:
I know what MATLAB is and what it is capable of. I did not forget the dimensions of the hollow portion, I left it out on purpose. I do not know how to make a figure of this beam in MATLAB and show where the load is being applied. I can get this help without mentioning those dimensions. And really, the dimensions are meaningless. They are so easily changed it does not matter for this discussion. You must first stop assuming and fully think through your responses
There's always a set of documentation on MATLAB you can read. Try that.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
10K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 4 ·
Replies
4
Views
7K
Replies
6
Views
3K
Replies
1
Views
2K