Ejemplo n.º 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)
Ejemplo n.º 2
0
 def cylinder_at_position(self, z):
     return model.create_cylindrical_surface('d',
                                             [5, 5, z],
                                             self.radius,
                                             [0, 0, 1],
                                             self.L)
Ejemplo n.º 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)