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 avlautomation

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.1.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.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: avlautomation-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 b28255959539f809683c80b2a9552eb317b2d11ba789517a419f587c51a055d6
MD5 e124de0d124a333aec7970865d7a0b0e
BLAKE2b-256 979bffc5f36171e79c817b4b5191ae6acccc74cf7e0bca1a01c3467c6c223bad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: avlautomation-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 483ad8af0d4acf456b247d25d342600ce5b34232deb0bacafc1c1a8602d220c1
MD5 15a7baf853bccf88802fab16a4143962
BLAKE2b-256 e2b952bcc4da2488bf5d1eb9696e277ec3390b014ff67474098e67724c3cfbaf

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