Skip to content

Commit eec72f2

Browse files
committed
Default to loop
1 parent e821530 commit eec72f2

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/bench.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ vsm_solver = Solver(
6969
body_aero;
7070
aerodynamic_model_type=VSM,
7171
is_with_artificial_damping=false,
72-
solver_type=NONLIN,
72+
solver_type=LOOP,
7373
)
7474

7575
# Setting velocity conditions

examples/obj_to_yaml_kite.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ refine!(wing)
7272
body_aero = BodyAerodynamics([wing])
7373
VortexStepMethod.reinit!(body_aero)
7474

75-
solver = Solver(body_aero; aerodynamic_model_type=VSM, rtol=1e-5, solver_type=NONLIN)
75+
solver = Solver(body_aero; aerodynamic_model_type=VSM, rtol=1e-5, solver_type=LOOP)
7676
set_va!(body_aero, [cos(deg2rad(8)) * v_a, 0.0, sin(deg2rad(8)) * v_a])
7777
results = VortexStepMethod.solve(solver, body_aero; log=true)
7878

examples/ram_air_kite.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ fig_audit = plot_slices_3d(joinpath("data", "ram_air_kite", "polars_xfoil");
8181
delta=1.0, obj_path=obj_path)
8282
GLMakie.save("ram_air_slices_audit.png", fig_audit)
8383
body_xfoil = BodyAerodynamics([wing_xfoil])
84-
solver_xfoil = Solver(body_xfoil; aerodynamic_model_type=VSM, rtol=1e-5, solver_type=NONLIN,
84+
solver_xfoil = Solver(body_xfoil; aerodynamic_model_type=VSM, rtol=1e-5, solver_type=LOOP,
8585
relaxation_factor=RELAXATION, is_with_artificial_damping=ARTIFICIAL_DAMPING)
8686

8787
println("Creating NeuralFoil wing...")
8888
wing_nf = matrix_wing(NF_SOLVER, "polars_neuralfoil")
8989
body_nf = BodyAerodynamics([wing_nf])
90-
solver_nf = Solver(body_nf; aerodynamic_model_type=VSM, rtol=1e-5, solver_type=NONLIN,
90+
solver_nf = Solver(body_nf; aerodynamic_model_type=VSM, rtol=1e-5, solver_type=LOOP,
9191
relaxation_factor=RELAXATION, is_with_artificial_damping=ARTIFICIAL_DAMPING)
9292

9393
# Compare using plot_polars

0 commit comments

Comments
 (0)