Skip to main content

FLAPJAX — FLexible Adjoint-enabled Panel code in JAX

nonlinear · differentiable · adjoint-enabled

Tests cov Docs PyPI Python

FLAPJAX is a differentiable nonlinear aeroelastic analysis framework which couples a nonlinear structural model with unsteady vortex lattice method (UVLM) aerodynamics. This allows for a range of structural, aerodynamic and coupled analyses, with gradients available using the adjoint method. The full codebase is implemented in JAX, which allows for efficient automatic differentiation, GPU acceleration and multi-case parallelisation.

Full documentation, including tutorials, API reference and theory, is available at ben-l-p.github.io/flapjax.

Installation

Github

For the latest version from git, clone the repository and install with pip:

git clone https://github.com/ben-l-p/flapjax/
cd flapjax
pip install -e .  # uses the -e flag to install in editable mode

PyPI

Two PyPI distributions are provided:

Package Contents
flapjax Library only
flapjax-full Library + test suite + tutorial notebooks

Install one distribution — they provide the same flapjax import path.

pip install flapjax        # minimal
pip install flapjax-full   # includes tests and tutorial notebooks

Testing

An extensive suite of over 300 tests is included to verify the correctness of the code. This checks the numerics, and takes approximately 40 minutes to run on an M2 MacBook Air. Tests can be run with pytest, either against a flapjax-full install (pytest --pyargs flapjax) or from a repository clone (uv run pytest).

Metadata

Release files for flapjax 1.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flapjax 1.3.8
File Size Uploaded
flapjax-1.3.8.tar.gz 341.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flapjax 1.3.8
File Interpreter ABI Platform
flapjax-1.3.8-py3-none-any.whl Python 3 none any Details

Total release size: 602.9 kB

Release files / flapjax-1.3.8.tar.gz

Download URL flapjax-1.3.8.tar.gz
Size 341.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cffb7596d81db5324f17ad724aacde7b16b2acfe48fa8d344bfd6d769e6f08c7
BLAKE2b-256 checksum
How to use checksums
d21e58c916f4620d5b14eb9246e2988cf42cd24d6c30a0f395c80f16bccac912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / flapjax-1.3.8-py3-none-any.whl

Download URL flapjax-1.3.8-py3-none-any.whl
Size 261.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68a13cd4bb8e69f0af0cd3fd25b6464855cfc9f36b3c524459735b9986882881
BLAKE2b-256 checksum
How to use checksums
c16b838eb829e5e69d6d3a73d6f768a278f391a57d0ff9af3e5f516d8c3231cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

1.3.9

2 release files

This release

1.3.8 This release

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.0

2 release files

1.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page