NeuralFoil
NeuralFoil is an airfoil aerodynamics analysis tool using physics-informed machine learning, in pure Python/NumPy.
Decision gist · record as of 2026-08-14
Yes. NeuralFoil is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and requires only two lightweight dependencies. It solves a real problem (XFoil speed and convergence) for aerodynamics-focused Python workflows. The tradeoff is accuracy within a few percent of XFoil—acceptable for design and optimization. Install if you do airfoil analysis; skip if you need XFoil's exact predictions or work outside aerodynamics.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.10.
- Airfoil coordinate input must be a numpy array of shape (n, 2).
- Low friction: pure Python wheel with only aerosandbox and numpy as runtime dependencies.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or redistribution in commercial or private projects.
last release 2026-07-11 (34 days) · last repo commit 2026-07-19 · 462 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 142,880 downloads/mo, #11,198 on PyPI
Alternatives
Verify before relying
pip install neuralfoil
import neuralfoil as nf
import numpy as np
aero = nf.get_aero_from_coordinates(
coordinates=numpy_array_of_airfoil_coordinates,
alpha=5,
Re=5e6,
model_size="xlarge"
)
print(aero["CL"], aero["CD"], aero["analysis_confidence"])- Whether the ~5 milliseconds runtime claim applies to the standalone Python+NumPy version or requires aerosandbox integration
- Specific accuracy ranges for different airfoil families and Reynolds number regimes beyond the out-of-distribution examples shown
- Whether all eight model sizes (xxsmall through xxxlarge) are available in the standalone package or only in aerosandbox
What it is and what it does
NeuralFoil is a fast aerodynamic analysis tool that replaces or complements XFoil for predicting airfoil performance. It uses neural networks trained on nearly 8 million XFoil runs, embedded with physics-based invariants, to estimate lift, drag, moment coefficients, and boundary layer properties across a wide range of angles of attack and Reynolds numbers. The package runs entirely in NumPy (trained in PyTorch but executed without PyTorch at runtime) and comes with eight model sizes trading accuracy for speed.
The tool is designed for aircraft design and optimization workflows where speed and reliability matter more than XFoil's occasional convergence failures. It returns an `analysis_confidence` metric flagging uncertain or out-of-distribution queries, making it useful for robust design optimization. The core package is lightweight (under 500 lines of user-facing code) and accepts airfoil input as .dat files, coordinate arrays, or aerosandbox airfoil objects.
Use it for
- Rapid aerodynamic polars for aircraft conceptual design when XFoil convergence is unreliable or too slow
- Gradient-based airfoil shape optimization using the smooth, continuous predictions and confidence flagging
- Batch analysis of hundreds of airfoils at multiple Reynolds numbers and angles of attack
- Aerodynamic analysis of out-of-distribution or novel airfoil geometries where training data is sparse
- Real-time aerodynamic lookup in flight simulation or control law design needing fast, guaranteed convergence
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
NeuralFoil is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and requires only two lightweight dependencies. It solves a real problem (XFoil speed and convergence) for aerodynamics-focused Python workflows. The tradeoff is accuracy within a few percent of XFoil—acceptable for design and optimization. Install if you do airfoil analysis; skip if you need XFoil's exact predictions or work outside aerodynamics.
Install
neuralfoil on PyPI
Before you install
Low friction: pure Python wheel with only aerosandbox and numpy as runtime dependencies. Active maintenance (last commit 2026-07-19, 34 days since release), 462 GitHub stars. Requires Python >=3.10.
Requires Python >=3.10. Airfoil coordinate input must be a numpy array of shape (n, 2).
License in practice
MIT license (permissive) places no restrictions on use, modification, or redistribution in commercial or private projects.
Quickstart
pip install neuralfoil
import neuralfoil as nf
import numpy as np
aero = nf.get_aero_from_coordinates(
coordinates=numpy_array_of_airfoil_coordinates,
alpha=5,
Re=5e6,
model_size="xlarge"
)
print(aero["CL"], aero["CD"], aero["analysis_confidence"])
Verify before relying
- Whether the ~5 milliseconds runtime claim applies to the standalone Python+NumPy version or requires aerosandbox integration
- Specific accuracy ranges for different airfoil families and Reynolds number regimes beyond the out-of-distribution examples shown
- Whether all eight model sizes (xxsmall through xxxlarge) are available in the standalone package or only in aerosandbox
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesaerosandboxnumpy |
| Maintenance | Actively maintained 34 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 142,880 / month, #11,198 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: Physics |
Evidence: neuralfoil-0.3.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “airfoil aerodynamics prediction”
- NeuralFoilNeuralFoil predicts airfoil aerodynamic coefficients (lift, drag,…
- AeroSandboxAeroSandbox is an optimization toolkit for aircraft and engineered…
- datarobot-predictProvides a unified Python interface for making predictions using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Physics packages
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
Pydicom reads, modifies, and writes DICOM medical imaging files in pure Python, with optional NumPy support for pixel data as arrays.
Install it if you work with medical imaging data, DICOM files, or healthcare IT systems.
Albumentations applies image transformations to training data, supporting classification, segmentation, object detection, and pose estimation with a unified API for images, masks, bounding boxes, and keypoints.
Install it if you need a unified, production-grade augmentation API for computer vision tasks.
CoolProp provides thermodynamic and transport property calculations for fluids and fluid mixtures, offering open-source functionality similar to REFPROP.
Provides quaternion representation, manipulation, and rotation operations for 3D geometry and animation, with support for smooth interpolation between orientations.
See also AeroSandbox · pytorch-forecasting · aero-open-sdk · lime · autograd · pytorch_revgrad · tf-slim · zuko · cuequivariance · fastai