pymead.analysis.read_aero_data#

Functions

convert_blade_file_to_array_list(src_file)

Converts an MSES blade file (by default of the form blade.*) to a list of arrays describing the airfoil coordinates.

export_blade_to_paraview_xml(analysis_dir, blade)

Exports an array of multi-element airfoil coordinates to the Paraview XML PolyData (.vtp) format.

export_geom_and_mses_field_to_paraview(...)

Exports both airfoil geometry and MSES field data to Paraview XML files.

export_mses_field_to_paraview_xml(...)

Writes MSES field data to the Paraview XML Structured Grid file type (.vts).

export_mses_field_to_tecplot_ascii(...)

read_Cp_from_file_xfoil(fname)

Reads the \(C_p\) data from the format output by XFOIL and converts it to a numpy array

read_Mach_from_mses_file(mses_file)

Reads the freestream Mach number from the MSES settings file (usually of the form mses.*).

read_actuator_disk_data_mses(mses_log_file, ...)

Reads actuator disk data from the MSES log file (usually mses.log).

read_aero_data_from_xfoil(fpath, aero_data)

Reads aerodynamic data from XFOIL's output log

read_bl_data_from_mses(src_file)

Reads boundary layer information from bl.* files generated by MSES

read_field_from_mses(src_file[, M_inf, gam])

Reads a field dump file from MSES (by default, of the form field.*) and outputs the information to an array.

read_field_variables_names_mses(field_file)

read_forces_from_mses(search_file)

This function uses regex to extract the aerodynamic force coefficients of the airfoil [system] from the list forces option available in the MPLOT menu

read_grid_stats_from_mses(src_file)

Reads grid statistics from an MPLOT output file and outputs them to a dictionary

read_polar(airfoil_name, base_dir)

Reads the polar.xxx file produced by MPOLAR and converts the data to a dictionary of lists

read_reverse_order(file_name)

Reads a file in reverse order.

read_streamline_grid_from_mses(src_file, ...)

Reads the grid of streamlines from an MSES grid.* file