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
AirfoilAirfoil.camber_z_arrayAirfoil.chord_lengthAirfoil.chord_z_arrayAirfoil.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_arrayAirfoil.get_chord_incidence()Airfoil.get_rotated_selig_arrays()Airfoil.import_from_airfoiltools()Airfoil.import_xz_selig_arrays()Airfoil.intrados_z_arrayAirfoil.list_airfoils_in_database()Airfoil.load_database_airfoil()Airfoil.load_selig_file()Airfoil.max_camberAirfoil.max_camber_locationAirfoil.max_thicknessAirfoil.max_thickness_locationAirfoil.nameAirfoil.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_arrayAirfoil.x_arrayAirfoil.x_selig_arrayAirfoil.z_selig_array
convert_float_or_none_to_string()download_web_file()naca_airfoil_generator()rotate_arrays()
- flight_mech.atmosphere module
AtmosphereModelConstantAtmosphereLinearAtmosphereStandardAtmosphereStandardAtmosphere.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_modelStandardAtmosphere.update_gas_model_to_altitude_conditions()
- flight_mech.fuel module
- flight_mech.plane module
PlanePlane.C_D()Plane.C_D_0Plane.C_L()Plane.C_L_alphaPlane.C_L_deltaPlane.C_L_f_maxPlane.C_L_maxPlane.C_m_0Plane.C_m_alphaPlane.C_m_deltaPlane.PPlane.SPlane.alpha_0Plane.alpha_f_maxPlane.alpha_stallPlane.atmosphere_modelPlane.bPlane.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_typePlane.environment_modelPlane.extensionPlane.f()Plane.f_maxPlane.fuel_specific_consoPlane.fuel_specific_conso_SIPlane.ground_effect_coefficientPlane.kPlane.load_plane_data()Plane.mPlane.m_emptyPlane.m_fuelPlane.m_payloadPlane.n()Plane.nb_enginesPlane.plot_gliding_TV_graph()Plane.plot_gliding_WV_graph()Plane.plot_polar_graph()Plane.set_plane_parameters()Plane.thrust_per_enginePlane.update_C_L_max()Plane.update_P()Plane.update_ground_effect_coefficient()Plane.update_k()Plane.update_variables()Plane.v()Plane.wing_shape_coefficientPlane.wing_to_ground_height
- flight_mech.turbine module
TurbojetSingleBodyTurbojetSingleBody.A4_starTurbojetSingleBody.A8TurbojetSingleBody.A8_starTurbojetSingleBody.M8TurbojetSingleBody.OPR_designTurbojetSingleBody.P0TurbojetSingleBody.P1TurbojetSingleBody.P2TurbojetSingleBody.P3TurbojetSingleBody.P4TurbojetSingleBody.P5TurbojetSingleBody.P8TurbojetSingleBody.Ps8TurbojetSingleBody.T0TurbojetSingleBody.T1TurbojetSingleBody.T2TurbojetSingleBody.T3TurbojetSingleBody.T4TurbojetSingleBody.T4_instructionTurbojetSingleBody.T4_maxTurbojetSingleBody.T5TurbojetSingleBody.T8TurbojetSingleBody.Ts8TurbojetSingleBody.V0TurbojetSingleBody.V8TurbojetSingleBody.W0TurbojetSingleBody.W1TurbojetSingleBody.W2TurbojetSingleBody.W3TurbojetSingleBody.W4TurbojetSingleBody.W4RTurbojetSingleBody.W5TurbojetSingleBody.W8TurbojetSingleBody.W8RTurbojetSingleBody.WfTurbojetSingleBody.compressor_efficiencyTurbojetSingleBody.current_OPRTurbojetSingleBody.fuel_consumptionTurbojetSingleBody.global_efficiencyTurbojetSingleBody.max_reference_surface_mass_flow_rate_4_starTurbojetSingleBody.propulsive_efficiencyTurbojetSingleBody.thermal_efficiencyTurbojetSingleBody.thrustTurbojetSingleBody.tune_A4_star_for_desired_thrust()TurbojetSingleBody.tune_current_OPR()TurbojetSingleBody.turbine_efficiency
- flight_mech.wing module
WingWing.aspect_ratioWing.base_airfoilWing.center_x_arrayWing.check_initialization()Wing.chord_length_arrayWing.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_arrayWing.nameWing.plot_2D()Wing.plot_3D()Wing.re_interpolate()Wing.reference_surfaceWing.save_3D_shape()Wing.single_side_surfaceWing.sweep_angle_at_leading_edgeWing.sweep_angle_at_trailing_edgeWing.taper_ratioWing.trailing_edge_x_arrayWing.twisting_angle_arrayWing.wing_spanWing.x_center_offset_arrayWing.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
ElectricalMotorElectricalMotor.IElectricalMotor.I_0ElectricalMotor.I_maxElectricalMotor.KvElectricalMotor.UElectricalMotor.U_maxElectricalMotor.compute_I_at_max_efficiency()ElectricalMotor.efficiencyElectricalMotor.electromotive_forceElectricalMotor.external_resistanceElectricalMotor.internal_resistanceElectricalMotor.load_motor_data()ElectricalMotor.massElectricalMotor.max_efficiencyElectricalMotor.plot_graph()ElectricalMotor.powerElectricalMotor.rotation_speedElectricalMotor.set_at_max_efficiency()ElectricalMotor.set_motor_parameters()ElectricalMotor.torque