From 9aac9c5d7547b2d98903083e130261624f82494b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Karakaya?= Date: Fri, 20 Nov 2026 00:03:31 +0300 Subject: [PATCH] chore: remove unused imports; update stale docs lines Co-Authored-By: Claude Opus 5.5 --- docs/index.md | 2 +- docs/reference/validation.md | 2 +- pythrust/openmdao/components.py | 1 - tests/test_blade_element.py | 1 - tests/test_models.py | 1 - tests/test_polar.py | 2 +- tests/test_solver.py | 3 +-- 7 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/index.md b/docs/index.md index f3f1501..725a62d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -58,7 +58,7 @@ Electric UAV propulsion design usually crosses several domains: aerodynamics, mo - **Propellers** - Tabulated coefficients from APC files, or a blade-element model from QPROP files. + Tabulated coefficients from APC files, or a blade-element model from QPROP, APC or UIUC geometry files with NeuralFoil airfoil polars. [Open reference](reference/propellers.md) diff --git a/docs/reference/validation.md b/docs/reference/validation.md index c393d82..f4d4587 100644 --- a/docs/reference/validation.md +++ b/docs/reference/validation.md @@ -12,7 +12,7 @@ and APC publishes a geometry file for: 75 propellers, 7 to 21 inches, in three f ## Method -Four propeller models are compared with UIUC's static tests (thrust and power coefficients +Three propeller models are compared with UIUC's static tests (thrust and power coefficients against RPM) and forward-flight runs (against advance ratio, at a few RPM each): - **Blade-element model, NeuralFoil polars**: APC's geometry file read with diff --git a/pythrust/openmdao/components.py b/pythrust/openmdao/components.py index 9977181..8a312aa 100644 --- a/pythrust/openmdao/components.py +++ b/pythrust/openmdao/components.py @@ -2,7 +2,6 @@ from __future__ import annotations -import math import openmdao.api as om from pythrust.battery import FixedVoltageBattery diff --git a/tests/test_blade_element.py b/tests/test_blade_element.py index 0f33944..c437d45 100644 --- a/tests/test_blade_element.py +++ b/tests/test_blade_element.py @@ -1,5 +1,4 @@ import json -import math from pathlib import Path import numpy as np diff --git a/tests/test_models.py b/tests/test_models.py index 85cb704..7b2d11f 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -1,5 +1,4 @@ import math -import pytest from pythrust.battery import FixedVoltageBattery from pythrust.motor import MotorSpec from pythrust.propulsion.models.operating_point import OperatingPoint diff --git a/tests/test_polar.py b/tests/test_polar.py index 58e5371..0a82166 100644 --- a/tests/test_polar.py +++ b/tests/test_polar.py @@ -11,7 +11,7 @@ from pythrust.motor import MotorSpec from pythrust.propeller import AirfoilPolar, BladeElementPropeller, BladeGeometry, BladeSection, BlendedPolar from pythrust.propeller import apc_airfoil_polars -from pythrust.propeller.polar import NEURALFOIL_ALPHA_DEG, REYNOLDS, StationPolars +from pythrust.propeller.polar import REYNOLDS, StationPolars from pythrust.propulsion import PropulsionSolver, SystemSpec DATA = Path(__file__).parent / "data" diff --git a/tests/test_solver.py b/tests/test_solver.py index 90ed0b2..c9a4313 100644 --- a/tests/test_solver.py +++ b/tests/test_solver.py @@ -4,8 +4,7 @@ from pythrust.motor import MotorSpec from pythrust.propeller import PropellerDataPoint, TablePropeller from pythrust.propulsion.models import ( - SystemSpec, - OperatingPoint + SystemSpec ) from pythrust.propulsion.solver import PropulsionSolver, SolverConfig