From d639096e05c4a10e94b699895d267ba72de7ca5a Mon Sep 17 00:00:00 2001 From: Thomas Lambert <t.lambert@uliege.be> Date: Tue, 19 Sep 2023 16:46:31 +0200 Subject: [PATCH] chore(template): minor adjustments --- src/configs/template.m | 2 +- src/configs/templatecoax.m | 6 +++++- src/rotare.m | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/configs/template.m b/src/configs/template.m index 4f6de7f..3e471b3 100644 --- a/src/configs/template.m +++ b/src/configs/template.m @@ -63,7 +63,7 @@ Sim.Save.filename = 'template'; % File name of the saved result % Outputs Sim.Out.showPlots = true; % Show all plots (forces, angles, speed, ...) -Sim.Out.show3D = false; % Show the 3D view of the whole rotor +Sim.Out.show3D = true; % Show the 3D view of the whole rotor Sim.Out.hubType = 'tangent_ogive'; % Hub (nose cone) type on the 3D view (see docs for list) Sim.Out.console = true; % Print the final results in console Sim.Out.verbosity = 'min'; % Verbosity level of the console output ('min', 'all') diff --git a/src/configs/templatecoax.m b/src/configs/templatecoax.m index 0c64691..004aa0a 100644 --- a/src/configs/templatecoax.m +++ b/src/configs/templatecoax.m @@ -19,7 +19,11 @@ % ================================================================================================== % ================================== Baseline configuration ======================================== % ================================================================================================== -template; % Just load exisiting template +% Just load exisiting template +template; + +% Currently only indvel is supported fro coaxial +Mod.solvers = 'indvel'; % BEMT Solver ('leishman', 'indfact', 'indvel', 'stahlhut', 'all') % ================================================================================================== % ================================= Blade and rotor geometry ======================================= diff --git a/src/rotare.m b/src/rotare.m index efdf786..166a186 100644 --- a/src/rotare.m +++ b/src/rotare.m @@ -95,7 +95,7 @@ function [Results] = rotare(configFile) if Sim.Out.show3D % TODO: Allow plot for multiple rotors - % Rot.plot('all', Sim.Out.hubType); + Rot(1).plot('all', Sim.Out.hubType); end % (Following comment is so miss-hit metric checker stays happy) -- GitLab