Programming for Engineering Mechanicsand Structural Engineering
Programming for Engineering Mechanicsand Structural Engineering
Centroids of Areas
n
X Z
A= Ai = dA
i=1 A
n
X Z
A z̄ = z̄iAi = z dA
i=1 A
n
X Z
A ȳ = ȳiAi = y dA
i=1 A
I = I¯ + A d2⊥
tw = 10 mm
Web Centroid
hw = 260 mm
Section Centroid
b1 = b2 = 200 mm
Percent Contribution:
• Top flange: 46%
• Bottom flange: 46%
• Web: 8.5%
Beam Deflection
I appears in the moment-curvature differential
equation that is used to determine the deflection
of a beam for an internal bending moment M
due to transverse loads and applied couples.
d2v M
2
=
dx EI
In summary,
1. In the flanges:
t3 = 12 mm
Web Centroid
h = 400 mm b3 = hweb = 367 mm
Section Centroid yG
yG, top = h − yG
b1t31
Iz,1 = + A1(y1 − yG)2
12
b2t32
Iz,2 = + A2(y2 − yG)2
12
t3b33
Iz,3 = + A3(y3 − yG)2
12
Iz = Iz,1 + Iz,2 + Iz,3
t1b31
Iy,1 =
12
t2b32
Iy,2 =
12
b3t33
Iy,3 =
12
Iy = Iy,1 + Iy,2 + Iy,3
% Composite centroid
yG = (A1 * y1 + A2 * y2 + A3 * y3) / A
yG_top = h - yG;
# Composite centroid
yG = (A1 * y1 + A2 * y2 + A3 * y3) / A
yG_top = h - yG
N = length(b1);
disp(Results);
Section 3:
Centroid yG (from bottom): 2.455e+02 mm
Centroid yG_top (from top): 2.545e+02 mm
Area: 1.877e+04 mm^2
Qz (above centroid): 1.852e+06 mm^3
Qz (below centroid): 1.852e+06 mm^3
Qy (about centroid): 5.119e+05 mm^3
Iz (about centroid): 8.266e+08 mm^4
Iy (about centroid): 1.094e+08 mm^4
Section modulus S: 3.248e+06 mm^3
Moment at Yield EN S235, Mz_Y: 7.632e+05 kN-m
Moment at Yield A36, Mz_Y: 8.119e+05 kN-m
Section 4:
Centroid yG (from bottom): 2.000e+02 mm
Centroid yG_top (from top): 2.000e+02 mm
Area: 1.402e+04 mm^2
Qz (above centroid): 1.125e+06 mm^3
Qz (below centroid): 1.125e+06 mm^3
Qy (about centroid): 3.666e+05 mm^3
Iz (about centroid): 4.039e+08 mm^4
Iy (about centroid): 7.205e+07 mm^4
Section modulus S: 2.020e+06 mm^3
Moment at Yield EN S235, Mz_Y: 4.746e+05 kN-m
Moment at Yield A36, Mz_Y: 5.049e+05 kN-m
600
b1=300.0
500 Top Flange
b1=250.0 b1=300.0
400 Top Flange Top Flange
b1=200.0
Top Flange
300
h=500.0
y =245.5
mm
Web G
h=400.0
h=400.0
y =199.0 y =200.0
G G
h=350.0
200 Web y =169.3 Web
Web G
100
-100
-200
N = length(b1);
y1 = h - t1/2;
y2 = t2/2;
y3 = t2 + b3/2;
S_top = Iz ./ yG_top;
S_bot = Iz ./ yG;
S = min(S_top, S_bot);
writetable(Results, 'sections_results.xlsx');
My LinkedIn Profile