From d438ba53b476ebfbee38fbfd1eb82b529638f17d Mon Sep 17 00:00:00 2001 From: Kunle Yusuf <89423261+kunle009@users.noreply.github.com> Date: Thu, 7 Nov 2024 07:19:41 +0100 Subject: [PATCH] "Removed column geometry attributes, corrected moment assignment, and added test code" --- FoundationDesign/combinedfootingdesign.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/FoundationDesign/combinedfootingdesign.py b/FoundationDesign/combinedfootingdesign.py index 5250af18..f21343f2 100644 --- a/FoundationDesign/combinedfootingdesign.py +++ b/FoundationDesign/combinedfootingdesign.py @@ -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] @@ -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) ) @@ -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,