Skip to content

Commit 89157f7

Browse files
committed
improve examples
1 parent 88bc949 commit 89157f7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/ram_air_kite.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ using VortexStepMethod
22
using LinearAlgebra
33
using Pkg
44

5-
if ! ("CSV" keys(Pkg.project().dependencies))
6-
using TestEnv; TestEnv.activate()
5+
if !("CSV" keys(Pkg.project().dependencies))
6+
using TestEnv
7+
TestEnv.activate()
78
end
89
using CSV
910
using DataFrames
@@ -50,7 +51,7 @@ plot && plot_geometry(
5051
)
5152

5253
# Solving and plotting distributions
53-
@time results = solve(VSM, body_aero)
54+
results = solve(VSM, body_aero)
5455
@time results = solve(VSM, body_aero)
5556

5657
CAD_y_coordinates = [panel.aerodynamic_center[2] for panel in body_aero.panels]

examples/rectangular_wing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ 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)

0 commit comments

Comments
 (0)