source¶
class description¶
-
class
source.Source(**kwargs)[source]¶ Bases:
openmdao.core.explicitcomponent.ExplicitComponentCompute noise source mean-square acoustic pressure (msap):
Fan noise (inlet, discharge; tone and broadband)
Core noise
Jet noise (jet mixing and jet shock)
Airframe noise
The Source component requires the following inputs:
inputs['V_j_star']: jet velocity (re. c_0) [-]inputs['rho_j_star']: jet total density (re. rho_0) [-]inputs['A_j_star']: jet area (re. A_e) [-]inputs['Tt_j_star']: jet total temperature (re. T_0) [-]inputs['M_j']: jet Mach number [-]inputs['mdoti_c_star']: core inlet mass flow (re. rho_0c_0A_e) [-]inputs['Tti_c_star']: core inlet total temperature (re. T_0) [-]inputs['Ttj_c_star']: core exit total temperature (re. T_0) [-]inputs['Pti_c_star']: core inlet total pressure (re. p_O) [-]inputs['DTt_des_c_star']: core total temperature drop across the turbine (re. T_0) [-]inputs['rho_te_c']: core exit total density (re. rho_0) [-]inputs['c_te_c']: core exit total speed of sound (re. c_0) [-]inputs['rho_ti_c']: core inlet total density (re. rho_0) [-]inputs['c_te_c']: core inlet total speed of sound (re. c_0) [-]inputs['DTt_f_star']: fan total temperature rise (re. T_0) [-]inputs['mdot_f_star']: fan inlet mass flow (re. rho_0c_0A_e) [-]inputs['N_f_star']: fan rotational speed (re. c_0/sqrt(A_e)) [-]inputs['A_f_star']: fan area (re. A_e) [-]inputs['d_f_star']fan diameter (re. sqrt(A_e)) [-]inputs['I_landing_gear']: airframe landing gear extraction (0/1) [-]inputs['theta_flaps']: airframe flap angle [deg]inputs['TS']: engine power-setting [-]inputs['M_0']: aircraft Mach number [-]inputs['c_0']: ambient speed of sound [m/s]inputs['rho_0']: ambient density [kg/m3]inputs['mu_0']: ambient dynamic viscosity [kg/ms]inputs['T_0']: ambient temperature [K]inputs['theta']: polar directivity angle [deg]inputs['phi']: azimuthal directivity angle [deg]
The Source component computes the following outputs:
inputs['msap_jet_mixing']: mean-square acoustic pressure of the jet mixing noise source (re. rho_0^2 c_0^2) [-]inputs['msap_jet_shock']: mean-square acoustic pressure of the jet shock noise source (re. rho_0^2 c_0^2) [-]inputs['msap_core']: mean-square acoustic pressure of the core noise source (re. rho_0^2 c_0^2) [-]inputs['msap_fan_inlet']: mean-square acoustic pressure of the fan inlet noise source (re. rho_0^2 c_0^2) [-]inputs['msap_fan_discharge']: mean-square acoustic pressure of the fan discharge noise source (re. rho_0^2 c_0^2) [-]inputs['msap_airframe']: mean-square acoustic pressure of the airframe noise source (re. rho_0^2 c_0^2) [-]inputs['msap_source']: mean-square acoustic pressure of the overall noise source (re. rho_0^2 c_0^2) [-]
The Source component has the followign options
settings: pyna settingsn_t: number of time steps in the noise time seriesdata: pyna noise dataac: aircraft characteristics
-
compute(inputs: openmdao.vectors.default_vector.DefaultVector, outputs: openmdao.vectors.default_vector.DefaultVector)[source]¶ Compute outputs given inputs. The model is assumed to be in an unscaled state.
- Parameters
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict or None) – If not None, dict containing discrete input values.
discrete_outputs (dict or None) – If not None, dict containing discrete output values.
Warning
The Julia version of the Source component, source.jl, is not documented yet. However, it is very similar to the Python version, source.py. More information and examples on how OpenMDAO.jl components work can be found here.
Note
The mean-square acoustic pressure at the source, \(<p^2_{source}>\), is normalized by a reference pressure, \(p_{\textrm{ref}} = 2\cdot 10^{-5}\) Pa and is computed in decibels: