@@ -5,7 +5,6 @@ using DelimitedFiles
55
66PLOT = true
77USE_TEX = false
8- BILLOWING_ANGLE = billowing_angle_from_percentage (5 ) # Half-angle of billowing arc [rad]
98
109# Data paths (all within this repo)
1110project_dir = dirname (dirname (pathof (VortexStepMethod)))
@@ -20,6 +19,23 @@ literature_paths = [
2019 joinpath (lit_dir, " python_alpha_sweep.csv" ),
2120 joinpath (lit_dir, " windtunnel_alpha_sweep_beta_00_0_Poland_2025_Rey_5e5.csv" ),
2221]
22+
23+ # Load solver settings (coarse: 36 panels, matches 10-section geometry)
24+ settings_data = VortexStepMethod. YAML. load_file (
25+ joinpath (v3_dir, " vsm_settings_coarse.yaml" ))
26+ condition_cfg = settings_data[" condition" ]
27+ solver_cfg = settings_data[" solver_settings" ]
28+ wing_cfg = settings_data[" wings" ][1 ]
29+ n_panels = wing_cfg[" n_panels" ]
30+
31+ # Read billowing angle from settings (degrees → radians, or from percentage)
32+ if haskey (wing_cfg, " billowing_percentage" )
33+ BILLOWING_ANGLE = billowing_angle_from_percentage (
34+ wing_cfg[" billowing_percentage" ])
35+ else
36+ BILLOWING_ANGLE = deg2rad (get (wing_cfg, " billowing_angle" , 0.0 ))
37+ end
38+
2339labels = [
2440 " VSM flat" ,
2541 " VSM billowing $(round (Int, rad2deg (BILLOWING_ANGLE))) °" ,
@@ -29,13 +45,6 @@ labels = [
2945 " WindTunnel Re=5e5" ,
3046]
3147
32- # Load solver settings (coarse: 36 panels, matches 10-section geometry)
33- settings_data = VortexStepMethod. YAML. load_file (
34- joinpath (v3_dir, " vsm_settings_coarse.yaml" ))
35- condition_cfg = settings_data[" condition" ]
36- solver_cfg = settings_data[" solver_settings" ]
37- n_panels = settings_data[" wings" ][1 ][" n_panels" ]
38-
3948# Load coarse geometry (10 structural rib sections)
4049geom_data = VortexStepMethod. YAML. load_file (
4150 joinpath (v3_dir, " aero_geometry_coarse_discretisation.yaml" ))
0 commit comments