capytaine.post_pro.mean_drift_force module¶
Computation of the mean drift force.
- capytaine.post_pro.mean_drift_force.far_field_mean_drift_force(X, dataset)[source]¶
Compute the mean drift forces using far field formulation. Note that the forces are proportional to the square of the wave amplitude, but this implementation does not take into account the wave amplitude.
- Parameters:
X (xarray DataArray) – The motion RAO.
dataset (xarray Dataset) – This function supposes that variables named ‘kochin_diffraction’ and ‘kochin_radiation’ are in the dataset.
- Returns:
The horizontal mean drift forces, depending on omega and the wave direction.
- Return type:
xarray Dataset