def setUp(self): geometry = Geometry() surface1 = Surface(name='surface 1', cvortices=[20,1.0], scale=[1.0,1.0,1.0], index=1, yduplicate=1.0) section1data = SectionAFILEData(filename=join(runs_dir, 'ag42d.dat')) section1 = Section(type='airfoil data file', data=section1data) geometry.surfaces.append(surface1) self.case = Case(name='testCase', mach_no=0.0, symmetry=[0,0,0.0], ref_area=9.0, ref_chord=0.9, ref_span=10.0, ref_cg=[0.5,0.0,0.0], geometry=geometry) self.test_avl_case = 'allegro'
def setUp(self): geometry = Geometry() surface1 = Surface('surface 1', (20, 1.0), scale=2.0) geometry.surfaces[surface1.name] = surface1 self.case = Case(casename='testCase', mach_no=0.0, symmetry=(0, 0, 0.0), ref_area=9.0, ref_chord=0.9, ref_span=10.0, ref_cg=(0.5, 0.0, 0.0), geometry=geometry) self.test_avl_case = 'ow'