New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding Moments Estimation #17
Comments
Hey @dnsuman, Uh oh! Could you please post your code and AVL inputs? I've done a few cases of moment validation against XFLR5 and AVL on my end and found them to all agree to within a percent or so on sensible geonetries - let's see if we can figure out where the issue is! |
Hey @peterdsharpe, I have added the image of the equation. The moment equation should contain the wing area, once I added the wing area to the equation I got the pitching moment coefficient to be overestimated by 6% when compared to AVL and lift coeficient was 5% below the estimated value from AVL, which is quite good. But the lateral and directional moment coefficient does'nt match up at all. I have also attached an image of my output for a wing you can have a look. |
After some correction to the AVL inputs from my end I got near similar values for lateral and directional moment coefficients. |
I appreciate it - thanks! The beta version replaces the old solvers with two new solvers: "CasVLM1" and "CasLL1". (The old solvers are still available through the aerosandbox_legacy_v0 folder, though things like geometry definition are not guaranteed to be cross-compatible.) There are a good number of benefits associated with the new solvers, namely; the methods are written to lend themselves nicely to a simultaneous-analysis-and-design (SAND)-like architecture. Regarding viscous modeling: That's currently a feature in CasLL1, but not CasVLM1. CasLL1 is basically a fully-nonlinear lifting-line (LL) solver, as opposed to a vortex-lattice model (VLM). Because of this, CasLL1 lends itself to viscous analysis more easily. Honestly, in most of my personal research work (currently working on solar-electric aircraft design), I've been primarily using CasLL1! For your twist optimization study, it sounds like you probably want to use something like this script from the beta version: But again, the beta version is still under heavy development, so no promises on user-friendliness there just yet! |
Yes, I want to implement something similar to the spanload optimization but instead of chord length as my design variable will be the twist at each stations on the wing. Also, in the previous version of vlm3 is it possible to extract the elemental force coefficients. |
Yes - in the code I linked, both chord and twist optimization are happening simultaneously. You can choose to just do twist optimization if you want by swapping the "#" on these two lines (roughly line 57 in the file I linked):
And yes - in VLM3, forces should be available at each point on the wing by using vlm3.Fi_geometry. You can get the location associated with each point using vlm3.vortex_centers. |
Thank you. I'll look into that and update you if I find any issues. |
Is it possible to get the local CL using vlm3? |
Unfortunately no, though there's probably a way to back-calculate this! You can do this with CasLL1, though, via CasLL1.CL_locals |
Hi @peterdsharpe, I was validating the code with avl and I found that the moments estimated from this code is way off. Upon looking at vlm3.py I found the formula for moments are incorrect.
Could you please check and confirm with it.
The text was updated successfully, but these errors were encountered: