本文整理匯總了Python中ccblade.CCBlade._CCBlade__windComponents方法的典型用法代碼示例。如果您正苦於以下問題:Python CCBlade._CCBlade__windComponents方法的具體用法?Python CCBlade._CCBlade__windComponents怎麽用?Python CCBlade._CCBlade__windComponents使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ccblade.CCBlade
的用法示例。
在下文中一共展示了CCBlade._CCBlade__windComponents方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: relativeWind
# 需要導入模塊: from ccblade import CCBlade [as 別名]
# 或者: from ccblade.CCBlade import _CCBlade__windComponents [as 別名]
plt.plot(m66_r/m66_Rtip, m66_RE_local, linestyle=':',linewidth=3, label='model66-SavedGames')
plt.plot(m67_r/m67_Rtip, m67_RE_local, linewidth=3, label='model67')
#plt.plot(m66_r/m66_Rtip, m66yaw20_RE_local, linewidth=3, label='model66-SavedGames yaw 20')
plt.title('Reynolds at TSR 7')
plt.xlabel('$r/R$')
plt.ylabel('$Re_c$')
plt.legend(loc='bottom right')
plt.grid()
plt.show()
plt.savefig('compare_Reynolds_m4_m6_m66_m67.png')
plt.close(3)
#x, y components of wind in blade-aligned coordinate system
m4_Vx, m4_Vy, _, _, _, _ = m4_rotor._CCBlade__windComponents(m4_Uinf,m4_Omega,pitch)
m6_Vx, m6_Vy, _, _, _, _ = m6_rotor._CCBlade__windComponents(m6_Uinf,m6_Omega,pitch)
## but Vx and Vy do not have induction. This will return with induction effects
#alpha, W, Re = _bem.relativewind(phi, a, ap, Vx, Vy, self.pitch,
# chord, theta, self.rho, self.mu)
#
#fzero, a, ap = m4_rotor._CCBlade__runBEM(
#
#alpha, W, Re = relativeWind(phi, a, ap, Vx, Vy, pitch, &
# chord, theta, rho, mu, alpha, W, Re)
#! out
#real(dp), intent(out) :: alpha, W, Re
# local inflow angle \phi
# magnitude of the inflow velocity W