Beispiel #1
0
 def getSection6(self):
     '''Returns RC section for armature in position 6.'''
     return ng_rc_section.RCSection(self.reinforcement[6], self.concrete,
                                    self.b, self.stemTopWidth)
Beispiel #2
0
 def getSection2(self, y):
     '''Returns RC section for armature in position 2.'''
     c = self.getDepth(y)
     return ng_rc_section.RCSection(self.reinforcement[2], self.concrete,
                                    self.b, c)
Beispiel #3
0
 def getSection4(self):
     '''Returns RC section for armature in position 4.'''
     return ng_rc_section.RCSection(self.reinforcement[4], self.concrete,
                                    self.b, self.stemBottomWidth)
Beispiel #4
0
 def getSectionFootingBottomLongitudinal(self):
   '''Returns RC section for longitudinal reinforcement at footing bottom.'''
   return ng_rc_section.RCSection(self[self.longBottomFootingIndex],self.wallGeom.concrete,self.wallGeom.b,self.wallGeom.footingThickness)
Beispiel #5
0
__license__ = "GPL"
__version__ = "3.0"
__email__ = "*****@*****.**"
'''
   Wall stability
'''
from materials.sia262 import SIA262_materials
from materials.sia262 import SIA262_limit_state_checking
from materials.sections import rebar_family
from rough_calculations import ng_rc_section as rc

beton = SIA262_materials.c30_37
acier = SIA262_materials.B500B
A10_15 = SIA262_limit_state_checking.SIARebarFamily(acier, 10e-3, 0.15, 0.05)

section = rc.RCSection(A10_15, beton, 1.0, 0.3)
MR = section.getMR()
VR = section.getVR(Nd=-6.17e3, Md=15.56e3)
ratio1 = (MR - 50.2222855584e3) / 50.2222855584e3
ratio2 = (VR - 230.473590755e3) / 230.473590755e3
'''
print('MR= ', MR/1e3)
print('ratio1= ', ratio1)
print('VR= ', VR/1e3)
print('ratio2= ', ratio2)
'''
import os
from misc_utils import log_messages as lmsg
fname = os.path.basename(__file__)
if (abs(ratio1) < 1e-11) and (abs(ratio2) < 1e-11):
    print("test ", fname, ": ok.")
Beispiel #6
0
 def getSection4(self):
     '''Returns RC section for armature in position 4.'''
     return ng_rc_section.RCSection(self.armatures[4], self.beton, self.b,
                                    self.hEncastrement)
Beispiel #7
0
 def getSectionTopFooting(self):
   '''Returns RC section for reinforcement on footing top.'''
   return ng_rc_section.RCSection(self[self.topFootingIndex],self.wallGeom.concrete,self.wallGeom.b,self.wallGeom.footingThickness)
Beispiel #8
0
 def getSectionIntStemBottom(self):
   '''Returns RC section for interior reinforcement at stem bottom.'''
   return ng_rc_section.RCSection(self[self.intStemBottomIndex],self.wallGeom.concrete, self.wallGeom.b,self.wallGeom.stemBottomWidth)
Beispiel #9
0
 def getSectionStemTop(self):
   '''Returns RC section for reinforcement at stem top.'''
   return ng_rc_section.RCSection(self[self.topStemIndex],self.wallGeom.concrete, self.wallGeom.b,self.wallGeom.stemTopWidth)
Beispiel #10
0
 def getSectionIntStem(self):
     '''Returns RC section for reinforcement at stem interior.'''
     return ng_rc_section.RCSection(
         self.stemReinforcement[self.stemReinforcement.intStemIndex],
         self.concrete, self.b, self.stemBottomWidth)
Beispiel #11
0
 def getSectionExtStem(self,y):
   '''Returns RC section for exterior reinforcement at stem.'''
   c= self.wallGeom.getDepth(y)
   return ng_rc_section.RCSection(self[self.extStemIndex],self.wallGeom.concrete,self.wallGeom.b,c)
Beispiel #12
0
 def getSection11(self):
     '''Returns RC section for armature in position 11.'''
     return ng_rc_section.RCSection(
         self.armatures[11], self.beton, self.b,
         (self.hCouronnement + self.hEncastrement) / 2.0)
Beispiel #13
0
 def getSection8(self):
     '''Returns RC section for armature in position 8.'''
     return ng_rc_section.RCSection(self.armatures[8], self.beton, self.b,
                                    self.hSemelle)
Beispiel #14
0
 def getSection6(self):
     '''Returns RC section for armature in position 6.'''
     return ng_rc_section.RCSection(self.armatures[6], self.beton, self.b,
                                    self.hCouronnement)
Beispiel #15
0
 def getSection8(self):
     '''Returns RC section for armature in position 8.'''
     return ng_rc_section.RCSection(self.reinforcement[8], self.concrete,
                                    self.b, self.footingThickness)
Beispiel #16
0
 def getSectionStemLongInt(self):
   '''Returns RC section for loingitudinal reinforcement in stem interior.'''
   return ng_rc_section.RCSection(self[self.longIntStemIndex],self.wallGeom.concrete,self.wallGeom.b,(self.wallGeom.stemTopWidth+self.wallGeom.stemBottomWidth)/2.0)
Beispiel #17
0
 def getSection11(self):
     '''Returns RC section for armature in position 11.'''
     return ng_rc_section.RCSection(
         self.reinforcement[11], self.concrete, self.b,
         (self.stemTopWidth + self.stemBottomWidth) / 2.0)
Beispiel #18
0
 def getSection2(self, y):
     '''Returns RC section for armature in position 2.'''
     c = self.getDepth(y)
     return ng_rc_section.RCSection(self.armatures[2], self.beton, self.b,
                                    c)