Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
16 views

Assignment 7 (Python)

The document provides steps to calculate the area of reinforcement for a one-way RC slab given design bending moment, grade of concrete and steel, depth of slab, and diameter of bars including comparing calculated reinforcement area and spacing to minimum requirements.

Uploaded by

Shivam Singh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Assignment 7 (Python)

The document provides steps to calculate the area of reinforcement for a one-way RC slab given design bending moment, grade of concrete and steel, depth of slab, and diameter of bars including comparing calculated reinforcement area and spacing to minimum requirements.

Uploaded by

Shivam Singh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Calculate the area of reinforcement for a one-way RC slab. Given the following data.

1) Design bending moment, Mu in N.mm


2) Grade of materials – grade of concrete, fck and grade of steel, fy in MPa
3) Overall depth of slab, D in mm
4) Effective depth of slab, d in mm
5) Diameter of bar, db in mm

Sol:

a) The area of reinforcement in slab, Ast is calculated by the expression

𝑓𝑐𝑘 4.6. 𝑀𝑢
𝐴𝑠𝑡 = [1 − √1 − ] 𝑏𝑑
2. 𝑓𝑦 𝑓𝑐𝑘. 𝑏𝑑2

b = 1000 mm in the above equation.

b) The value of Ast is to be compared with Ast min

Ast min = Area of minimum reinforcement in slab = 0.12% bD

If Ast < Ast min, then provide Ast

c) Spacing of reinforcement, Sp =
𝐴𝑟𝑒𝑎 𝑜𝑓 𝑑𝑏
𝑆𝑝 = 𝑋1000
𝐴𝑠𝑡

d) The value of Sp is compared with maximum permissible spacing

If Sp > 350 mm, the Sp = 350 mm

Python code
import math
print("_____________________________________________________________")
print("Program to calculate the area of reinforcement in a RC slab")
print("_____________________________________________________________")
print("Input data required")
print("Grade of materials - fck and fy")
print("Design bending moment, Mu")
print("Depth of slab, d")
print("Diameter of re-bars,db")
print("_____________________________________________________________")
fck=float(input("Enter the grade of concrete, fck in MPa = "))
print("fck = ",fck," MPa")
print("_____________________________________________________________")
fy=float(input("Enter the grade of steel, fy in MPa = "))
print("fy = ",fy," MPa")
print("_____________________________________________________________")
d=float(input("Enter the effective depth of slab in mm = "))
print("Effective depth = ",d,"mm")
print("_____________________________________________________________")
Mu=float(input("Enter the design bending moment in N.mm = "))
print("Mu = ",Mu," N.mm")
print("_____________________________________________________________")
db=float(input("Enter the diameter of bar in mm = "))
print("Diameter of bar = ",db," mm")
print("_____________________________________________________________")
Ast=float(0.50*fck/fy)*(1-math.sqrt(1-4.6*Mu/(fck*1000*d*d)))*1000*d
Amin=float(0.0012*1000*d)
print("Area of minimum reinforcement = ",Amin,"sq.mm")
print("Area of reinforcement calculated =",round(Ast,2)," sq.mm")
if Ast<Amin:
print("Area of reinforcement calculated is less than the
permissible limit of 0.12% of bd")
print("Area of reinforcement to be provided = ", Amin," sq.mm")
elif Ast>Amin:
print("Area of reinforcement, Ast = ", round(Ast,2)," sq.mm")
Sp=((3.14*db**2/4)/Ast)*1000
print("Spacing of",db," mm bars = ",round(Sp,0)," mm")
if Sp>350:
print("Spacing exceeds permissible limit of 350 mm")
print("Provide",db," mm bars at 350 mm c/c")
elif Sp<=350:
print("Provide",db," mm bars at",round(Sp,0), " mm c/c")

You might also like