AVL result comparison #88
-
Hi, Before continuing with the actual optimization, I would like to validate the output results from calling AVL in AeroSandbox with results directly from AVL. However, I have not been able to get the same results. I included the .avl file that I have been using here (github doest not accept .avl extension so the .txt should be changed to .avl before using the file) supergee_no_winglets.txt . Running the code below calling AVL out of the box with asb gives me a Cl = 0.255 and Cd = 0.00289. The output directly form AVL gives me Cl = 0.173 and Cd = 0.021, the difference is quite significant. For now, I will use the VLM to do the optimization, which actually gives values close to AVL's but it doesn't output the induced drag coefficient, which I want to study. I have been playing with the ''default_analysis_specific_options" without success. Maybe, someone can give me a tip where I have to look at to make it work. I am probably overseeing something basic. Apologies for that, I am new to AVL and your code. It looks amazing though, I am looking forward using ASB more in the future.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @cyrildelaporte ! Thanks for the report. Could you please paste your code here using Markdown triple-backtick formatting (e.g., surround your code with ```) so that it can be copy-pasted and reproduced by others? |
Beta Was this translation helpful? Give feedback.
-
Hey @cyrildelaporte ! Awesome - thanks for that! Had a bit of time to dig into the root causes here, and uncovered a few interesting things: When I run this analysis on my computer, these are the results I see:
These are mostly consistent with your results, except for the italicized result - when I run AVL 3.37 on I think this is likely a typo in your result, because the results above are consistent with induced drag theory. For example:
So, then the question remains - why is Cause 1: Mach Number DiscrepancyAVL does not take into account the Mach number if it is specified in the In this run file presented, the Mach number is roughly 0.70 (derived from the To illustrate this: if I run AVL on AeroSandbox's interface to AVL accounts for this nonzero Mach number; using AVL directly does not, unless you specify it at runtime. Cause 2:
|
Beta Was this translation helpful? Give feedback.
Hey @cyrildelaporte !
Awesome - thanks for that! Had a bit of time to dig into the root causes here, and uncovered a few interesting things:
When I run this analysis on my computer, these are the results I see:
supergee_no_winglets.avl
asb.AVL
Result on ASB codeThese are mostly consistent with your results, except for the italicized result - when I run AVL 3.37 on
supergee_no_winglets.avl
I get a much lower drag coefficient.I think this is likely a typo in your result, because the results above are consistent with induced drag theory. For example:
Here,