capytaine.post_pro.kochin module

Computation of the Kochin function.

capytaine.post_pro.kochin.compute_kochin(result, theta, ref_point=(0.0, 0.0))[source]

Compute the far field coefficient

Parameters:
  • result (LinearPotentialFlowResult) – solved potential flow problem

  • theta (float or 1-dim array of floats) – angles at which the coefficient is computed

  • ref_point (couple of float, optional) – point of reference around which the far field coefficient is computed

Returns:

H – values of the Kochin function

Return type:

same type as theta