Skip to content

Commit

Permalink
"Removed column geometry attributes, corrected moment assignment, and…
Browse files Browse the repository at this point in the history
… added test code"
  • Loading branch information
kunle009 committed Nov 7, 2024
1 parent 0aa09aa commit d438ba5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions FoundationDesign/combinedfootingdesign.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ def __init__(
self.column_1_horizontal_loads_ydir = [0, 0, 0]
self.column_1_moments_xdir = [0, 0, 0]
self.column_1_moments_ydir = [0, 0, 0]
self.column_1_geometry = []
self.column_2_geometry = []
self.column_2_axial_loads = [0, 0, 0]
self.column_2_horizontal_loads_xdir = [0, 0, 0]
self.column_2_horizontal_loads_ydir = [0, 0, 0]
Expand Down Expand Up @@ -671,7 +669,7 @@ def update_column_2_moments_ydir(
assert_number(imposed_moment_ydir, "Imposed moments in Y direction")
assert_number(wind_moments_ydir, "Wind moments in Y direction")

self.column_1_moments_ydir.clear()
self.column_2_moments_ydir.clear()
self.column_2_moments_ydir.extend(
(permanent_moment_ydir, imposed_moment_ydir, wind_moments_ydir)
)
Expand Down Expand Up @@ -3718,6 +3716,12 @@ def col_2_punching_shear_check_2d(self):
comb_footing.update_column_2_axial_loads(
permanent_axial_load=1400, imposed_axial_load=300
)
#print(comb_footing.total_moments_Y_direction_sls())
#comb_footing.update_column_1_moments_ydir(0,0,0)
#comb_footing.update_column_1_moments_xdir(0,0,0)
#comb_footing.update_column_2_moments_xdir(0,0,0)
#comb_footing.update_column_2_moments_ydir(0,0,0)
#print(comb_footing.pad_base_pressures_sls())
# Update foundation loads
comb_footing.foundation_loads(
foundation_thickness=850,
Expand Down

0 comments on commit d438ba5

Please sign in to comment.