Hey guys, can someone help me? I have to solve two equations (bellow), Reynolds and the chord of an airfoil. But the chord depends on Cl ,Reynolds depends on the chord and Cl depends on Reynolds (an if command). How can I do that?
c = (8*pi*r/(B*CL)).*(1-cosd(phi));
Re = ro*Vrel.*c./mi;
if Re < 3*10^4
CL = 0.989;
CD = 0.0151;
alfa = 7,61;
else
CL = 0.545;
CD = 0.0081;
alfa = 5.54;
end

 채택된 답변

Walter Roberson
Walter Roberson 2019년 12월 18일

0 개 추천

CL = 0.989 * ones(size(Re));
CD = 0.0151 * ones(size(Re));
alfa = 7.61 * ones(size(Re)); %not correction from 7,61
mask = Re >= 3E4;
CL(mask) = 0.545;
CD(mask) = 0.0081;
alfa(mask) = 5.54;

댓글 수: 2

Andressa Rosa
Andressa Rosa 2019년 12월 18일
Hey, thank you so much for helping me! It doesn't worked, Matlab doesn't recognize the variable CL in the other equation. Whenever I try to change the order one of them is not recognized.
?
You are defining c in terms of CL, and Re in terms of c, but if Re ends up being in a particular range then CL has to be a particular value and otherwise CL has to be another value??
If you designate any one of the variables B mi phi r ro Vrel as the independent variable, then it is possible to solve simultaneous equations to find the range on the designated independent variable that would need to be true in order for Re to be in the particular range, such as
-14835/(4*pi) < r
or
-8175/(4*pi) < r

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Airfoil tools에 대해 자세히 알아보기

질문:

2019년 12월 18일

댓글:

2019년 12월 19일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by