File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ using Pkg
2+ if ! (" BenchmarkTools" ∈ keys (Pkg. project (). dependencies))
3+ using TestEnv
4+ TestEnv. activate ()
5+ end
16using BenchmarkTools
27using StaticArrays
38using VortexStepMethod
@@ -18,18 +23,18 @@ using LinearAlgebra
1823 n_panels = 20 # Number of panels
1924 span = 20.0 # Wing span [m]
2025 chord = 1.0 # Chord length [m]
21- v_a = 20.0 # Magnitude of inflow velocity [m/s]
26+ v_a = 20.0 # Magnitude of inflow velocity [m/s]
2227 density = 1.225 # Air density [kg/m³]
2328 alpha_deg = 30.0 # Angle of attack [degrees]
2429 alpha = deg2rad (alpha_deg)
2530
2631 wing = Wing (n_panels, spanwise_panel_distribution= LINEAR)
2732 add_section! (wing,
28- [0.0 , span/ 2 , 0.0 ], # Left tip LE
33+ [0.0 , span/ 2 , 0.0 ], # Left tip LE
2934 [chord, span/ 2 , 0.0 ], # Left tip TE
3035 :inviscid )
3136 add_section! (wing,
32- [0.0 , - span/ 2 , 0.0 ], # Right tip LE
37+ [0.0 , - span/ 2 , 0.0 ], # Right tip LE
3338 [chord, - span/ 2 , 0.0 ], # Right tip TE
3439 :inviscid )
3540
You can’t perform that action at this time.
0 commit comments