forked from djlee9812/prop-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish final edits and documentation
- Loading branch information
Showing
13 changed files
with
106 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# prop-design | ||
Python wrapped QMil and QProp used to design propellers for HALE UAV in 16.82 Flight Vehicle Development | ||
Python wrapped QMil and QProp used to design propellers for HALE UAV in 16.82 Flight Vehicle Development for the Solar HALE UAV, Dawn. | ||
|
||
## How to Use | ||
Important functions are sectioned off into different files. | ||
Important functions for prop design are sectioned off into different files. | ||
|
||
### air_data.py | ||
This file is used to modify qcon.def which specifies air data for Qmil and Qprop and accepts an altitude when run in the terminal as an argument. Data is pulled from air_data.csv and interpolated. | ||
This file is used to modify qcon.def which specifies air data for Qmil and Qprop and accepts an altitude when run in the terminal as an argument. There are two options for data -- to pull from air_data.csv which is more accurate but slower, or to use aerosandbox curve fit atmospheric model which is faster. The latter is the default. | ||
|
||
### qmil_design.py | ||
This file takes template.mil and optimizes over rpm for max efficiency to design a prop at the given conditions. The final .mil file used is saved in output.mil and the prop is saved in best_prop | ||
This file takes template.mil and optimizes over rpm for max efficiency to design a prop at the given conditions. The final .mil file used is saved in output.mil and the prop is saved in best_prop. Plots propeller geometry | ||
|
||
### trajectory.py | ||
This file takes in a 24 hour cycle trajectory and computes various propulsive data over the cycle. The data is pulled from time_altitude_speed.npz which contains arrays for time, altitude, velocity, and thrust | ||
|
||
### qprop_sweep.py | ||
This file sweeps over propulsive area, altitude, airspeed, thrust, and variable pitch angle to calculate efficiency and shaft power at each condition. This data is then saved to opt_sweep.npz | ||
### climb.py | ||
This file works similar to trajectory.py. It requires a climb_path.npz input and runs QProp for the climb trajectory. | ||
|
||
### curve_fit.py | ||
This file takes the sweep data from qprop_sweep and attempts to fit a curve to the data. | ||
### descent.py | ||
The descend() function calculates a descent trajectory with windmilling props. See docstring and final memo for detailed information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
Template prop lrp01.dat M0.3 | ||
|
||
2 ! Nblades | ||
|
||
0.3800 6.2832 ! CL0 CL_a | ||
-0.4000 1.2900 ! CLmin CLmax | ||
|
||
0.01140 0.03400 0.09000 0.5226 ! CD0 CD2u CD2l CLCD0 | ||
100000.0 -0.500 ! REref REexp | ||
|
||
1.0000 1.0000 1.0000 ! Rfac Cfac Bfac | ||
0.0000 0.0000 0.0000 ! Radd Cadd Badd | ||
|
||
# r c beta | ||
0.11633 0.77139E-01 72.3249 | ||
0.14900 0.10000 66.6475 | ||
0.18167 0.12314 61.3643 | ||
0.21433 0.14507 56.5582 | ||
0.24700 0.16344 52.2776 | ||
0.27967 0.17693 48.4979 | ||
0.31233 0.18518 45.1708 | ||
0.34500 0.18842 42.2456 | ||
0.37767 0.18735 39.6728 | ||
0.41033 0.18293 37.4053 | ||
0.44300 0.17618 35.3993 | ||
0.47567 0.16805 33.6145 | ||
0.50833 0.15933 32.0142 | ||
0.54100 0.15062 30.5648 | ||
0.57367 0.14231 29.2378 | ||
0.60633 0.13444 28.0156 | ||
0.63900 0.12698 26.8846 | ||
0.67167 0.11989 25.8330 | ||
0.70433 0.11312 24.8507 | ||
0.73700 0.10661 23.9288 | ||
0.76967 0.10030 23.0597 | ||
0.80233 0.94093E-01 22.2366 | ||
0.83500 0.87912E-01 21.4539 | ||
0.86767 0.81643E-01 20.7065 | ||
0.90033 0.75143E-01 19.9899 | ||
0.93300 0.68217E-01 19.3002 | ||
0.96567 0.60573E-01 18.6341 | ||
0.99833 0.51712E-01 17.9886 | ||
1.0310 0.40600E-01 17.3612 | ||
1.0637 0.23844E-01 16.7495 | ||
1.0800 0.13349E-01 16.4495 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters