@@ -120,7 +120,7 @@ def dKdU(U): return np.zeros((3, 3))
120120 flutter_speed = 23.9
121121 # param_start = flutter_speed * 0.3
122122 # param_end = flutter_speed * 0.6
123- param_start = 6 .0
123+ param_start = 8 .0
124124 param_end = 20.0
125125
126126 v = dof3 .Vars ()
@@ -189,7 +189,7 @@ def dKdU(U): return np.zeros((3, 3))
189189 metadata .name = f"3dof_hbvlm_{ torsional_spring_names [torsional_spring ]} "
190190 metadata .param_start = param_start
191191 metadata .param_end = param_end
192- metadata .max_steps = 1 if INITIAL_ONLY else 10000
192+ metadata .max_steps = 1 if INITIAL_ONLY else 5000
193193 metadata .scaling = True
194194 metadata .step_adapt = True
195195 metadata .ds = 0.02
@@ -202,21 +202,18 @@ def dKdU(U): return np.zeros((3, 3))
202202
203203 if helpers .getenv ("PLOT" ):
204204 X_mat = metadata .X
205- if X_mat .shape [1 ] == 1 :
206- hb_sol_t , hb_sol0 = hb .to_timedomain (vec_t , dims .n_d , X_mat [:- 2 , 0 ], X_mat [- 2 , 0 ], dims .n_h )
207- aero_forces = system .aero_forces (sol .y )
208- fig = plot .create_dofs_figure (["Heave" , "Pitch" , "Control" ])
209- dof3 .plot_solution (fig , aero_forces , sol , v )
210-
211- plot .add_data_and_psd (fig , hb_sol_t , hb_sol0 [0 , :], "HB-VLM" , 1 , 1 , 3 )
212- plot .add_data_and_psd (fig , hb_sol_t , np .degrees (hb_sol0 [1 , :]), "HB-VLM" , 3 , 1 , 3 )
213- plot .add_data_and_psd (fig , hb_sol_t , np .degrees (hb_sol0 [2 , :]), "HB-VLM" , 5 , 1 , 3 )
214-
215- plot .add_data_and_psd (fig , hb_sol_t , hb_sol0 [3 , :], "HB-VLM" , 1 , 2 , 3 )
216- plot .add_data_and_psd (fig , hb_sol_t , np .degrees (hb_sol0 [4 , :]), "HB-VLM" , 3 , 2 , 3 )
217- plot .add_data_and_psd (fig , hb_sol_t , np .degrees (hb_sol0 [5 , :]), "HB-VLM" , 5 , 2 , 3 )
218-
219- dof3 .format_plot (fig )
220- plot .fig_save (fig , f"build/3dof/hbvlm0" , html = True , pdf = False )
221- else :
222- cont .plot_hb_continuation (metadata )
205+ hb_sol_t , hb_sol0 = hb .to_timedomain (vec_t , dims .n_d , X_mat [:- 2 , 0 ], X_mat [- 2 , 0 ], dims .n_h )
206+ aero_forces = system .aero_forces (sol .y )
207+ fig = plot .create_dofs_figure (["Heave" , "Pitch" , "Control" ])
208+ dof3 .plot_solution (fig , aero_forces , sol , v )
209+
210+ plot .add_data_and_psd (fig , hb_sol_t , hb_sol0 [0 , :], "HB-VLM" , 1 , 1 , 3 )
211+ plot .add_data_and_psd (fig , hb_sol_t , np .degrees (hb_sol0 [1 , :]), "HB-VLM" , 3 , 1 , 3 )
212+ plot .add_data_and_psd (fig , hb_sol_t , np .degrees (hb_sol0 [2 , :]), "HB-VLM" , 5 , 1 , 3 )
213+
214+ plot .add_data_and_psd (fig , hb_sol_t , hb_sol0 [3 , :], "HB-VLM" , 1 , 2 , 3 )
215+ plot .add_data_and_psd (fig , hb_sol_t , np .degrees (hb_sol0 [4 , :]), "HB-VLM" , 3 , 2 , 3 )
216+ plot .add_data_and_psd (fig , hb_sol_t , np .degrees (hb_sol0 [5 , :]), "HB-VLM" , 5 , 2 , 3 )
217+
218+ dof3 .format_plot (fig )
219+ plot .fig_save (fig , f"build/3dof/hbvlm0" , html = True , pdf = False )
0 commit comments