pymead.analysis.read_aero_data.export_geom_and_mses_field_to_paraview#

export_geom_and_mses_field_to_paraview(analysis_dir: str, field_file: str, grid_stats_file: str, grid_file: str, blade_file: str, **kwargs) -> (typing.List[str], <class 'str'>)[source]#

Exports both airfoil geometry and MSES field data to Paraview XML files. The airfoil geometry is exported to a PolyData (.vtp) file, and each zone of the MSES data (number of airfoils plus one) is exported to its own Structured Grid (.vts) file. These files get exported to <analysis_dir>/ParaviewData.

Parameters:
  • analysis_dir (str) – Directory where the ParaviewData directory will be created

  • field_file (str) – Path to the field.<airfoil-name> file created by MSES

  • grid_stats_file (str) – Path to the mplot_grid_stats.log file created by running MSES through pymead

  • grid_file (str) – Path to the grid.<airfoil-name> file created by MSES

  • blade_file (str) – Path to the blade.<airfoil-name> file generated by pymead

  • kwargs – Additional keyword arguments that are passed to read_field_from_mses

Returns:

List of absolute file paths to each of the .vts files and the absolute file path to the .vtp file

Return type:

List[str], str