pymead.analysis.calc_aero_data#

Functions

calculate_CPK_mses_inviscid_only(analysis_subdir)

Calculates the mechanical flower power coefficient input to the control volume across the airfoil system control surface.

calculate_Cl_alfa_xfoil_inviscid(analysis_dir)

calculate_Cl_integral_form(x, y, Cp, alfa)

calculate_aero_data(conn, airfoil_coord_dir, ...)

Convenience function calling either XFOIL or MSES depending on the tool specified

calculate_performance_parameters_from_polar(...)

Computes performance parameters, such as \(\alpha_{ZL}\), \((L/D)_\text{max}\), etc.

compute_alpha_zero_lift(alpha_deg, Cl[, ...])

Computes the zero-lift angle of attack for an input set of angles of attack and lift coefficients.

convert_xfoil_string_to_aero_data(line1, ...)

Extracts aerodynamic data from strings pulled from XFOIL log files.

estimate_LD_max(alpha_deg, Cl, Cd)

Estimates the maximum lift-to-drag ratio and the angle of attack that gives \((L/D)_\text{max}\).

line_integral_CPK_inviscid(Cp_up, Cp_down, ...)

Computes the mechanical flow power coefficient line integral in the inviscid streamtube only according to a normalized version of Eq.

read_alfa_from_xfoil_cp_file(xfoil_cp_file)

read_alfa_from_xfoil_log_file(xfoil_log_file)

read_forces_from_xfoil_polar_file(polar_file)

run_mplot(name, base_dir, mplot_settings[, ...])

A Python wrapper for MPLOT

run_mpolar(name, base_dir, alfa_array, ...)

A Python wrapper for MPOLAR

run_mses(name, base_folder, mses_settings, ...)

A Python wrapper for MSES

run_mset(name, base_dir, mset_settings, ...)

A Python wrapper for MSET

run_xfoil(xfoil_settings, coords[, export_Cp])

Python wrapper for XFOIL

update_mses_settings_from_stencil(...)

Updates the MSES settings dictionary from a given multipoint stencil and multipoint index.

update_xfoil_settings_from_stencil(...)

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

write_blade_file(name, base_dir, ...)

Writes airfoil geometry to an MSES blade file

write_gridpar_file(name, base_folder, ...)

Writes grid parameters to a file readable by MSES

write_input_file(input_file, input_list)

Writes inputs from a list to a file for use as STDIN commands to the shell/terminal.

write_mses_file(name, base_folder, ...)

Writes MSES flow parameters to a file

write_spec_file(name, base_dir, alfa_array)

Writes the "spec" file required by MPOLAR.

Classes

AirfoilMSETMeshingParameters([dsLE_dsAvg, ...])

MPLOTSettings([timeout, grid_stats, Mach, ...])

MPOLARSettings([timeout])

MSESSettings(xtrs[, Re, Ma, alfa_Cl_mode, ...])

MSETSettings(multi_airfoil_grid[, ...])

XFOILSettings(base_dir, airfoil_name[, Re, ...])