| Crates.io | foil_rs |
| lib.rs | foil_rs |
| version | 0.1.4 |
| created_at | 2026-01-03 00:17:48.542811+00 |
| updated_at | 2026-01-18 18:53:13.961849+00 |
| description | Core airfoil geometry + panel-method solver for FoilRs (no Bevy dependency). |
| homepage | https://github.com/carrapaz/FoilRs |
| repository | https://github.com/carrapaz/FoilRs |
| max_upload_size | |
| id | 2019376 |
| size | 90,159 |
foil_rsCore library for FoilRs: NACA 4‑digit airfoil geometry + a lightweight vortex-panel flow solver, Cp sampling, simple polar sweeps, and a small boundary-layer estimate for CDp.
This crate has no Bevy dependency and is intended to be usable in headless/batch workflows.
Add the dependency:
[dependencies]
foil_rs = "0.1"
cargo run -p foil_rs --example headless -- 2412 4.0cargo run -p foil_rs --example export_polar_csv --release -- 2412cargo run -p foil_rs --example export_multi_polars_csv --release -- 2412 "0.5,1.0,2.0" "0.0,0.1"cargo run -p foil_rs --example bench_headless --release -- 2412 4.00.1.x is a “preview” series: the API may change, and numerical results are intended for visualization and trend exploration (not as a drop-in replacement for XFoil).
MIT. See the repository LICENSE file.