コード例 #1
0
ファイル: example3.py プロジェクト: mainqueg/steeldesign
import steeldesign as sd
import matplotlib.pyplot as plt

Long = [
    300, 500, 700, 1000, 1200, 1500, 1800, 2000, 2200, 2500, 2800, 3000, 3500,
    5000
]

# creo un perfil con refuerzo de labios
p1 = sd.c_w_lps_profile(H=100, B=50, D=12, t=1.5, r_out=3.75)
# creo un acero
s = sd.steel(FY=337,
             E0=180510.0,
             nu=0.3,
             n=13.5,
             offset=0.002,
             name='SA304_1_4Hard')

FTB = []
FBx = []
FBy = []
TB = []

for L in Long:
    # defino parametros de diseño
    dp = sd.designParameters(Kx=0.5, Ky=0.5, Kz=0.5)
    # creo un miembro
    m = sd.member(L=L, profile=p1, steel=s, designParameters=dp)
    # creo el analisis
    analysis = sd.ASCE_8_02(m)
    # calculo admisibles
コード例 #2
0
ファイル: example9b.py プロジェクト: mainqueg/steeldesign
'''Example 3.1 c-Section wlps (LRFD). 

Lin, Shin-Hua; Yu, Wei-wen; and Galambos, Theodore V., "Illustrative examples based on the ASCE
standard specifcation for the design of cold-formed stainless steel structural members" (1991). Center
for Cold-Formed Steel Structures Library. p44

'''
import steeldesign as sd

# creo perfil
p1 = sd.c_w_lps_profile(H=6.0, B=1.625, D=0.60, t=0.06, r_out=(0.06 + 3 / 32))
# creo material
s = sd.steel(FY=50,
             E0=27000,
             nu=0.3,
             n=4.58,
             offset=0.002,
             name='SA301_1_4Hard')
# parametros de diseño
dp = sd.designParameters()
# creo un miembro
m = sd.member(L=100, profile=p1, steel=s, designParameters=dp)
# creo el analisis
analysis = sd.ASCE_8_02(m)

fiMn, midC = analysis.s3_3_1()
print('Mn_no =', round(midC['Mn_no'], 2), '| fiMn_no =',
      round(midC['fiMn_no'], 2))

# Valores de referencia:    Mn_no = 51.45 | fiMn_no = 46.31
# Valores de steeldesign:   Mn_no = 51.38 | fiMn_no = 46.24
コード例 #3
0
ファイル: example11.py プロジェクト: mainqueg/steeldesign
'''Example 22.1 c-Section wlps (LRFD). 

Lin, Shin-Hua; Yu, Wei-wen; and Galambos, Theodore V., "Illustrative examples based on the ASCE
standard specifcation for the design of cold-formed stainless steel structural members" (1991). Center
for Cold-Formed Steel Structures Library. p257

'''
import steeldesign as sd

# creo perfil
p1 = sd.c_w_lps_profile(H=8.0, B=3, D=0.80, t=0.105, r_out=(0.105 + 3 / 16))
# creo material
s = sd.steel(FY=50,
             E0=27000,
             nu=0.3,
             n=4.58,
             offset=0.002,
             name='SA301_1_4Hard')
# design parameters (default)
dp = sd.designParameters()
# creo un miembro
m = sd.member(L=16 * 12, profile=p1, steel=s, designParameters=dp)
# creo el analisis
analysis = sd.ASCE_8_02(m)
# solicito analisis segun 3.4
fiPn, midC = analysis.s3_4()
print('3.4 Concentrically Loaded Compression Members')
print('fiPn =', round(fiPn, 2), '| Pn =', round(midC['Fn'] * midC['Ae'], 2),
      '| Pno =', round(midC['Pno'], 2), '| Ae_no =', round(midC['Ae_no'], 3))

# Valores de referencia:    fiPn = 10.97 | Pn = 12.91 | Pno = 54.80 | Ae_no = 1.096
コード例 #4
0
ファイル: example10.py プロジェクト: mainqueg/steeldesign
'''Example 4.5 c-Section wlps (LRFD). 

Wei-wen Yu; Chen, Helen "Cold-formed steel design" (2020). WILEY. p137

'''
import steeldesign as sd

# creo perfil
p1 = sd.c_w_lps_profile(H=10.0,
                        B=3.5,
                        D=0.720,
                        t=0.075,
                        r_out=(0.075 + 3 / 32))
# creo material
s = sd.steel(FY=50,
             E0=27000,
             nu=0.3,
             n=4.58,
             offset=0.002,
             name='SA301_1_4Hard')
# parametros de diseño
dp = sd.designParameters()
# creo un miembro
m = sd.member(L=100, profile=p1, steel=s, designParameters=dp)
# creo el analisis
analysis = sd.ASCE_8_02(m)
Se, nEffAreas = analysis.s3_Se_effective(50)
print(Se)

# Valor de referencia 3.211
# Valor de steeldesign 3.196
コード例 #5
0
'''
Revised ASCE specification for the design of cold-formed stainless steel
Shin-Hua Lina, Wei-Wen Yu
Engineering Structures 2005
doi:10.1016/j.engstruct.2005.03.007

'''

import steeldesign as sd

# creo un perfil c on refuerz ode labios
p1 = sd.c_w_lps_profile(H=88.9, B=50.8, D=22.86, t=2.67, r_out=(4.76 + 2.67))
# creo un acero
s = sd.steel(FY=344.8,
             E0=186200,
             nu=0.3,
             n=4.58,
             offset=0.002,
             name='SA304_1_4_hard')
# defino parametros de diseño
dp = sd.designParameters()
# creo un miembro
m = sd.member(L=1828.8, profile=p1, steel=s, designParameters=dp)
# creo el analisis
analysis = sd.ASCE_8_02(m)
# calculo admisibles #
fiPn, midC = analysis.s3_4()

print('fiPn =', round(fiPn, 2), '| Fn_FBy =', round(midC['Fn_FBy'], 2),
      '| Fn_FTB =', round(midC['Fn_FTB'], 2), '| Ae', round(midC['Ae'], 2))
コード例 #6
0
ファイル: example5.py プロジェクト: mainqueg/steeldesign
'''Example 18.1 I-Section (LRFD). 

Lin, Shin-Hua; Yu, Wei-wen; and Galambos, Theodore V., "Illustrative examples based on the ASCE
standard specifcation for the design of cold-formed stainless steel structural members" (1991). Center
for Cold-Formed Steel Structures Library. p230

'''

import steeldesign as sd

# creo un perfil con refuerzo de labios
p1 = sd.I_builtup_c_w_lps_profile(H= 6.0, B= 2.50, D= 0.82, t= 0.135, r_out= (0.135+3/16) )
p2 = sd.c_w_lps_profile(H= 6.0, B= 2.5, D= 0.82, t= 0.135, r_out= (0.135+3/16) )
p2.calculate(loadProfileFromDB=True)
# creo un acero
s = sd.steel(FY= 30, E0= 27000, nu= 0.3, n= 9.7, offset= 0.002, name= 'SA409_long')
# defino parametros de diseño
dp = sd.designParameters(Lx= 12*12, Ly= 6*12, Lz= 6*12)
# creo un miembro
m = sd.member(L= 6*12, profile= p1, steel= s, designParameters= dp)
p1.J = 2*p2.J
# creo el analisis
analysis = sd.ASCE_8_02(m)
# calculo admisibles #
fiPn, midC = analysis.s3_4()

print('fiPn =', round(fiPn,2),'| Pn =', round(midC['Fn']*midC['Ae'],2))
print('Esbeltez de', m.profile.elements[1]['name'],'=', m.profile.elements[1]['sec 3.4-fiPn']['esbeltez'])
print('Esbeltez de', m.profile.elements[2]['name'],'=', round(m.profile.elements[2]['sec 3.4-fiPn']['esbeltez'],3))
print('Esbeltez de', m.profile.elements[3]['name'],'=', round(m.profile.elements[3]['sec 3.4-fiPn']['esbeltez'],3))