本文整理汇总了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