Ejemplo n.º 1
0
 def __init__(self, settings):
     self.settings = settings
     self.nodelist = coordlist()
     self.connlist = connlist()
     self.matlist = {}
     self.seclist = {}
     self.bondlist = {}
     self.loadlist = {}
     self.displist = {}
     self.setlist = {}
     self.orientlist = {}
     self.paralist = {}
     self.reclist = {}
     self.proplist = {}
     self.loadcaselist = {}
     self.joblist = {}
     self.tablelist = {}
     self.nodaltielist = {}
     self.rebargrouplist = {}
Ejemplo n.º 2
0
 def __init__(self,settings):
     self.settings = settings
     self.nodelist = coordlist()
     self.connlist = connlist()
     self.matlist = {}
     self.seclist = {}
     self.bondlist = {}
     self.loadlist = {}
     self.displist = {}
     self.setlist = {}
     self.orientlist = {}
     self.paralist = {}
     self.reclist = {}
     self.proplist = {}
     self.loadcaselist = {}
     self.joblist = {}
     self.tablelist = {}
     self.nodaltielist = {}
     self.rebargrouplist = {}
Ejemplo n.º 3
0
        elif self.intType == 'Labotto':
            [self.nIP, self.wIP] = __.integ.Labotto(self.integ)
        else:
            print 'intergration scheme:' + self.intType + 'do not deined'
            raise TypeError

        for i in range(0, self.nIntgp):
            self.seclist[i] = self.sectag


if __name__ == '__main__':
    import coordinates as coord
    import FEA.__init__ as __
    n1 = coord.coord([1, 1, 1], seq=1)
    n2 = coord.coord([2, 1, 1], seq=2)
    n3 = coord.coord([2, 1, 3], seq=3)

    clist = coord.coordlist([n1, n2, n3])

    #by direct build
    sec_Tsec = __.load('sec', 'sec_Tsec')
    seclist = {1: sec_Tsec}

    e2 = beam(n1, n2)

    e1 = displacementBeam(n1, n2, ndm=3, secseq=1, seq=1, nIntgp=3)
    e3 = displacementBeam(n1, n2, ndm=2, secseq=1, seq=1, nIntgp=3)
    e1.build(clist, seclist)
    for sec in e1.seclist.keys():
        print e1.seclist[sec].position
Ejemplo n.º 4
0
            [self.nIP,self.wIP] = __.integ.Labotto(self.integ)
        else:
            print 'intergration scheme:' + self.intType +'do not deined'
            raise TypeError        
        
        for i in range(0,self.nIntgp):    
            self.seclist[i] = self.sectag
        
        

if __name__ == '__main__':
    import coordinates as coord
    import FEA.__init__ as __
    n1 = coord.coord([1,1,1],seq=1)
    n2 = coord.coord([2,1,1],seq=2)
    n3 = coord.coord([2,1,3],seq=3)

    clist = coord.coordlist([n1,n2,n3])
    
    #by direct build
    sec_Tsec=__.load('sec','sec_Tsec')
    seclist = {1:sec_Tsec}
    
    e2 = beam(n1,n2)

    e1 = displacementBeam(n1,n2,ndm = 3,secseq=1,seq=1,nIntgp=3)
    e3= displacementBeam(n1,n2,ndm = 2,secseq=1,seq=1,nIntgp=3)
    e1.build(clist,seclist)
    for sec in e1.seclist.keys():
        print e1.seclist[sec].position