From 3b109f3b54d5c081bcf25a8ac9a38f11954de5d3 Mon Sep 17 00:00:00 2001 From: Mauco03 <marco.gaibotti@skywarder.eu> Date: Thu, 12 Dec 2024 22:26:07 +0100 Subject: [PATCH] [coefficients] Removed highAoA references from autoMatricesProtub --- autoMatricesProtub/autoMatProtubConfig.m | 16 ++++++---------- autoMatricesProtub/mainAutoMatProtub.m | 4 +--- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/autoMatricesProtub/autoMatProtubConfig.m b/autoMatricesProtub/autoMatProtubConfig.m index 52ed171d..4cb74fba 100644 --- a/autoMatricesProtub/autoMatProtubConfig.m +++ b/autoMatricesProtub/autoMatProtubConfig.m @@ -24,21 +24,17 @@ set(groot,'defaultLegendInterpreter','latex'); %% STATES % State values in which the aerodynamic coefficients will be computed -vars.mach = 0.05:0.05:1; -vars.alpha = [0 0.1 0.5 1 2.5 5 7.5 10 35 60 90.1 115 130 170]; +vars.mach = 0.1:0.1:1; +% vars.alpha = [-60 -35 -10 -7.5 -5 -2.5 -1 -0.5 -0.1 0 0.1 0.5 1 2.5 5 7.5 10 35 60]; +% vars.beta = [-10 -7.5 -5 -2.5 -1 -0.5 -0.1 0 0.1 0.5 1 2.5 5 7.5 10]; +vars.alpha = [0 0.1 0.5 1 2.5 5 7.5 10 35 60]; vars.beta = []; -vars.phi = 0:24:336; % phi = 0:(360/nFins) +% vars.phi = []; +vars.phi = 0:24:360; % phi = 0:(360/nFins) vars.alt = (0:400:4000); % above local ground (env.z0 will be added in main) % xcg discretization vars.Nxcg = 3; % Number of wanted xcgs in order to generate N aerodynamic matrices -%% HIGH AOA -% varsHighAOA.mach = 0.05:0.05:0.7; -% varsHighAOA.alpha = [0 1 5 10 35 60 90.1 115 130 170]; -% varsHighAOA.beta = []; -% varsHighAOA.phi = 0:12:120; % phi = 0:(360/nFins) -% varsHighAOA.alt = (0:400:4000); % above local ground (env.z0 will be added in main) - %% FINS CN partial output saveFinsCN = false; \ No newline at end of file diff --git a/autoMatricesProtub/mainAutoMatProtub.m b/autoMatricesProtub/mainAutoMatProtub.m index 55798cc7..3b94be9a 100644 --- a/autoMatricesProtub/mainAutoMatProtub.m +++ b/autoMatricesProtub/mainAutoMatProtub.m @@ -1,4 +1,4 @@ -function [coeffsTot, coeffsTotHighAOA] = mainAutoMatProtub(rocket, environment, settings, options) +function coeffsTot = mainAutoMatProtub(rocket, environment, settings, options) arguments rocket = []; % Empty by default environment Environment = Environment.empty @@ -22,11 +22,9 @@ if isempty(settings), autoMatSettings = Settings('autoMatProtub'); end %% FINALIZE CONFIG (with data not directly editable) % correcting altitudes autoMatSettings.vars.alt = autoMatSettings.vars.alt + environment.z0; -% autoMatSettings.varsHighAOA.alt = autoMatSettings.varsHighAOA.alt + environment.z0; % adding airbrakes length autoMatSettings.vars.hprot = rocket.airbrakes.height; -% autoMatSettings.varsHighAOA.hprot = []; % overriding xcg number if the motor is solid if rocket.motor.type == MotorType.Solid && autoMatSettings.vars.Nxcg ~= 2 -- GitLab