Fixed bug in panel displacement
@@ -519,7 +519,7 @@ def generate_strip(node_info, airfoil_db, aligned_grid, orientation_in=np.array(
strip_coordinates_a_frame[:, i_M] += node_info['beam_coord']
# add quarter-chord disp
- delta_c = node_info['chord']/node_info['M']*(strip_coordinates_a_frame[:, -1] - strip_coordinates_a_frame[:, 0])
+ delta_c = (strip_coordinates_a_frame[:, -1] - strip_coordinates_a_frame[:, 0])/node_info['M']
if node_info['M_distribution'] == 'uniform':
for i_M in range(node_info['M'] + 1):
strip_coordinates_a_frame[:, i_M] += 0.25*delta_c
