pymead.analysis.calc_aero_data.write_mses_file#

write_mses_file(name: str, base_folder: str, mses_settings: dict, airfoil_name_order: ~typing.List[str]) -> (<class 'str'>, <class 'dict'>)[source]#

Writes MSES flow parameters to a file

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

  • base_folder (str) – MSES flow parameter file will be stored as base_folder/name/mses.name

  • mses_settings (dict or MSESSettings) – Parameter set, either a dictionary or an instance of the MSESSettings class. If a dictionary is used, it must contain all the keys found in MSESSettings.get_dict_rep

  • airfoil_name_order (List[str]) – List of airfoil names found in the MEA, ordered by vertical position (descending order). This order is output by write_blade_file

Returns:

Path of the created MSES flow parameter file and a copy of the MSES settings dictionary

Return type:

str, dict