Skip to main content

A lightweight lifting-line analysis library for the lazy aerodynamicist.

Project description

LazyLLT: A Lightweight Lifting-line Analysis Library

LazyLLT is a library for quickly calculating a wing's aerodynamic properties and their respective gradients using the Lanchester–Prandtl lifting-line theory. When not calculating gradients, LazyLLT can accurately compute a wing's aerodynamic properties in under a millisecond.

LazyLLT is "lazy" in two ways:

  1. An aerodynamic analysis can be done oftentimes in under 10 lines of code.
  2. No property or design variable gradient is computed until its value is queried.

For more information, please view the documentation.

Install

pip install lazyllt

Requires Python 3.10 or higher.

Example

Example of getting the lift coefficient of a wing with an elliptical chord distribution and linear twist (washout):

from lazyllt import LiftingLineModel, UnsweptWing

model = LiftingLineModel(num_coefficients=35)

wing = UnsweptWing(
    span=5,
    root_chord=1,
    alpha_0=-1
)


def elliptical(z, _):
    return (1 - z ** 2) ** 0.5


wing.set_taper_function(elliptical)
wing.parametric_taper()

wing.linear_twist(
    root_twist=1,
    tip_twist=0
)

model.add_wing(wing)
solution = next(model.solve())

print("Coefficient of lift:", solution.cl)

Note on Units

LazyLLT uses the meter-kilogram-second unit system for all physical values and properties. All user-facing methods and attributes represent angles in degrees unless specified. Most internal functions and attributes use radians for ease of calculation.

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

lazyllt-1.0.4.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

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

lazyllt-1.0.4-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file lazyllt-1.0.4.tar.gz.

File metadata

  • Download URL: lazyllt-1.0.4.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for lazyllt-1.0.4.tar.gz
Algorithm Hash digest
SHA256 df671a16053505adbff3e53a2f89cbd45bec314a7c9530c85af50c97b8025c25
MD5 08f9b93508ca0109454f02f49b4cbc60
BLAKE2b-256 0d0dab4765f58b1e2492ff800444e097dacb50944ba3fe5200d9e0d85409f6b1

See more details on using hashes here.

File details

Details for the file lazyllt-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: lazyllt-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for lazyllt-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c391f9ae797a715e488ef3d30346d477401ab37aa2f72a9baa45771b9475dc80
MD5 47f9c1844db41d9ecd223886ccc18e9d
BLAKE2b-256 b9d176b7a6b0fcd9b436270dfc34b12ebfd96cb81e43dea527a71258fa24bed9

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