示例#1
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
示例#2
0
    def add(self, load_pattern, reactions):
        reaction = Reaction(load_pattern, reactions)
        Collection.add(self, reaction)

        return reaction
示例#3
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
示例#4
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
示例#5
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
示例#6
0
    def add(self, label):
        load_pattern = LoadPattern(label, self.parent)
        Collection.add(self, load_pattern)

        return load_pattern
示例#7
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
示例#8
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
示例#9
0
    def add(self, label, x, y, z):
        node = Node(label, x, y, z)
        Collection.add(self, node)

        return node
示例#10
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
示例#11
0
    def add(self, label, modulus_elasticity, modulus_elasticity_shear):
        material = Material(label, modulus_elasticity, modulus_elasticity_shear)
        Collection.add(self, material)

        return material