__email__ = "*****@*****.**" concrete = ACI_materials.c4000 # Concrete strength 4000 psi concrete.gmmC = 1.0 / 0.75 reinfSteel = ACI_materials.A615G60 reinfSteel.gammaS = 1.0 / 0.75 lSqrtFck = concrete.getLambdaSqrtFck() lSqrtFckRef = 63.246 * ACI_materials.toPascal ratio1 = abs(lSqrtFck - lSqrtFckRef) / lSqrtFckRef bw = 12 * 0.0254 # 12 in d = 15 * 0.0254 # 15 in section = defSimpleRCSection.RecordRCSimpleSection(name='test', concrType=concrete, reinfSteelType=reinfSteel, width=bw, depth=d / 0.9) section.shReinfY = defSimpleRCSection.RecordShearReinforcement( nShReinfBranches=1.0, areaShReinfBranch=0.592 * 0.0254**2, shReinfSpacing=1.0 * 0.3048) shearController = lsc.ShearController(lsd.shearResistance.label) shearController.setSection(section) Vc = shearController.getVcNoShearRebars(Nd=0.0) VcRef = 17.076 * 4.4482216e3 / 0.75 # kip->N ratio2 = abs(Vc - VcRef) / VcRef Vmax = shearController.getV_max(Nd=0.0) VmaxRef = 85.381 * 4.4482216e3
from materials.ehe import EHE_materials from materials.sia262 import SIA262_materials from materials.sia262 import SIA262_limit_state_checking from model import predefined_spaces __author__ = "Luis C. Pérez Tato (LCPT)" __copyright__ = "Copyright 2014, LCPT" __license__ = "GPL" __version__ = "3.0" __email__ = "*****@*****.**" areaFi22 = SIA262_materials.section_barres_courantes[22e-3] areaFi26 = SIA262_materials.section_barres_courantes[26e-3] datosScc1LosC = defSimpleRCSection.RecordRCSimpleSection() datosScc1LosC.sectionName = "secHA1LosC" datosScc1LosC.sectionDescr = "Deck. Central portion. Section normal to X axis." concr = EHE_materials.HA30 concr.alfacc = 0.85 #f_maxd= 0.85*fcd datosScc1LosC.concrType = concr datosScc1LosC.h = 0.35 datosScc1LosC.b = 1.0 datosScc1LosC.reinfSteelType = EHE_materials.B500S negRebRow = defSimpleRCSection.MainReinfLayer() negRebRow.setUp(nRebars=0, rebarsDiam=0.0, areaRebar=0.0, width=datosScc1LosC.b, cover=0.1) datosScc1LosC.negatvRebarRows = [negRebRow]
areaFi14= SIA262_materials.section_barres_courantes[14e-3] areaFi16= SIA262_materials.section_barres_courantes[16e-3] areaFi18= SIA262_materials.section_barres_courantes[18e-3] areaFi20= SIA262_materials.section_barres_courantes[20e-3] areaFi22= SIA262_materials.section_barres_courantes[22e-3] areaFi26= SIA262_materials.section_barres_courantes[26e-3] areaFi30= SIA262_materials.section_barres_courantes[30e-3] areaFi34= SIA262_materials.section_barres_courantes[34e-3] areaFi40= SIA262_materials.section_barres_courantes[40e-3] concrete= EHE_materials.HA30 concrete.alfacc=0.85 # f_maxd= 0.85*fcd concrete long term compressive strength factor (normally alfacc=1) reinfSteel= EHE_materials.B500S sccData=defSimpleRCSection.RecordRCSimpleSection() sccData.sectionName= "sccData" sccData.sectionDescr= "Prueba." sccData.concrType= concrete sccData.h= 0.5 sccData.b= 1.0 sccData.reinfSteelType= reinfSteel sccData.negatvRebarRows=[defSimpleRCSection.MainReinfLayer(rebarsDiam=40e-3,areaRebar= areaFi40,rebarsSpacing=0.15,width=1.0,nominalCover=0.25-0.19)] sccData.positvRebarRows=[defSimpleRCSection.MainReinfLayer(rebarsDiam=6e-3,areaRebar= areaFi6,rebarsSpacing=0.15,width=1.0,nominalCover=0.25-0.19)] #sccData.setMainReinfNeg(40e-3,areaFi40,0.15,0.25-0.19) #sccData.setMainReinfPos(6e-3,areaFi6,0.15,0.25-0.19) feProblem= xc.FEProblem() feProblem.logFileName= "/tmp/erase.log" # Don't print warnings. feProblem.errFileName= "/tmp/erase.err" # Don't print errors.