def ani(self, t=None, y=None, planview=True): if t is None: t = self.t if y is None: y = self.y l = 40 if planview: return dynvis.anim(self.system, t, y, (1,2), (-l,l), (-l,l)) else: return dynvis.anim(self.system, t, y, (0,1), (-l,l), (-5,5))
def ani(self, t=None, y=None, planview=True): if t is None: t = self.t if y is None: y = self.y l = 40 if planview: return dynvis.anim(self.system, t, y, (1, 2), (-l, l), (-l, l)) else: return dynvis.anim(self.system, t, y, (0, 1), (-l, l), (-5, 5))
def ani(self, vs=1): l = 40 return dynvis.anim(self.system, self.t, self.y, (0, vs), (-l, l), (-l, l), velocities=False, only_free=True)
def ani_yz(t, y): return dynvis.anim( system, t, y, (1, 2), (-blade_length - 2, blade_length + 2), (0, tower_height + blade_length + 5), velocities=False, )
def ani_xz(s,t,y): return dynvis.anim(s, t, y, (0,2), (-5,45), (-5,5), velocities=False)
def ani_xy(s, t, y): return dynvis.anim(s, t, y, (0, 1), (-3, 3), (-3, 3), velocities=False)
def ani(self, vs=1): l = self.length * 1.1 return dynvis.anim(self.system, self.t, self.y, (0, vs), (-l, l), (-l, l), velocities=False)
def ani_xy(s, t, y): return dynvis.anim(s, t, y, (0, 1), (-5, 65), (-10, 10), velocities=False)
def ani_xy(s,t,y): return dynvis.anim(s, t, y, (0,1), (-5,65), (-10,10), velocities=False)
def ani(self, vs=1): l = 40 return dynvis.anim(self.system, self.t, self.y, (0,vs), (-l,l), (-l,l), velocities=False, only_free=True)
def ani_xy(s,t,y): return dynvis.anim(s, t, y, (0,1), (-10,10), (-10,10), velocities=False, only_free=True)
def ani_xz(t,y): return dynvis.anim(system, t, y, (0,2), (-30,30), (0,65))
def ani_yz(t,y): return dynvis.anim(system, t, y, (1,2), (-62,62), (0,65))
def ani_xy(s,t,y): return dynvis.anim(s, t, y, (0,1), (-3,3), (-3,3), velocities=False)
def ani(): return dynvis.anim(system, t, y, False)
def ani(self, vs=1): l = 40 return dynvis.anim(self.system, self.t, self.y, (0,vs), (-l,l), (-l,l))
def ani_yz(s,t,y): return dynvis.anim(s, t, y, (1,2), (-10,10), (-10,20), velocities=False, only_free=True)
def ani_yz(t, y): return dynvis.anim(system, t, y, (1, 2), (-blade_length - 2, blade_length + 2), (0, tower_height + blade_length + 5))
def ani(self, results, x=0, y=1): H = self.tower.hubheight + self.blade.radii[-1] limits = [(-H,H), (-H,H), (-5,H+5)] return dynvis.anim(self.system, results.t, results.strains.as_matrix(), (x, y), limits[x], limits[y])
def ani(self, vs=1): l = 40 return dynvis.anim(self.system, self.t, self.y, (0, vs), (-l, l), (-l, l))
def ani(self, vs=1): l = self.length * 1.1 return dynvis.anim(self.system, self.t, self.y, (0,vs), (-l,l), (-l,l), velocities=False)
def ani_xz(t, y): return dynvis.anim(system, t, y, (0, 2), (-30, 30), (0, tower_height + blade_length + 5))
def ani(self, vs=(0,1), t=None, y=None): if t is None: t = self.t if y is None: y = self.y limits = [(-10,10), (-42,42), (-5,110)] return dynvis.anim(self.system, t, y, vs, limits[vs[0]], limits[vs[1]])
def ani_xz(t,y): return dynvis.anim(system, t, y, (0,2), (-30,30), (0,tower_height+blade_length+5))
def ani(self, results, x=0, y=1): H = self.tower.hubheight + self.blade.radii[-1] limits = [(-H, H), (-H, H), (-5, H + 5)] return dynvis.anim(self.system, results.t, results.strains.as_matrix(), (x, y), limits[x], limits[y])