pymead.analysis.read_aero_data.export_blade_to_paraview_xml#

export_blade_to_paraview_xml(analysis_dir: str, blade: List[ndarray]) str[source]#

Exports an array of multi-element airfoil coordinates to the Paraview XML PolyData (.vtp) format.

Parameters:
  • analysis_dir (str) – Absolute path of the location where the newly created .vtp file will be stored

  • blade – Each array in the list describes the coordinates of a different airfoil, and each array has shape \(M imes 2\), where \(M\) is the number of discrete airfoil coordinates in a given airfoil

Returns:

Absolute path to the newly created .vtp file

Return type:

str