We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67f5e7 commit e7ee4c4Copy full SHA for e7ee4c4
examples/bench.jl
@@ -8,21 +8,21 @@ plot = true
8
n_panels = 20 # Number of panels
9
span = 20.0 # Wing span [m]
10
chord = 1.0 # Chord length [m]
11
-v_a = 20.0 # Magnitude of inflow velocity [m/s]
+v_a = 20.0 # Magnitude of inflow velocity [m/s]
12
density = 1.225 # Air density [kg/m³]
13
alpha_deg = 30.0 # Angle of attack [degrees]
14
alpha = deg2rad(alpha_deg)
15
16
# Step 2: Create wing geometry with linear panel distribution
17
-wing = Wing(n_panels, spanwise_panel_distribution=:linear)
+wing = Wing(n_panels, spanwise_panel_distribution=LINEAR)
18
19
# Add wing sections - defining only tip sections with inviscid airfoil model
20
add_section!(wing,
21
- [0.0, span/2, 0.0], # Left tip LE
+ [0.0, span/2, 0.0], # Left tip LE
22
[chord, span/2, 0.0], # Left tip TE
23
:inviscid)
24
25
- [0.0, -span/2, 0.0], # Right tip LE
+ [0.0, -span/2, 0.0], # Right tip LE
26
[chord, -span/2, 0.0], # Right tip TE
27
28
0 commit comments