Skip to content
Snippets Groups Projects
Commit 25ff33ee authored by Thomas Lambert's avatar Thomas Lambert :helicopter:
Browse files

fix(ElemPerf): bug in Reynolds calculation

fix(ElemPerf): fix wrong writting of properties

See merge request rotare/rotare!5
parents 0c54f14f c3a3acbf
No related branches found
No related tags found
No related merge requests found
......@@ -164,7 +164,8 @@ classdef ElemPerf < handle
% 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);
reynolds = Flow.reynolds(relVel, self.Rot.Bl.chord, ...
self.Op.Flow.mu, self.Op.Flow.rho);
else
reynolds = self.reynolds_;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment