Table of contents

Introduction to solid mechanics - stress

Watch the video by The Efficient Engineer.

A bar is loaded along its axis with a force PP. We can analyze the stress acting on the rod by cutting perpendicular to the rod and applying a free body diagram on one (or both sides).

From either side we get the force equilibrium

P=NP=N

The normal force is always defined positively out from the surface. Doing the cut such that the normal force is parallel to the axis we can formulate the ballance of external and internal forces, where the internal forces is defined as the sum of infinitely many small forces, which can instead be represented as the product of the average normal stress and the cross-sectional area or more rigorously:

N(x)=A(x)σ(x)d  AN\left(x\right)=\int_{A\left(x\right)} \sigma \left(x\right)d\;A

from which we get the definition of the normal stress

σ(x):=limΔA0ΔNΔA\sigma \left(x\right):=\lim_{\Delta A\to 0} \dfrac{\Delta N}{\Delta A}

or on average

σ=NA\sigma =\dfrac{N}{A}

where AA is the cross sectional area of the rod in mm2{\textrm{mm} }^2. Thus the unit of the stress is N/mm2N/{\textrm{mm} }^2 or MPa\textrm{MPa} (mega Pascal).

To summarize, a cut and a free body diagram will give rise to two equations

{Fi=0σi=NiAi\left\lbrace \begin{array}{l} \sum F_i =0\\ \sigma_i =\dfrac{N_i }{A_i } \end{array}\right.

Positive stress is defined as tension and negative as compression, these are known as tensile stress and compressive stress.

In stress analysis we are interested in the yield stress of a material, often we get this stress limit from a tensile test of a specimen. The yield stress is defined as the limit just before the material undergoes plastic deformation. The yield stress is the upper limit of the elastic region, which is the region in which the material will spring back to its undeformed shape when a load is removed.

See more information on the stress - strain diagram here.

Example 1 - dimensioning

The maximum allowable stress for a material is 150MPa and a rod needs to carry 8kN of tensile load, what is the minimum diameter of the rod in whole mm?

Solution

We have

σmax=NAA=NσmaxA=π(d/2)2\begin{array}{l} \sigma_{\max } =\dfrac{N}{A}\Rightarrow A=\dfrac{N}{\sigma_{\max } }\\ A={\pi \left(d/2\right)}^2 \end{array} d=2Nπσmax=28000150π8.2mmd=2\sqrt{\dfrac{N}{ {\pi \sigma }_{\max } } }=2\sqrt{\dfrac{8000}{150\cdot \pi } }\approx 8\ldotp 2\textrm{mm}

Now, if we were to round to the nearest whole mm, we'd get d=8.0mmd=8\ldotp 0\textrm{mm} and σ=8000π(8.0/2)2159MPa\sigma =\frac{8000}{\pi \cdot {\left(8\ldotp 0/2\right)}^2 }\approx 159\textrm{MPa} which is more than the allowable stress, so we need to round up to the nearest mm instead! With d=9.0  mmd=9\ldotp 0\;\textrm{mm} we get

σ=8000π(9.0/2)2126MPa\sigma =\dfrac{8000}{\pi \cdot {\left(9\ldotp 0/2\right)}^2 }\approx 126\textrm{MPa}

and the factor of safety then becomes

η=σallowσ=1501261.19\eta =\dfrac{\sigma_{\textrm{allow} } }{\sigma }=\dfrac{150}{126}\approx 1\ldotp 19

which means that the design with a diameter of 9mm can carry around 19% more load before its maximum allowable stress is

Example 2 - Stress computation

A bar is made up of two cross sections as shown in the figure. Cross section 1 has an area A1=10  mm2A_1 =10{\;\textrm{mm} }^2 and cross section 2 has an area A2=2A1  mm2A_2 =2A_1 \;{\textrm{mm} }^2. The applied tension force is P=10P=10kN. Determine the stress in both parts. Which part has the highest stress?

Solution

Two cuts and Free body diagrams

Cut 1 at (1):

and cut 2 at (2):

clear
syms N_1 N_2 A_1 A_2 P sigma_1 sigma_2

ekv = [N_1-P==0; N_2-P==0 % Equilibrium
       sigma_1 == N_1/A_1; sigma_2 == N_2/A_2
       P == 10e3
       A_1 == 10^2; A_2 == 2*A_1]
ekv =
(N1P=0N2P=0σ1=N1A1σ2=N2A2P=10000A1=100A2=2A1) \def\arraystretch{1.5} \left(\begin{array}{c} N_1 -P=0\\ N_2 -P=0\\ \sigma_1 =\frac{N_1 }{A_1 }\\ \sigma_2 =\frac{N_2 }{A_2 }\\ P=10000\\ A_1 =100\\ A_2 =2\,A_1 \end{array}\right)
[N_1, N_2, sigma_1, sigma_2, P, A_1, A_2] = solve(ekv, [N_1, N_2, sigma_1, sigma_2, P, A_1, A_2])
N1=10000N,  N2=10000N  σ1=100MPa,  σ2=50MPa N_{1}=10000\text{N},\;N_{2}=10000\text{N}\;\sigma_{1}=100\text{MPa},\;\sigma_{2}=50\text{MPa}
A1=100mm2,  A2=200mm2,  P=10000N A_{1}=100\text{mm}^{2},\;A_{2}=200\text{mm}^{2},\;P=10000\text{N}

Here we see another way of using solve, we simply input all the information as a list of equations and ask to solve for the same amount of variables as the number of equations.

Conclusion: σ1=100\sigma_1 =100 MPa and σ2=50\sigma_2 =50 MPa. The stress is higher in the narrow region, as expected, since there is less material to balance the external force.

Example 3

Same as last example, but with more external forces.

Solution: Here we will have two cuts and three bodies according to the free body diagram

From these we get the equations

clear
syms N_1 N_2 A_1 A_2 P sigma_1 sigma_2 R

ekv = [N_1-R==0; N_2-3*P-N_1==0; 2*P-N_2==0
       sigma_1==N_1/A_1; sigma_2==N_2/A_2]
ekv =
(N1R=0N2N13P=02PN2=0σ1=N1A1σ2=N2A2) \def\arraystretch{1.5} \left(\begin{array}{c} N_1 -R=0\\ N_2 -N_1 -3\,P=0\\ 2\,P-N_2 =0\\ \sigma_1 =\frac{N_1 }{A_1 }\\ \sigma_2 =\frac{N_2 }{A_2 } \end{array}\right)
[N_1, N_2, R, sigma_1, sigma_2] = solve(ekv, [N_1, N_2, R, sigma_1, sigma_2])
N1=P,N2=2P,R=P N_1=-P,\quad N_2=2P, \quad R=-P
σ1=PA1,σ2=2PA2 \sigma_1 = -\frac{P}{A_1 }, \quad \sigma_2=\frac{2\,P}{A_2 }

Here we see that we get compression stress in 1 since σ1=PA1\sigma_1 =-\frac{P}{A_1 }, the largest stress is in 2 though since the magnitude of that tensile stress is 2P/A22P/A_2.

Example 4 - Sausage stress - Cylinder stress

It is BBQ season, and always a time for structural analysis. In this case we wonder why the Bratwurst always tends to crack along the longest axis and not along the width.

Solution: We model the sausage as a cylinder where the length is much larger than the radius. We will use a cylindrical coordinate system with φ\varphi defining the tangential direction, rr the radial direction and zz the axial direction.

Let LL denote the length, let R<<LR << L denote the radius and t<<Rt << R the thickness. Furthermore, let pp denote the inner pressure [N/mm2]\left\lbrack N/{\textrm{mm} }^2 \right\rbrack. Now, let's slice the sausage along its length and width.

Now we formulate the equilibrium equations

φ:σφ2hL+σφ22RtRt<<hL2pRL=0z:σz2πRtpπR2=0 \def\arraystretch{2.0} \begin{array}{l} \varphi :\sigma_{\varphi } 2hL+\sigma_{\varphi } 2\cdot 2\underset{Rt << hL}{\underbrace{Rt} } - 2pRL=0\\ z:\sigma_z 2\pi Rt-p\pi R^2 =0 \end{array}

since Rt<<hLRt << hL we can neglect the second term in the first equation.

clear
syms sigma_varphi t L R p sigma_z
ekv = [sigma_varphi*2*t*L - p*2*R*L == 0
       sigma_z*2*pi*R*t - p*pi*R^2 == 0]
ekv =
(2Ltσφ2LRp=02πRtσzπR2p=0) \left(\begin{array}{c} 2\,L\,t\,\sigma_{\varphi } -2\,L\,R\,p=0\\ 2\,\pi \,R\,t\,\sigma_z -\pi \,R^2 \,p=0 \end{array}\right)
[sigma_varphi, sigma_z] = solve(ekv,[sigma_varphi, sigma_z])
σφ=Rpt \sigma_\varphi = \frac{R\,p}{t}
σz=Rp2t \sigma_z = \frac{R\,p}{2\,t}

We note that σφ=2σz\sigma_{\varphi } =2\sigma_z, meaning if the Bratwurst cracks, it will crack along the axial direction.

Example 5

The 400 kg uniform bar AB is supported by a steel rod AC and roller at B. It supports a distributed load of 3kN/m3\textrm{kN}/\mathrm{m}. Determine the required diameter of the rod AC. The yield stress of the material is 345 MPa and the factor of safety is 1.2.

Solution:

The distributed load can be replaced by a point load acting from the center of the distributed load.

Q=3[kN/m]2[m]=6  kNG=m  g\begin{array}{l} Q=3\left\lbrack \textrm{kN}/\mathrm{m}\right\rbrack \cdot 2\left\lbrack \mathrm{m}\right\rbrack =6\;\textrm{kN}\\ G=m\;g \end{array}

Then we have simply

ΣF=0ΣMB=0\begin{array}{l} \Sigma F=0\\ \Sigma M_B =0 \end{array}
clear
syms F R
Q = 6e3;
G = 400*9.82;
ekv = [F - Q - G + R == 0
       Q*1 + G*1 - F*2 == 0]
ekv =
(F+R9928=099282F=0) \left(\begin{array}{c} F+R-9928=0\\ 9928-2\,F=0 \end{array}\right)
[F,R] = solve(ekv,[F,R])
F =
4964 4964
R =
4964 4964
σallow=ησy=η=1.21.2345\sigma_{\textrm{allow} } ={\eta \sigma }_y \overset{\eta =1\ldotp 2}{=} 1\ldotp 2\cdot 345
sigma = 345/1.2
sigma = 287.5000
σ=FA=Fπ(d/2)2\sigma =\dfrac{F}{A}=\dfrac{F}{ {\pi \left(d/2\right)}^2 }
syms d positive
d = solve(sigma == F/(pi*(d/2)^2));
double(d)
ans = 4.6887

Answer: The diameter should be at least 5mm