5 releases
0.0.5 | Jun 6, 2023 |
---|---|
0.0.4 | May 31, 2023 |
0.0.3 | May 30, 2023 |
0.0.2 | May 27, 2023 |
0.0.1 | May 13, 2023 |
#610 in Science
33 downloads per month
2.5MB
137 lines
nacafoil
NACA airfoil generation.
Usage
This can be used to generate boundary points for NACA 4-digit airfoils.
use crate::nacafoil::Airfoil;
fn generate_naca0006_boundary() {
let n = 1000;
let c: f64 = 1.0;
let name: String = "0006".to_string();
let airfoil = Airfoil::new(name, c, n);
let upper_x = airfoil.upper_x;
let upper_y = airfoil.upper_y;
let lower_x = airfoil.lower_x;
let lower_y = airfoil.lower_y;
}
Results are test againts airfoil data in tests/data.json within 0.2 percent of chord.