pymead.analysis.calc_aero_data.update_xfoil_settings_from_stencil#

update_xfoil_settings_from_stencil(xfoil_settings: dict, stencil: List[dict], idx: int)[source]#

Updates the XFOIL settings dictionary from a given multipoint stencil and multipoint index

Parameters:
  • xfoil_settings (dict) – MSES settings dictionary

  • stencil (List[dict]) – A list of dictionaries describing the multipoint stencil, where each entry in the list is a dictionary representing a different stencil variable (Mach number, lift coefficient, etc.) and contains values for the variable name, index (not used in XFOIL), and stencil point values (e.g., stencil_var["points"] may look something like [0.65, 0.70, 0.75] for Mach number)

  • idx (int) – Index within the multipoint stencil used to update the XFOIL settings dictionary

Returns:

The modified XFOIL settings dictionary

Return type:

dict