File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 88end
99
1010@with_kw mutable struct SolverSettings
11+ n_panels:: Int64 = 40
12+ n_groups:: Int64 = 40
1113 aerodynamic_model_type:: Model = VSM
12- max_iterations:: Int64 = 1000
14+ density:: Float64 = 1.225 # air density [kg/m³]
15+ max_iterations:: Int64 = 1500
16+ rtol:: Float64 = 1e-5 # relative error [-]
17+ tol_reference_error:: Float64 = 0.001
18+ relaxation_factor:: Float64 = 0.03 # relaxation factor for convergence
19+ artificial_damping:: Bool = false # whether to apply artificial damping
20+ k2:: Float64 = 0.1 # artificial damping parameter
21+ k4:: Float64 = 0.0 # artificial damping parameter
22+ type_initial_gamma_distribution:: InitialGammaDistribution = ELLIPTIC # see: [InitialGammaDistribution](@ref)
23+ core_radius_fraction:: Float64 = 1e-20
24+ mu:: Float64 = 1.81e-5 # dynamic viscosity [N·s/m²]
25+ calc_only_f_and_gamma:: Bool = false # whether to only output f and gamma
1326end
1427
1528@Base . kwdef mutable struct VSMSettings
You can’t perform that action at this time.
0 commit comments