File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ wa = BodyAerodynamics([wing])
114114
115115# Set inflow conditions
116116vel_app = [cos (alpha), 0.0 , sin (alpha)] .* v_a
117- set_va! (wa, ( vel_app, 0.0 )) # Second parameter is yaw rate
117+ set_va! (wa, vel_app)
118118```
119119It is possible to import the wing geometry using an ` .obj ` file as shown in the example ` ram_air_kite.jl ` .
120120
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ wa = BodyAerodynamics([wing])
115115
116116# Set inflow conditions
117117vel_app = [cos (alpha), 0.0 , sin (alpha)] .* v_a
118- set_va! (wa, ( vel_app, 0.0 )) # Second parameter is yaw rate
118+ set_va! (wa, vel_app)
119119```
120120It is possible to import the wing geometry using an ` .obj ` file as shown in the example ` ram_air_kite.jl ` .
121121
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ wa = BodyAerodynamics([wing])
3131
3232# Set inflow conditions
3333vel_app = [cos (alpha), 0.0 , sin (alpha)] .* v_a
34- set_va! (wa, ( vel_app, 0.0 )) # Second parameter is yaw rate
34+ set_va! (wa, vel_app)
3535
3636# Step 4: Initialize solvers for both LLT and VSM methods
3737llt_solver = Solver (aerodynamic_model_type= :LLT )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ using LinearAlgebra
3636 body_aero = BodyAerodynamics ([wing])
3737
3838 vel_app = [cos (alpha), 0.0 , sin (alpha)] .* v_a
39- set_va! (body_aero, vel_app) # Second parameter is yaw rate
39+ set_va! (body_aero, vel_app)
4040
4141 # Initialize solvers for both LLT and VSM methods
4242 solver = Solver ()
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function create_wa()
2929 wa = BodyAerodynamics ([wing])
3030 # Set inflow conditions
3131 vel_app = [cos (alpha), 0.0 , sin (alpha)] .* v_a
32- set_va! (wa, vel_app) # Second parameter is yaw rate
32+ set_va! (wa, vel_app)
3333 wa
3434end
3535
You can’t perform that action at this time.
0 commit comments