Monitor outputs #30
-
I'm currently saving forces on wings in custom frames via the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If I understand correctly, you are trying to obtain the effective velocity along the wing and decompose into arbitrary direction, right? For debugging purposes, I exposed the effective velocities used in the force calculation in Hence, unfolding the two For example, to get the total velocity that was used to calculate the aerodynamic force at each segment of the lifting line: Veff = []
for j in 1:3*vlm.get_m(vlm_system)
l = (j-1)%3 + 1
if l == 2
push!(Veff, Vout[j][1] .+ Vout[j][2] .+ Vout[j][3] .+ Vout[j][4])
end
end Then you can use |
Beta Was this translation helpful? Give feedback.
If I understand correctly, you are trying to obtain the effective velocity along the wing and decompose into arbitrary direction, right?
For debugging purposes, I exposed the effective velocities used in the force calculation in
calc_aerodynamicforce(...)
through the optional argumentVout
. Notice in Line 81 that ifVout
is different thannothing
, it will push to it an array with the vectors of the VPM-induced velocity (wake and embedded particles), VLM-induced velocity, freestream, and local kinematic velocity, all evaluated at the mid-point of the three bound vortices that make each horseshoe (TE to 1/4 chord, lifting line at 1/4 chord, and 1/4 chord to TE).Hence, unfolding the two
for
…