pymead.analysis.calc_aero_data.run_mses#

run_mses(name: str, base_folder: str, mses_settings: dict, airfoil_name_order: ~typing.List[str], stencil: bool = False, conn: ~multiprocessing.connection.Connection | None = None) -> (<class 'bool'>, <class 'str'>)[source]#

A Python wrapper for MSES

Parameters:
  • name (str) – Name of the airfoil [system]

  • base_folder (str) – MSES files will be stored in base_folder/name

  • mses_settings (dict or MSESSettings) – Flow parameter set (dictionary) or an instance of the MSESSettings class. If a dictionary is used, all the keys found in MPLOTSettings.get_dict_rep must be present.

  • airfoil_name_order (List[str]) – List of the names of the airfoils (from top to bottom)

  • stencil (bool) – Whether a multipoint stencil is to be used. This variable is only used here to determine whether to overwrite or append to the log file. Default: False

  • 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:

A boolean describing whether the MSES solution is converged and a string containing the path to the MSES log file

Return type:

bool, str