Commit 75cb2b6a authored by Frederik Zahle's avatar Frederik Zahle
Browse files

fixed norm in text_edge sizing

parent 0d5bcb50
......@@ -90,8 +90,9 @@ class SEAMBladeStructure(Component):
self.chord = C
# Calculating load flapwise extreme
Mext_flap = (self.blade_root_flap_max-1.75*self.blade_root_flap_max*r/(self.rotor_diameter/2.) +\
0.75*self.blade_root_flap_max*r/(self.rotor_diameter/2.) * r / \
Mext_flap = (self.blade_root_flap_max
-1.75*self.blade_root_flap_max*r/(self.rotor_diameter/2.) \
+0.75*self.blade_root_flap_max*r/(self.rotor_diameter/2.) * r / \
(self.rotor_diameter/2.))*self.tif_blade_root_flap_ext
# Calculating load edgewise extreme
......@@ -125,7 +126,7 @@ class SEAMBladeStructure(Component):
# Calculating thickness edgewise extreme
text_edge = np.zeros(self.blade_sections)
for i in range(self.blade_sections):
norm = self.solve_text_edge(0.01, C[i], thick[i], Mext_flap[i], 1.)
norm = self.solve_text_edge(0.01, C[i], thick[i], Mext_edge[i], 1.)
res = minimize(self.solve_text_edge, 0.01, args = (C[i], thick[i], Mext_edge[i], norm), bounds=[(1.e-6, 0.5)], method = 'SLSQP', tol = 1.e-8)
text_edge[i] = res['x']
if not res['success']: print 'WARNING solve_text_edge', i,res
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment