definition of uext in uvlmlib
I think it has no influence anyway
@@ -225,9 +225,9 @@ def uvlm_solver(i_iter, ts_info, struct_ts_info, options, convect_wake=True, dt=
flightconditions = FlightConditions()
flightconditions.rho = options['rho']
flightconditions.uinf = np.ctypeslib.as_ctypes(np.linalg.norm(ts_info.u_ext[0][:, 0, 0]))
- direction = np.array([1.0, 0, 0])
- # flightconditions.uinf_direction = np.ctypeslib.as_ctypes(ts_info.u_ext[0][:, 0, 0]/flightconditions.uinf)
- flightconditions.uinf_direction = np.ctypeslib.as_ctypes(direction)
+ # direction = np.array([1.0, 0, 0])
+ flightconditions.uinf_direction = np.ctypeslib.as_ctypes(ts_info.u_ext[0][:, 0, 0]/flightconditions.uinf)
+ # flightconditions.uinf_direction = np.ctypeslib.as_ctypes(direction)
rbm_vel = struct_ts_info.for_vel.copy()
rbm_vel[0:3] = np.dot(struct_ts_info.cga(), rbm_vel[0:3])
