flight_mech package#
Package to compute the characteristics of an airplane using simple flight mechanics equations.
Submodules#
- flight_mech.aerodynamics module
- flight_mech.airfoil module
Airfoil
Airfoil.camber_z_array
Airfoil.chord_length
Airfoil.chord_z_array
Airfoil.compute_airfoil_fourrier_coefficients()
Airfoil.compute_alpha_zero_lift()
Airfoil.compute_lift_coefficient()
Airfoil.compute_momentum_coefficient_at_aero_center()
Airfoil.compute_momentum_coefficient_at_leading_edge()
Airfoil.extrados_z_array
Airfoil.get_chord_incidence()
Airfoil.get_rotated_selig_arrays()
Airfoil.import_from_airfoiltools()
Airfoil.import_xz_selig_arrays()
Airfoil.intrados_z_array
Airfoil.list_airfoils_in_database()
Airfoil.load_database_airfoil()
Airfoil.load_selig_file()
Airfoil.max_camber
Airfoil.max_camber_location
Airfoil.max_thickness
Airfoil.max_thickness_location
Airfoil.name
Airfoil.plot()
Airfoil.plot_CL_graph()
Airfoil.plot_Cm_graph()
Airfoil.re_interpolate()
Airfoil.re_interpolate_with_cosine_distribution()
Airfoil.set_chord_at_zero_incidence()
Airfoil.thickness_array
Airfoil.x_array
Airfoil.x_selig_array
Airfoil.z_selig_array
convert_float_or_none_to_string()
download_web_file()
naca_airfoil_generator()
rotate_arrays()
- flight_mech.atmosphere module
AtmosphereModel
ConstantAtmosphere
LinearAtmosphere
StandardAtmosphere
StandardAtmosphere.compute_altitude_from_sigma()
StandardAtmosphere.compute_density_from_altitude()
StandardAtmosphere.compute_dynamic_viscosity_from_altitude()
StandardAtmosphere.compute_kinematic_viscosity_from_altitude()
StandardAtmosphere.compute_pressure_from_altitude()
StandardAtmosphere.compute_sigma_from_altitude()
StandardAtmosphere.compute_sound_speed_from_altitude()
StandardAtmosphere.compute_temperature_from_altitude()
StandardAtmosphere.gas_model
StandardAtmosphere.update_gas_model_to_altitude_conditions()
- flight_mech.fuel module
- flight_mech.plane module
Plane
Plane.C_D()
Plane.C_D_0
Plane.C_L()
Plane.C_L_alpha
Plane.C_L_delta
Plane.C_L_f_max
Plane.C_L_max
Plane.C_m_0
Plane.C_m_alpha
Plane.C_m_delta
Plane.P
Plane.S
Plane.alpha_0
Plane.alpha_f_max
Plane.alpha_stall
Plane.atmosphere_model
Plane.b
Plane.compute_alpha_and_delta_at_flight_point()
Plane.compute_ascension_slope()
Plane.compute_drag()
Plane.compute_drag_with_ground_effect()
Plane.compute_endurance()
Plane.compute_gliding_speed()
Plane.compute_gliding_v_z_min()
Plane.compute_ground_effect()
Plane.compute_landing_distance()
Plane.compute_landing_speed()
Plane.compute_lift()
Plane.compute_load_factor_from_roll_angle()
Plane.compute_max_altitude()
Plane.compute_max_ascension_slope()
Plane.compute_max_ascension_speed()
Plane.compute_max_gliding_range()
Plane.compute_max_gliding_time()
Plane.compute_max_range_at_fixed_altitude()
Plane.compute_min_descent_gliding_slope()
Plane.compute_min_thrust_needed()
Plane.compute_normalized_thrust()
Plane.compute_range_at_fixed_speed()
Plane.compute_reference_speed()
Plane.compute_speed_for_max_ascension_speed()
Plane.compute_speed_for_min_power_needed()
Plane.compute_speed_for_min_thrust_needed()
Plane.compute_stall_speed()
Plane.compute_take_off_distance_no_friction()
Plane.compute_take_off_distance_with_friction()
Plane.compute_take_off_speed()
Plane.compute_thrust()
Plane.compute_thrust_needed()
Plane.compute_v_at_gliding_v_z_min()
Plane.compute_velocity_interval_for_fixed_thrust()
Plane.engine_type
Plane.environment_model
Plane.extension
Plane.f()
Plane.f_max
Plane.fuel_specific_conso
Plane.fuel_specific_conso_SI
Plane.ground_effect_coefficient
Plane.k
Plane.load_plane_data()
Plane.m
Plane.m_empty
Plane.m_fuel
Plane.m_payload
Plane.n()
Plane.nb_engines
Plane.plot_gliding_TV_graph()
Plane.plot_gliding_WV_graph()
Plane.plot_polar_graph()
Plane.set_plane_parameters()
Plane.thrust_per_engine
Plane.update_C_L_max()
Plane.update_P()
Plane.update_ground_effect_coefficient()
Plane.update_k()
Plane.update_variables()
Plane.v()
Plane.wing_shape_coefficient
Plane.wing_to_ground_height
- flight_mech.turbine module
TurbojetSingleBody
TurbojetSingleBody.A4_star
TurbojetSingleBody.A8
TurbojetSingleBody.A8_star
TurbojetSingleBody.M8
TurbojetSingleBody.OPR_design
TurbojetSingleBody.P0
TurbojetSingleBody.P1
TurbojetSingleBody.P2
TurbojetSingleBody.P3
TurbojetSingleBody.P4
TurbojetSingleBody.P5
TurbojetSingleBody.P8
TurbojetSingleBody.Ps8
TurbojetSingleBody.T0
TurbojetSingleBody.T1
TurbojetSingleBody.T2
TurbojetSingleBody.T3
TurbojetSingleBody.T4
TurbojetSingleBody.T4_instruction
TurbojetSingleBody.T4_max
TurbojetSingleBody.T5
TurbojetSingleBody.T8
TurbojetSingleBody.Ts8
TurbojetSingleBody.V0
TurbojetSingleBody.V8
TurbojetSingleBody.W0
TurbojetSingleBody.W1
TurbojetSingleBody.W2
TurbojetSingleBody.W3
TurbojetSingleBody.W4
TurbojetSingleBody.W4R
TurbojetSingleBody.W5
TurbojetSingleBody.W8
TurbojetSingleBody.W8R
TurbojetSingleBody.Wf
TurbojetSingleBody.compressor_efficiency
TurbojetSingleBody.current_OPR
TurbojetSingleBody.fuel_consumption
TurbojetSingleBody.global_efficiency
TurbojetSingleBody.max_reference_surface_mass_flow_rate_4_star
TurbojetSingleBody.propulsive_efficiency
TurbojetSingleBody.thermal_efficiency
TurbojetSingleBody.thrust
TurbojetSingleBody.tune_A4_star_for_desired_thrust()
TurbojetSingleBody.tune_current_OPR()
TurbojetSingleBody.turbine_efficiency
- flight_mech.wing module
Wing
Wing.aspect_ratio
Wing.base_airfoil
Wing.center_x_array
Wing.check_initialization()
Wing.chord_length_array
Wing.compute_fourrier_coefficients()
Wing.compute_lift_and_induced_drag_coefficients()
Wing.compute_zero_lift_drag()
Wing.compute_zero_lift_drag_on_wing_slice()
Wing.create_3D_animation()
Wing.create_wing_3D_surface()
Wing.initialize()
Wing.leading_edge_x_array
Wing.name
Wing.plot_2D()
Wing.plot_3D()
Wing.re_interpolate()
Wing.reference_surface
Wing.save_3D_shape()
Wing.single_side_surface
Wing.sweep_angle_at_leading_edge
Wing.sweep_angle_at_trailing_edge
Wing.taper_ratio
Wing.trailing_edge_x_array
Wing.twisting_angle_array
Wing.wing_span
Wing.x_center_offset_array
Wing.y_array
check_pyvista_import()
compute_chord_min_and_max_for_trapezoidal_wing()
convert_theta_to_y()
convert_y_to_theta()
- flight_mech.motor module
ElectricalMotor
ElectricalMotor.I
ElectricalMotor.I_0
ElectricalMotor.I_max
ElectricalMotor.Kv
ElectricalMotor.U
ElectricalMotor.U_max
ElectricalMotor.compute_I_at_max_efficiency()
ElectricalMotor.efficiency
ElectricalMotor.electromotive_force
ElectricalMotor.external_resistance
ElectricalMotor.internal_resistance
ElectricalMotor.load_motor_data()
ElectricalMotor.mass
ElectricalMotor.max_efficiency
ElectricalMotor.plot_graph()
ElectricalMotor.power
ElectricalMotor.rotation_speed
ElectricalMotor.set_at_max_efficiency()
ElectricalMotor.set_motor_parameters()
ElectricalMotor.torque