297297
298298
299299"""
300- KiteWing
300+ RamAirWing
301301
302302Represents a curved wing that inherits from Wing with additional geometric properties.
303303
@@ -319,15 +319,15 @@ Represents a curved wing that inherits from Wing with additional geometric prope
319319 - area_interp::Extrapolation
320320
321321"""
322- mutable struct KiteWing <: AbstractWing
322+ mutable struct RamAirWing <: AbstractWing
323323 n_panels:: Int64
324324 spanwise_panel_distribution:: PanelDistribution
325325 spanwise_direction:: MVec3
326326 sections:: Vector{Section}
327327 refined_sections:: Vector{Section}
328328 remove_nan:: Bool
329329
330- # Additional fields for KiteWing
330+ # Additional fields for RamAirWing
331331 non_deformed_sections:: Vector{Section}
332332 mass:: Float64
333333 circle_center_z:: Float64
@@ -342,11 +342,11 @@ mutable struct KiteWing <: AbstractWing
342342end
343343
344344"""
345- KiteWing (obj_path, dat_path; alpha=0.0, crease_frac=0.75, wind_vel=10., mass=1.0,
345+ RamAirWing (obj_path, dat_path; alpha=0.0, crease_frac=0.75, wind_vel=10., mass=1.0,
346346 n_panels=54, n_sections=n_panels+1, spanwise_panel_distribution=UNCHANGED,
347347 spanwise_direction=[0.0, 1.0, 0.0], remove_nan::Bool=true)
348348
349- Constructor for a [KiteWing ](@ref) that allows to use an `.obj` and a `.dat` file as input.
349+ Constructor for a [RamAirWing ](@ref) that allows to use an `.obj` and a `.dat` file as input.
350350
351351# Parameters
352352- obj_path: Path to the `.obj` file used for creating the geometry
@@ -364,7 +364,7 @@ Constructor for a [KiteWing](@ref) that allows to use an `.obj` and a `.dat` fil
364364- `spanwise_direction`=[0.0, 1.0, 0.0]
365365- `remove_nan::Bool`: Wether to remove the NaNs from interpolations or not
366366"""
367- function KiteWing (obj_path, dat_path; alpha= 0.0 , crease_frac= 0.75 , wind_vel= 10. , mass= 1.0 ,
367+ function RamAirWing (obj_path, dat_path; alpha= 0.0 , crease_frac= 0.75 , wind_vel= 10. , mass= 1.0 ,
368368 n_panels= 54 , n_sections= n_panels+ 1 , spanwise_panel_distribution= UNCHANGED,
369369 spanwise_direction= [0.0 , 1.0 , 0.0 ], remove_nan= true )
370370
@@ -420,26 +420,26 @@ function KiteWing(obj_path, dat_path; alpha=0.0, crease_frac=0.75, wind_vel=10.,
420420 push! (sections, Section (LE_point, TE_point, POLAR_MATRICES, aero_data))
421421 end
422422
423- KiteWing (n_panels, spanwise_panel_distribution, spanwise_direction, sections, sections, remove_nan, sections,
423+ RamAirWing (n_panels, spanwise_panel_distribution, spanwise_direction, sections, sections, remove_nan, sections,
424424 mass, circle_center_z, gamma_tip, inertia_tensor, radius,
425425 le_interp, te_interp, area_interp, zeros (n_panels), zeros (n_panels))
426426end
427427
428428"""
429- deform!(wing::KiteWing , alphas::AbstractVector, betas::AbstractVector; width)
429+ deform!(wing::RamAirWing , alphas::AbstractVector, betas::AbstractVector; width)
430430
431431Deform wing by applying left and right alpha and beta.
432432
433433# Arguments
434- - `wing`: KiteWing to deform
434+ - `wing`: RamAirWing to deform
435435- `alphas`: [left, right] the angle between of the kite and the body x-axis in radians
436436- `betas`: [left, right] the deformation of the trailing edges
437437- `width`: Transition width in meters to smoothe out the transition from left to right deformation
438438
439439# Effects
440440Updates wing.sections with deformed geometry
441441"""
442- function deform! (wing:: KiteWing , alphas:: AbstractVector , betas:: AbstractVector ; width)
442+ function deform! (wing:: RamAirWing , alphas:: AbstractVector , betas:: AbstractVector ; width)
443443 local_y = zeros (MVec3)
444444 chord = zeros (MVec3)
445445
0 commit comments