import math
from materials.tm5_809_3 import tm5_809_3_materials

__author__= "Luis C. Pérez Tato (LCPT)"
__copyright__= "Copyright 2019, LCPT"
__license__= "GPL"
__version__= "3.0"
__email__= "*****@*****.**"

inch2Meter= .0254
foot2Meter= .3048


ratios=[]
cmuWall6= tm5_809_3_materials.CMUWallFabric(thickness= 6*inch2Meter,spacing= 1e-7)
eqThickness6= cmuWall6.getEquivalentWallThickness()
effArea6= cmuWall6.getEffectiveAreaPerUnitLength()
cmuWall12= tm5_809_3_materials.CMUWallFabric(thickness= 12*inch2Meter,spacing= 72.0*inch2Meter)
eqThickness12= cmuWall12.getEquivalentWallThickness()
effArea12= cmuWall12.getEffectiveAreaPerUnitLength()
cmuWall8= tm5_809_3_materials.CMUWallFabric(thickness= 8*inch2Meter,spacing= 40*inch2Meter)
eqThickness8= cmuWall8.getEquivalentWallThickness()
effArea8= cmuWall8.getEffectiveAreaPerUnitLength()
b12= cmuWall12.getEffectiveWidth()
Ig12= cmuWall12.getGrossMomentOfInertia()
fr= cmuWall12.mortar.fr()*tm5_809_3_materials.fromPascal
fr_ref= 2.5*math.sqrt(1350)
Mcr12= cmuWall12.getCrackingMomentStrength()
Mcr12_ref= 5424
b8= cmuWall8.getEffectiveWidth()
Esempio n. 2
0
__copyright__ = "Copyright 2019, LCPT"
__license__ = "GPL"
__version__ = "3.0"
__email__ = "*****@*****.**"

inch2Meter = .0254
foot2Meter = .3048
pound2Newton = 4.4482216282509
lbSqft2Pascal = 47.880258888889

S_iu = 24.0  # Cell spacing (inches).
S = S_iu * inch2Meter  # Cell spacing (meters).
cellReinf = tm5_809_3_materials.CMUWallCellReinforcement(
    reinfArea=ACI_materials.num6Area)
cmuWall = tm5_809_3_materials.CMUWallFabric(thickness=12 * inch2Meter,
                                            spacing=S,
                                            cellReinf=cellReinf)
wallHeight = 24 * foot2Meter  # 24 ft-> m

ratios = list()
n = cmuWall.get_n()
ratios.append(abs(n - 21.5) / 21.5)

mMax = 2182 * 4.44822  # N m/m Design moment

Fm = cmuWall.mortar.Fm()
FmIU = Fm / pound2Newton * inch2Meter**2  # Imperial units.
ratios.append(abs(FmIU - 445.499979756) / 445.499979756)
p = cmuWall.getSteelRatio()
ratios.append(abs(p - 0.0032) / 0.0032)
k = cmuWall.getKCoefficient()