Exemple #1
0
 def __init__(self):
     Collection.__init__(self)
Exemple #2
0
    def add(self, load_pattern, reactions):
        reaction = Reaction(load_pattern, reactions)
        Collection.add(self, reaction)

        return reaction
Exemple #3
0
    def add(self, frame, fx, fy, fz):
        distributed_load = DistributedLoad(self.parent.frames[frame], fx, fy,
                                           fz)
        Collection.add(self, distributed_load)

        return distributed_load
Exemple #4
0
    def add(self, load_pattern, ux, uy, uz, rx, ry, rz):
        displacement = Displacement(load_pattern, ux, uy, uz, rx, ry, rz)
        Collection.add(self, displacement)

        return displacement
Exemple #5
0
    def add(self, node, fx, fy, fz):
        point_load = PointLoad(self.parent.nodes[node], fx, fy, fz)
        Collection.add(self, point_load)

        return point_load
Exemple #6
0
 def __init__(self, parent):
     Collection.__init__(self)
     self.parent = parent
Exemple #7
0
    def add(self, node, ux, uy, uz, rx, ry, rz):
        support = Support(self.parent.nodes[node], ux, uy, uz, rx, ry, rz)
        Collection.add(self, support)

        return support
Exemple #8
0
    def add(self, label):
        load_pattern = LoadPattern(label, self.parent)
        Collection.add(self, load_pattern)

        return load_pattern
Exemple #9
0
    def add(self, label, node_i, node_j, section):
        frame = Frame(label, self.parent.nodes[node_i], self.parent.nodes[node_j], self.parent.sections[section])
        Collection.add(self, frame)

        return frame
Exemple #10
0
    def add(self, label, node_i, node_j, section):
        truss = Truss(label, self.parent.nodes[node_i], self.parent.nodes[node_j], self.parent.sections[section])
        Collection.add(self, truss)

        return truss
Exemple #11
0
    def add(self, label, x, y, z):
        node = Node(label, x, y, z)
        Collection.add(self, node)

        return node
Exemple #12
0
    def add(self, label, material, area, inertia_y, inertia_z, torsion_constant):
        section = Section(label, self.parent.materials[material], area, inertia_y, inertia_z, torsion_constant)
        Collection.add(self, section)

        return section
Exemple #13
0
    def add(self, label, modulus_elasticity, modulus_elasticity_shear):
        material = Material(label, modulus_elasticity, modulus_elasticity_shear)
        Collection.add(self, material)

        return material