pymead.analysis.calc_aero_data.MPLOTSettings#
- class MPLOTSettings(timeout: float = 15.0, grid_stats: bool = False, Mach: bool = False, streamline_grid: bool = False, Grid: bool = False, Grid_Zoom: bool = False, flow_field: bool = False, Tecplot: bool = False, Paraview: bool = False, CPK: bool = False)[source]#
Bases:
object- __init__(timeout: float = 15.0, grid_stats: bool = False, Mach: bool = False, streamline_grid: bool = False, Grid: bool = False, Grid_Zoom: bool = False, flow_field: bool = False, Tecplot: bool = False, Paraview: bool = False, CPK: bool = False)[source]#
Defines the inputs for MPLOT. If directly running from
run_mplot, only thetimeoutargument is used. If running fromcalculate_aero_data,run_mplotis executed once for each of the other parameters that is set toTrue.- Parameters:
timeout (float) – The time in seconds allotted to MPLOT before premature termination. Default:
15.0grid_stats (bool) – Whether to output the grid statistics to the analysis directory. Ignored if executing
run_mplotdirectly instead ofcalculate_aero_data. Default:FalseMach (bool) – Whether to output the Mach contour image in PDF format to the analysis directory. Ignored if executing
run_mplotdirectly instead ofcalculate_aero_data. Default:Falsestreamline_grid (bool) – Whether to output the streamline grid data to the analysis directory. Ignored if executing
run_mplotdirectly instead ofcalculate_aero_data. Default:FalseGrid (bool) – Whether to output an image of the MSET grid in PDF format to the analysis directory. Ignored if executing
run_mplotdirectly instead ofcalculate_aero_data. Default:FalseGrid_Zoom (bool) – Whether to output a zoomed image of the MSET grid in PDF format to the analysis directory. Ignored if executing
run_mplotdirectly instead ofcalculate_aero_data. Default:Falseflow_field (bool) – Whether to dump the flow field data to the analysis directory. Ignored if executing
run_mplotdirectly instead ofcalculate_aero_data. Default:FalseTecplot (bool) – Whether to output field data and airfoil geometry to a
TecplotASCII file (.dat). Default:FalseParaview (bool) – Whether to output field data and airfoil geometry to
ParaviewXML files (.vtsand.vtp). Default:FalseCPK (bool) – Whether to calculate the mechanical flow power coefficient and append the data to
aero_data.json. Ignored if executingrun_mplotdirectly instead ofcalculate_aero_data. Default:False
Methods
Gets a dictionary representation of the MPLOT settings.