You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the resulting minima of the interpolated values can sometimes be lower than the minima of the input values, causing interpolate to fail due to it being out of bounds.
Maybe change it to the following to avoid the loss of precision?
Thanks for letting me know! I've been working on this issue by revamping the foil interpolation methods. A new version
with fixes should be released soon.
I was trying to calculate the lift coefficient of a NACA4412 airfoil and I encountered the following error:
Strangely, this error only occurs for specific values of
n
:Looking through the code, I suspect that when it is calculating the cosine interpolation,
AeroFuse.jl/src/Tools/MathTools.jl
Line 141 in 5726868
AeroFuse.jl/src/Geometry/AircraftGeometry/Foils/foil.jl
Lines 123 to 125 in a242e25
the resulting minima of the interpolated values can sometimes be lower than the minima of the input values, causing
interpolate
to fail due to it being out of bounds.Maybe change it to the following to avoid the loss of precision?
Thanks!
The text was updated successfully, but these errors were encountered: