pymead.analysis.calc_aero_data.run_mpolar#

run_mpolar(name: str, base_dir: str, alfa_array: ndarray, mpolar_settings: dict, conn: Connection | None = None) str[source]#

A Python wrapper for MPOLAR

Parameters:
  • name (str) – Name of the airfoil. File will be written to base_dir/name/spec.name

  • base_dir (str) – Base directory where the analysis will take place

  • alfa_array (numpy.ndarray) – Array of angle of attack values in degrees

  • mpolar_settings (dict or MPOLARSettings) – MPOLAR settings. If a dictionary, must contain all the keys found in MPOLARSettings.get_dict_rep()

  • conn (multiprocessing.connection.Connection) – Pipe used to transfer intermediate and final results to the GUI when this function is run from the GUI. This keyword argument should not be set if using this function directly.

Returns:

Absolute path to the MPOLAR log file

Return type:

str