From 4ad651669c76aed34732b8211b6d8e758bd3ed2b Mon Sep 17 00:00:00 2001 From: lr360 <liz_tp@proton.me> Date: Thu, 27 Jul 2023 13:57:57 +0200 Subject: [PATCH] style: fix minor style details --- src/classes/@ElemPerf/ElemPerf.m | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/classes/@ElemPerf/ElemPerf.m b/src/classes/@ElemPerf/ElemPerf.m index 8f883c8..75b9a60 100644 --- a/src/classes/@ElemPerf/ElemPerf.m +++ b/src/classes/@ElemPerf/ElemPerf.m @@ -96,7 +96,7 @@ classdef ElemPerf < handle % Cache for dependent properties to avoid excessive recalculation properties (Access = private, Hidden) alpha_ (1, :) double % Angle of attack, [rad] - reynolds_ (1, :) double % Reynolds number, [-] + reynolds_ (1, :) double % Reynolds number, [-] indVelAx_ (1, :) double % Induced axial velocity at rotor disk, [m/s] indVelTg_ (1, :) double % Induced tangential velocity at rotor disk, [m/s] inflowRat_ (1, :) double % Inflow ratio, [-] @@ -160,9 +160,8 @@ classdef ElemPerf < handle end function reynolds = get.reynolds(self) - % if true reynolds is unknown, we use an approximated value - % with the upstream velocity instead of relative velocity at - % the rotor disk + % If Reynolds in unknown, we use an approximate solution + % neglecting induced velocities. if isempty(self.reynolds_) relVel = sqrt(self.tgSpeed.^2 + self.upstreamVelAx.^2); reynolds = Flow.reynolds(relVel, Rot.Bl.chord, Op.Flow.mu, Op.Flow.rho); @@ -207,7 +206,6 @@ classdef ElemPerf < handle end function set.reynolds(self, val) - % Cache value self.reynolds_ = val; end -- GitLab