File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11wings :
22 - name : main_wing
33 n_panels : 40
4+ n_groups : 40
45 spanwise_panel_distribution : " LINEAR"
56 spanwise_direction : [0.0, 1.0, 0.0]
7+ remove_nan : true
68 - name : tail
79 n_panels : 20
810solver_settings :
Original file line number Diff line number Diff line change 11# read the vsm_settings.yaml file
22
33import YAML
4- using Parameters
4+ using Parameters, StaticArrays
5+
6+ const MVec3 = MVector{3 , Float64}
57
68filename = " vsm_settings.yaml"
79data = YAML. load_file (joinpath (" data" , filename))
810
911@with_kw mutable struct WingSettings
1012 name:: String = " main_wing"
11- n_groups:: Int64 = 40
1213 n_panels:: Int64 = 40
14+ n_groups:: Int64 = 40
1315 spanwise_panel_distribution:: String = " LINEAR"
16+ spanwise_direction:: MVec3 = [0.0 , 1.0 , 0.0 ]
1417end
1518
1619@with_kw mutable struct SolverSettings
You can’t perform that action at this time.
0 commit comments