Skip to content

Commit

Permalink
comment update
Browse files Browse the repository at this point in the history
  • Loading branch information
timdmacdo committed Jul 31, 2017
1 parent 3160ccc commit 84c097b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/SUAVE/Input_Output/OpenVSP/vsp_write.py
Expand Up @@ -237,8 +237,8 @@ def write(vehicle,tag):
if (n_segments != 0) and (wing.Segments[-1].percent_span_location == 1.):
tip_chord = root_chord*wing.Segments[-1].root_chord_percent
vsp.SetParmVal( wing_id,'Tip_Chord',x_secs[n_segments-1+adjust],tip_chord)
#vsp.SetParmVal( wing_id,'Twist',x_secs[n_segments-1],wing.Segments[-1].twist / Units.deg)
vsp.SetParmVal( wing_id,'ThickChord',x_secs[n_segments-1+adjust],wing.Segments[-1].thickness_to_chord)
# twist is set in the normal loop
else:
vsp.SetParmVal( wing_id,'Tip_Chord',x_secs[-1-(1-adjust)],tip_chord)
vsp.SetParmVal( wing_id,'Twist',x_secs[-1-(1-adjust)],tip_twist)
Expand Down

0 comments on commit 84c097b

Please sign in to comment.