pymead.analysis.calc_aero_data.line_integral_CPK_inviscid#

line_integral_CPK_inviscid(Cp_up: ndarray, Cp_down: ndarray, rho_up: ndarray, rho_down: ndarray, u_up: ndarray, u_down: ndarray, v_up: ndarray, v_down: ndarray, V_up: ndarray, V_down: ndarray, x: ndarray, y: ndarray) float[source]#

Computes the mechanical flow power coefficient line integral in the inviscid streamtube only according to a normalized version of Eq. (33) in Drela’s “Power Balance in Aerodynamic Flows”, a 2009 AIAA Journal article

Parameters:
  • Cp_up (np.ndarray) – 1-D array of pressure coefficient values at the cell-centers of the column of cells immediately upstream of the actuator disk

  • Cp_down (np.ndarray) – 1-D array of pressure coefficient values at the cell-centers of the column of cells immediately downstream of the actuator disk

  • rho_up (np.ndarray) – 1-D array of density values (\(\rho/\rho_\infty\)) at the cell-centers of the column of cells immediately upstream of the actuator disk

  • rho_down (np.ndarray) – 1-D array of density values (\(\rho/\rho_\infty\)) at the cell-centers of the column of cells immediately downstream of the actuator disk

  • u_up (np.ndarray) – 1-D array of \(x\)-velocity values (\(u/V_\infty\)) at the cell-centers of the column of cells immediately upstream of the actuator disk

  • u_down (np.ndarray) – 1-D array of \(x\)-velocity values (\(u/V_\infty\)) at the cell-centers of the column of cells immediately downstream of the actuator disk

  • v_up (np.ndarray) – 1-D array of \(y\)-velocity values (\(v/V_\infty\)) at the cell-centers of the column of cells immediately upstream of the actuator disk

  • v_down (np.ndarray) – 1-D array of \(y\)-velocity values (\(v/V_\infty\)) at the cell-centers of the column of cells immediately downstream of the actuator disk

  • V_up (np.ndarray) – 1-D array of velocity values (\(V/V_\infty\)) at the cell-centers of the column of cells immediately upstream of the actuator disk

  • V_down (np.ndarray) – 1-D array of velocity values (\(V/V_\infty\)) at the cell-centers of the column of cells immediately downstream of the actuator disk

  • x (np.ndarray) – 2-d array of \(x\)-coordinates of size \(3 \times N\), where \(N\) is the number of streamlines captured by this actuator disk. The middle row (x[1, :]) represents the grid points spanning the actuator disk. The first row (x[0, :]) represents the column of grid points immediately upstream of the actuator disk, and the last row (x[2, :]) represents the column of grid points immediately downstream of the actuator disk.

  • y (np.ndarray) – 2-d array of \(y\)-coordinates of size \(3 \times N\), where \(N\) is the number of streamlines captured by this actuator disk. The middle row (x[1, :]) represents the grid points spanning the actuator disk. The first row (x[0, :]) represents the column of grid points immediately upstream of the actuator disk, and the last row (x[2, :]) represents the column of grid points immediately downstream of the actuator disk.

Returns:

The contribution of this actuator disk to the mechanical flow power coefficient, \(C_{P_K}\)

Return type:

float