File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ using LinearAlgebra
55using VortexStepMethod
66using GLMakie
77
8- project_dir = dirname (dirname (pathof (VortexStepMethod))) # Go up one level from src to project root
9-
108# Load VSM vsm_settings from YAML configuration file
119vsm_settings = VSMSettings (" pyramid_model/vsm_settings.yaml" )
1210
Original file line number Diff line number Diff line change 7272
7373# Solving
7474println (" Solve" )
75+ results = nothing
7576results = VortexStepMethod. solve (solver, body_aero; log= true )
76- @time results = solve (solver, body_aero; log= true )
77+ @time results = VortexStepMethod . solve (solver, body_aero; log= true )
7778
7879body_y_coordinates = [panel. aero_center[2 ] for panel in body_aero. panels]
7980
80- if PLOT
81+ if PLOT && ! isnothing (results)
8182 plot_combined_analysis (
8283 solver,
8384 body_aero,
You can’t perform that action at this time.
0 commit comments