Corrected control surface element association
@@ -232,10 +232,10 @@ class Aerogrid(object):
node_info['control_surface'] = control_surface_info
node_info['beam_coord'] = structure_tstep.pos[i_global_node, :]
node_info['pos_dot'] = structure_tstep.pos_dot[i_global_node, :]
- node_info['beam_psi'] = structure_tstep.psi[master_elem, master_elem_node, :]
- node_info['psi_dot'] = structure_tstep.psi_dot[master_elem, master_elem_node, :]
- node_info['for_delta'] = beam.frame_of_reference_delta[master_elem, master_elem_node, :]
- node_info['elem'] = beam.elements[master_elem]
+ node_info['beam_psi'] = structure_tstep.psi[i_elem, i_local_node, :]
+ node_info['psi_dot'] = structure_tstep.psi_dot[i_elem, i_local_node, :]
+ node_info['for_delta'] = beam.frame_of_reference_delta[i_elem, i_local_node, :]
+ node_info['elem'] = beam.elements[i_elem]
node_info['for_pos'] = structure_tstep.for_pos
node_info['cga'] = structure_tstep.cga()
(aero_tstep.zeta[i_surf][:, :, i_n],
