Skip to content

Commit 4c16cde

Browse files
committed
Simpler example, angle at wingtips
1 parent ddfc633 commit 4c16cde

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/ram_air_kite.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,22 @@ PLOT = true
66
PRN = true
77
USE_TEX = false
88
DEFORM = true
9-
LINEARIZE = true
9+
LINEARIZE = false
1010

1111
# Create wing geometry
1212
wing = ObjWing(
1313
joinpath("data", "ram_air_kite", "ram_air_kite_body.obj"),
1414
joinpath("data", "ram_air_kite", "ram_air_kite_foil.dat");
15-
n_unrefined_sections=4,
15+
n_unrefined_sections=2,
1616
prn=PRN
1717
)
1818
body_aero = BodyAerodynamics([wing];)
1919
println("First init")
2020
@time VortexStepMethod.reinit!(body_aero)
2121

2222
if DEFORM
23-
# Linear interpolation of alpha from 10° at one tip to 0° at the other
2423
println("Deform")
25-
@time VortexStepMethod.unrefined_deform!(wing, deg2rad.([10,20,10,0]), deg2rad.([-10,0,-10,0]); smooth=true)
24+
@time VortexStepMethod.unrefined_deform!(wing, deg2rad.([-10,0]), deg2rad.([0,0]); smooth=true)
2625
println("Deform init")
2726
@time VortexStepMethod.reinit!(body_aero; init_aero=false)
2827
end

0 commit comments

Comments
 (0)