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 b9f0b17 commit cb089eaCopy full SHA for cb089ea
examples/ram_air_kite.jl
@@ -11,15 +11,18 @@ using CSV
11
using DataFrames
12
13
PLOT = true
14
+DEFORM = false
15
16
# Create wing geometry
17
wing = KiteWing("data/ram_air_kite_body.obj", "data/ram_air_kite_foil.dat")
18
body_aero = BodyAerodynamics([wing]; kite_body_origin=wing.center_of_mass)
19
-alpha = [0, 0]
20
-beta = [deg2rad(10), 0]
21
-@time VortexStepMethod.deform!(wing, alpha, beta; width=1.0)
22
-@time VortexStepMethod.init!(body_aero)
+if DEFORM
+ alpha = [deg2rad(10), 0]
+ beta = [deg2rad(10), 0]
23
+ @time VortexStepMethod.deform!(wing, alpha, beta; width=1.0)
24
+ @time VortexStepMethod.init!(body_aero)
25
+end
26
27
# Create solvers
28
vsm_solver = Solver(
0 commit comments