pymead.analysis.calc_aero_data.run_mplot#
- run_mplot(name: str, base_dir: str, mplot_settings: dict, mode: str = 'forces', min_contour: float = 0.0, max_contour: float = 1.5, n_intervals: int = 0, multipoint_tag: str | None = None) str[source]#
A Python wrapper for MPLOT
- Parameters:
name (str) – Name of the airfoil [system]
base_dir (str) – MSES files will be stored in
base_folder/namemplot_settings (dict or MPLOTSettings) – Flow parameter set (dictionary) or an instance of the MPLOTSettings class. If a dictionary is used, all the keys found in MPLOTSettings.get_dict_rep must be present.
mode (str) – What type of data to output from MPLOT. Current choices are
"forces","Cp","flowfield","grid_zoom","grid","grid_stats", and"Mach contours". Default:"forces"min_contour (float) – Minimum contour level (only affects the result if
mode=="Mach contours"). Default:0.0max_contour (float) – Maximum contour level (only affects the result if
mode=="Mach contours"). Default:1.5n_intervals (int) – Number of contour levels (only affects the result if
mode=="Mach contours"). A value of0results in MPLOT automatically setting a “nice” value for the number of contour levels. Default:0multipoint_tag (str or None) – Whether to add a multipoint tag that modifies the name of certain MPLOT output files, including
"field","grid", and"mplot_grid_stats". Default:None
- Returns:
A string containing the path to the MPLOT log file
- Return type: