Skip to content

Commit e7ee4c4

Browse files
committed
bugfix
1 parent c67f5e7 commit e7ee4c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/bench.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ plot = true
88
n_panels = 20 # Number of panels
99
span = 20.0 # Wing span [m]
1010
chord = 1.0 # Chord length [m]
11-
v_a = 20.0 # Magnitude of inflow velocity [m/s]
11+
v_a = 20.0 # Magnitude of inflow velocity [m/s]
1212
density = 1.225 # Air density [kg/m³]
1313
alpha_deg = 30.0 # Angle of attack [degrees]
1414
alpha = deg2rad(alpha_deg)
1515

1616
# Step 2: Create wing geometry with linear panel distribution
17-
wing = Wing(n_panels, spanwise_panel_distribution=:linear)
17+
wing = Wing(n_panels, spanwise_panel_distribution=LINEAR)
1818

1919
# Add wing sections - defining only tip sections with inviscid airfoil model
2020
add_section!(wing,
21-
[0.0, span/2, 0.0], # Left tip LE
21+
[0.0, span/2, 0.0], # Left tip LE
2222
[chord, span/2, 0.0], # Left tip TE
2323
:inviscid)
2424
add_section!(wing,
25-
[0.0, -span/2, 0.0], # Right tip LE
25+
[0.0, -span/2, 0.0], # Right tip LE
2626
[chord, -span/2, 0.0], # Right tip TE
2727
:inviscid)
2828

0 commit comments

Comments
 (0)