aPriori.DNS.gradient_yΒΆ

aPriori.DNS.gradient_y(F, mesh, filter_size=1)ΒΆ

Computes the gradient of a 3D, non downsampled, filtered field. Numpy is used to computed the gradients on all the possible downsampled grids

Parameters:
  • Ur (Scalar3D object) – Is the field to filter.

  • mesh (Mesh3D object) – Is the mesh object used to compute the derivatives.

  • filter_size (int) – Is the filter size used to filter the field.

  • verbose (bool) – If True, it will output relevant information.

Returns:

grad_y – The y component of the gradient

Return type:

numpy array