Beispiel #1
0
    def add_cylindrical_surface(self):
        radius = self.radius
        L = self.L
        d = model.create_cylindrical_surface('d',
                                             [L / 2, 0, L / 2],
                                             radius,
                                             [0, 1, 0],
                                             L)

        self.m.add_structure(d)
 def cylinder_at_position(self, z):
     return model.create_cylindrical_surface('d',
                                             [5, 5, z],
                                             self.radius,
                                             [0, 0, 1],
                                             self.L)
Beispiel #3
0
    def add_cylindrical_surface(self):
        radius = self.radius
        d = model.create_cylindrical_surface("d", [0, 0, 0], radius, [0, 1, 0], self.L)

        self.m.add_structure(d)