Adoption of Programming Codes in The Design of Earth Retaining Wall in Different Backfill Conditions
Adoption of Programming Codes in The Design of Earth Retaining Wall in Different Backfill Conditions
Adoption of Programming Codes in The Design of Earth Retaining Wall in Different Backfill Conditions
ABSTRACT:The earth retaining wall is the most important structure in various construction projects of civil
engineering. It involves intricate design work and the manual calculations can sometimes become tedious and
time taking. Also the accuracy and precision of the design becomes very important when it comes to big
structures such as bridges and dams. Therefore, a lot of companies and construction firms have started using
various user friendly software. We, through this paper, want to make an attempt to use programming languages
to make calculations of the design of retaining wall much more easy and swift.
KEYWORDS: Retaining wall design, Active earth pressure, Software programming.
I. INTRODUCTION
Retaining walls are used to retain earth or other loose material. These walls are commonly constructed
in the places namely construction of building basement, as wing wall or abutment in bridge construction and in
the construction of embankment. All these types of construction works require intricate calculations with
accuracy and precision. So to make these calculations much easy and appropriate, the use of a programming
language known as Python is used here. Python as a coding language is very useful as it gives Learning Ease, it
has User-friendly Data Structures: and the Productivity and Speed is very quick. This paper deals with the
design of retaining wall with horizontal backfill using Python to get more accurate data.
II. METHODOLOGY
By using Python programming language we have designed retaining wall in different backfill conditions.
2.1Case 1: Retaining wall with dry horizontal backfill
Problem 1:
Total height of retaining wall = 4.4m
Width of base slab = 2.5m
Thickness of base slab = 0.4m
Cantilever projection on toe side = 0.8m
Cantilever projection on heel side = 1.4m
Angle of shearing resistance = 30degrees
Unit weight of soil = 18
Soil Bearing Capacity = 150
d1 = t*1000-cc
Atoe = (0.5*fck*1000*d1)/fy*(1 - math.sqrt(1-((4.6*BMtoe*1000000)/(fck*1000*d1*d1))))
Aheel = (0.5*fck*1000*d1)/fy*(1 - math.sqrt(1-((4.6*BMheel*1000000)/(fck*1000*d1*d1))))
print 'Area of steel at toe section is',Atoe
print 'Area of steel at heel section is',Aheel
Figure 2 shows the required depth of foundation, pressures at various sections of the retaining wall and area of
steel required.
3.1 Program for design of retaining wall structure under fully submerged condition
import math
print 'Enter the height of retaining wall'
H = input()
print 'Enter width of base slab'
b = input()
print 'Enter the thickness of base slab'
t = input()
print 'Enter projection on toe side'
b1 = input()
print ' Enter angle of shear resistance'
phi = input()
print ' Enter unit weight of soil(in kN/cumec)'
gama = input()
print ' Enter unit weight of water(in kN/cumec)'
gama1 = input()
print ' Enter soil bearing capacity'
q = input()
print ' Enter grade of concrete'
fck = input()
print ' Enter grade of steel'
fy = input()
print ' Enter clear cover'
cc = input()
gama2 = gama-gama1
b2 = b - b1 - 0.1 - 0.2
ka = (1 - math.sin(math.radians(phi)))/(1 + math.sin(math.radians(phi)))
Df = (q/gama2) * ka * ka
print 'Depth of foundation is ',Df
h=H-t
Pa = 0.5 * (ka*gama2*h+ka*gama1*h)*h
Pau = 1.5 * Pa
Mu = Pau * h/3
print 'Bending moment due to active earth pressure on retaining wall in kN-m is',Mu
d = math.sqrt(Mu*1000000/(0.138*fck*1000))
print 'Effective depth is',d
Astem = (0.5*fck*1000*d)/fy*(1 - math.sqrt(1-((4.6*Mu*1000000)/(fck*1000*d*d))))
print 'Area of steel of stem is',Astem
W1 = 0.2*h*25
W2 = 0.5*0.1*h*25
W3 = b*t*25
W4 = (2.5 - b1 - 0.3)*h*18
W = W1 + W2 + W3 + W4
Wu = 1.5*W
Pa1 = 0.5 * ((ka*gama2*H)+(ka*gama1*H))*H
Pa1u = 1.5 * Pa1
OM = (Pa1 * H)/3
X1 = b1 + 0.1 + 0.1
X2 = b1 + (2 *0.1)/3
X3 = b/2
X4 = b1 + 0.1 + 0.2 + b2/2
RM = W1*X1 + W2*X2 + W3*X3 + W4*X4
RM1 = RM - OM
x = RM1/W
e = b*0.5 - x
print 'eccentricity is ',e
Smax = (Wu*(1+(6*e)/b))/b
Smin = (Wu*(1-(6*e)/b))/b
print 'Maximum pressure is',Smax
print 'Minimum pressure is',Smin
Px = (((Smax-Smin)*(b-b1))/b)+Smin
Py = (((Smax-Smin)*(b-b2))/b)+Smin
Figure 3: shows the required depth of foundation, pressures at various sections of the retaining wall and area of
steel required.
IV. CONCLUSION
By adoption of the Python programming language, it is easy to solve complex problems like the design
of retaining wall in different conditions with accuracy and precisions. Itis a quicker way of solving time taking
problem. Also the use of a modern software such as python enables the civil engineer to construct the structure
according to the demands of the clients.
REFERENCES
[1]. Research Paper on Python: A Programming Language for Software Integration & Development by M.F.Sanner (The Scripps
Research Institute, La Jolla)
[2]. Wikipedia.
[3]. Retaining wall: A building guide and design by Tina Skinner.
[4]. Basics of Retaining Wall Design by Huge Brooks and John P Nielsen.
[5]. Learning Python Design by Gennadiy Zlobin.