Skip to content

Commit

Permalink
`Updated Combined Footing Design code in combinedfootingdesign.py and…
Browse files Browse the repository at this point in the history
… Combined_Footing_Mosley_bungey.ipynb with changes to print statements and execution counts.`
  • Loading branch information
kunle009 committed Dec 31, 2024
1 parent 6863f4b commit df2fa1a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 28 deletions.
10 changes: 6 additions & 4 deletions FoundationDesign/combinedfootingdesign.py
Original file line number Diff line number Diff line change
Expand Up @@ -3738,7 +3738,9 @@ def col_2_punching_shear_check_2d(self):
bar_diameterX=16,
bar_diameterY=16,
)
print(comb_footing_design.area_of_steel_reqd_X_dir())
print(comb_footing_design.area_of_steel_reqd_Y_dir())
print(comb_footing_design.reinforcement_prov_flexure_X_dir_TOP())
print(comb_footing_design.reinforcement_prov_flexure_X_dir_Bottom())
#print(comb_footing_design.area_of_steel_reqd_X_dir())
#print(comb_footing_design.area_of_steel_reqd_Y_dir())
#print(comb_footing_design.reinforcement_prov_flexure_X_dir_TOP())
#print(comb_footing_design.reinforcement_prov_flexure_X_dir_Bottom())
print(comb_footing.pad_base_pressures_sls())

55 changes: 31 additions & 24 deletions examples/Combined_Footing_Mosley_bungey.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@
{
"data": {
"text/plain": [
"'PASS - Presumed bearing capacity exceeds design base pressure'"
"278.035"
]
},
"execution_count": 12,
Expand All @@ -1199,7 +1199,7 @@
}
],
"source": [
"comb_footing.bearing_pressure_check_sls()['status']\n",
"comb_footing.bearing_pressure_check_sls()['maximum_pad_pressure']\n",
"# This shows the combined footing is okay"
]
},
Expand Down Expand Up @@ -9371,7 +9371,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 26,
"metadata": {},
"outputs": [
{
Expand All @@ -9393,7 +9393,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 27,
"metadata": {},
"outputs": [
{
Expand All @@ -9402,7 +9402,7 @@
"'Provide H16mm bars spaced at 150.0mm c/c BOTTOM.The area provided is 1340mm²/m parallel to the 4.6m side'"
]
},
"execution_count": 28,
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -9421,7 +9421,7 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 28,
"metadata": {},
"outputs": [
{
Expand All @@ -9443,7 +9443,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 29,
"metadata": {},
"outputs": [
{
Expand All @@ -9452,7 +9452,7 @@
"'Provide H16mm bars spaced at 150.0mm c/c TOP. The area provided is 1340mm²/m parallel to the 2.3m side'"
]
},
"execution_count": 31,
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -9463,7 +9463,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 30,
"metadata": {},
"outputs": [
{
Expand All @@ -9472,7 +9472,7 @@
"'Provide H16mm bars spaced at 150.0mm c/c Bottom.The area provided is 1340mm²/m parallel to the 2.3m side'"
]
},
"execution_count": 32,
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -9483,7 +9483,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 31,
"metadata": {},
"outputs": [
{
Expand All @@ -9492,7 +9492,7 @@
"3990.0"
]
},
"execution_count": 33,
"execution_count": 31,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -9503,7 +9503,7 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": 32,
"metadata": {},
"outputs": [
{
Expand All @@ -9512,7 +9512,7 @@
"'The design shear resistance of 655.528kN exceeds the design shear force of 543.54kN - PASS!!!'"
]
},
"execution_count": 34,
"execution_count": 32,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -9523,7 +9523,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 33,
"metadata": {},
"outputs": [
{
Expand All @@ -9532,7 +9532,7 @@
"'The design shear resistance of 1318.526kN exceeds the design shear force of 358.27kN - PASS!!!'"
]
},
"execution_count": 35,
"execution_count": 33,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -9543,7 +9543,7 @@
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": 34,
"metadata": {},
"outputs": [
{
Expand All @@ -9552,7 +9552,7 @@
"1.5"
]
},
"execution_count": 36,
"execution_count": 34,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -9563,7 +9563,7 @@
},
{
"cell_type": "code",
"execution_count": 37,
"execution_count": 35,
"metadata": {},
"outputs": [
{
Expand All @@ -9572,7 +9572,7 @@
"'The maximum punching shear resistance of 4.488N/mm² exceeds the design punching shear stress of 2.565N/mm² - PASS!!!'"
]
},
"execution_count": 37,
"execution_count": 35,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -9583,13 +9583,13 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'The maximum punching shear resistance of 4.488N/mm² exceeds the design punching shear stress of 2.729N/mm² - PASS!!!'"
"'The maximum punching shear resistance of 4.488N/mm² exceeds the design punching shear stress of 2.565N/mm² - PASS!!!'"
]
},
"execution_count": 38,
Expand All @@ -9603,7 +9603,7 @@
},
{
"cell_type": "code",
"execution_count": 39,
"execution_count": 41,
"metadata": {},
"outputs": [
{
Expand All @@ -9612,14 +9612,21 @@
"'The maximum punching shear resistance of 0.703N/mm² exceeds the design punching shear stress of 0.335N/mm² - PASS!!!'"
]
},
"execution_count": 39,
"execution_count": 41,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"comb_footing_design.col_2_punching_shear_check_1d()['status']"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit df2fa1a

Please sign in to comment.