-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinputFile_students_design.py
More file actions
76 lines (59 loc) · 3 KB
/
Copy pathinputFile_students_design.py
File metadata and controls
76 lines (59 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import numpy as np
from pathlib import Path
## I - Input ###########################################################################################################
#Program task:
caseName = 'Baseline_Propeller'
programMode = 'design' #either 'design' or 'analysis'"
specRunType = 'DA' #Design Adkings: DA, Design Larabee: DL
#Analysis Adkings: AA, Analysis Larabee: AL
propellerForAnalysisPath = Path.cwd() / 'output' / 'Baseline_Propeller.json'
#Geometry
B = 2 # Nr of blades
nPoints = 50
D = 9*25.4e-3
HTR = 27e-3/D
#TARGET DESIGN PERFORMANCE
preSpecifiedPerformance = 'thrust' #Specify 'CT', 'CP', 'thrust', 'power', or 'noSwirl' (only available for drela methods)
targetPerformance = 2 #In terms of either CT, CP, thrust [N], power [W], None if noSwirl
#atmospheric conditions
H = 0 #height above sea level
dT = 0 #temp change
#Engine conditions
Design_Speed = 23 # Design speed [m/s]
M_axial = Design_Speed/340.29 #freestream axial mach number
rpmChoice = 'rpm' #either 'rpm', 'tipMach', or 'J'
rpm = 7000 #rotational velocity
#Upstream flow conditions
axialVelocityUpstream = 0*np.ones(nPoints)
tangentialVelocityUpstream = 0*np.ones(nPoints)
#AIRFOIL SPEC
#airfoil type
airfoilChoice = 'NACA16' #'NACA_16' 'noDrag'
#airfoil chord
preSpecChord = False #Is chord pre-specified? True or False
chordChoice = 'linear' #'linear', 'quadratic', 'SR7L', 'GE36'
chordRoot = 8 #as percent of diameter
chordTip = 2 #as percent of diameter
typeOfParabolaChord = 'tip'
activityFactorChoice = 0 #(0) as is, (1) for custom
activityFactorTarget = 120
#airfoil thickness
# thickRoot = 15 #as percent of chord
# thickTip = 6 #as percent of chord
thickRoot = 20 #as percent of chord
thickTip = 12 #as percent of chord
thicknessChoice = 'quadratic' #'linear', 'quadratic', 'SR7L', 'GE36'
typeOfParabolaThickness = 'tip'
#airfoil camber
camberRoot = 0.2
camberTip = 0.3
camberChoice = 'quadratic' #'linear', 'quadratic', 'SR7L' (GE36 not available since airfoil not known)
typeOfParabolaCamber = 'tip'
# Blade loading (starting guess if chord is pre-spec, actual loading if chord is a variable)
cldRoot = 0.5
cldTip = 0.4
cldChoice = 'quadratic' #'linear', 'quadratic'
typeOfParabolacl = 'tip'
#Blade mechanical inputs
bladeDensity = 1300 # Adjusted for SLA print # Density for blade material [kg/m^3]
###############################################################################