@@ -37,8 +37,8 @@ XF_SOLVER = XFoilSolver(npan=XF_NPAN, max_iter=XF_MAX_ITER, ncrit=N_CRIT,
3737 xtrip= (XTR_UPPER, XTR_LOWER), mach= XF_MACH)
3838
3939# VSM solver stability settings.
40- RELAXATION = 0.03 # iteration relaxation factor
41- ARTIFICIAL_DAMPING = false # smooth-circulation stabiliser for difficult cases
40+ RELAXATION = 0.03 # iteration relaxation factor
41+ ARTIFICIAL_VISCOSITY = false # post-stall stabiliser for difficult cases
4242
4343# V3_25.obj is already in slicer convention (x=chord, y=span, z=up).
4444ROTATION = I
@@ -76,7 +76,7 @@ angle_range = range(-5, 25, length=31)
7676println (" \n Creating wing with CFD polars..." )
7777settings_cfd = VSMSettings (" TUDELFT_V3_KITE/vsm_settings.yaml" )
7878settings_cfd. solver_settings. relaxation_factor = RELAXATION
79- settings_cfd. solver_settings. artificial_damping = ARTIFICIAL_DAMPING
79+ settings_cfd. solver_settings. is_with_artificial_viscosity = ARTIFICIAL_VISCOSITY
8080wing_cfd = Wing (settings_cfd)
8181refine! (wing_cfd)
8282body_cfd = BodyAerodynamics ([wing_cfd])
@@ -91,7 +91,7 @@ VortexStepMethod.reinit!(body_nf)
9191settings_nf = VSMSettings (" TUDELFT_V3_KITE/vsm_settings.yaml" )
9292settings_nf. wings[1 ]. geometry_file = nf_yaml
9393settings_nf. solver_settings. relaxation_factor = RELAXATION
94- settings_nf. solver_settings. artificial_damping = ARTIFICIAL_DAMPING
94+ settings_nf. solver_settings. is_with_artificial_viscosity = ARTIFICIAL_VISCOSITY
9595solver_nf = Solver (settings_nf)
9696
9797# Compare CFD-polar and NeuralFoil-polar wings against published references
0 commit comments