Skip to main content

Automation tools for vortex lattice method, AVL

Project description

AVL Automation

Surrey Team Peryton Heron IMechE UAS 2022 AVL automation program. Enables automatic tail sizing based on input aircraft geometry, and investigation of dihedral angle effects on stability and aerodynamic performance.

A lose wrapping of the vortex lattice method AVL provides a means of scripting these tools.

The tail sizing segment has been validated against 2 flying UAVs and, given the CG is in the right place, suggests perfectly stable tail configurations.

Usage

pip install avl_automation

Automation module selection can then be done by:

py -m avlautomation.avlautomation

Add -h cmd argument for help.

The following are required in the same directory as the config file you specify in the command line (see /example):

Note that config files must be input with their full directory e.g. py -m avlautomation.avlautomation tail -c ./tail.config not tail.config

Some sample scripts (undocumented) for control surface sizing and tail mass are given in /scripts.

If you get a seemingly random error it's likely because your input .avl plane file is formatted incorrectly. Raise an issue containing the .avl file and your config file(s) and I'll either fix the code or tell you how to fix your inputs :)

Tail Sizing

  • Suggests tail configurations based on input geometry to achieve a desired static margin.
  • Works for convensional & V-tail configurations.
  • Can be run in reverse i.e. input tail dimensions & output optimal CG location
  • Anslysis considers only the horizontal tail plane (if convensional tail is selected). Vertical tail plane should be sized independently based on rudder and yaw stability requirements (a vertical tale will be generated but only based on a given vertical tail volume coefficient).

The program will generate tail configurations between limits given in the .config file and use AVL to calculate the neutral point of each. It then fits a parametric curve to the datapoints and gives you a nice graph like the one below and interpolates a curve of possible tail configurations.

image Fig. 1 - Static margins for tail areas and moment arms of tail configurations assessed.

image Fig. 2 - Curves of tail configurations with static margins of 0.2.

The main 3 variables to consider when sizing the horizontal tail for longitudinal static stability are: tail moment arm, tail plane area, and CG position. In short, increasing the moment arm and area increase the longitudinal stability of the aircraft for a given CG because it moves the neutral point away from the CG. The neutral point is the point where, if the CG was placed on it, $C_M/\alpha=0$. Static margin $SM=\frac{x_{np}-x_{cg}}{MAC}$ and should be around 0.1 to 0.3.

image

Fig. 3 - $C_M/\alpha$ curves for stable, neutral and unstable aircraft.

The tail moment arm is likely restricted in some way because of structural constraints so there is a balance between the tail area and moment arm. Something that would be nice to add to the tail sizing program is calculating the required angle of incidence on the horizontal tail for a desired trim angle, but this can be done fairly easily within AVL itself given a bit of setup in the plane.avl file.

Dihedral

  • Generates wing configurations with varying dihedral angle with a set spanwise dihedral location.
  • Runs aero analysis, generating Cl and Cd polars, and relevant stability derivatives.
  • AVL solution becomes very unstable as dihedral span location approaches tail sections in y.
  • It would be nice to show the effect on dutch roll and roll subsidence modes but AVL is difficult to get to work with dynamic stability analyses.

image

Fig. 4 - Dihedral angle effect on $C_L$, $C_D$, and stability derivatives.

Aero:

  • Generate some quick aerodynamic coefficient polars, stability derivatives, and eigenmode frequencies and dampings for a range of angles of attack.
  • Used in dihedral.py for calculating aerodynamic effect of dihedral angle.

Limitations:

AVL is a vortex lattice method meaning it's good for early conceptual design and sizing but is not reliable for complete aerodynamic profiling and design because of the limitations of potential flow theory:

  • Flow seperation and stall are not predicted;
  • No wake rollup is applied so tip losses are not well predicted;
  • Wing/fuselage interactions are not captured;
  • Solution is adversely affected if surfaces are placed directly downstream of the other due to trailing vortices influencing control points.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

avlautomation-1.0.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

avlautomation-1.0.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file avlautomation-1.0.0.tar.gz.

File metadata

  • Download URL: avlautomation-1.0.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for avlautomation-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e639ba5f33b355e15caf528d4b70fd65f57fe5faf5881faf32d4dccbb8a41aa4
MD5 801ce5c70038cd8b95171b29a5a16dae
BLAKE2b-256 bc1f3628521e4e64ec5844884c4d78de53963ac0244a50543f53cea8b826768b

See more details on using hashes here.

File details

Details for the file avlautomation-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: avlautomation-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for avlautomation-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85e508653b969504c9ef7967bd970044edacf8fbef507fd37505aa10101fe8b0
MD5 0c598bcd4d5e6d0a70de0ed1d05ecb83
BLAKE2b-256 99d0309062e3c9b011e9ca612d45b2add96cfc6754bbeeb352142d5322824b2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page