acdecom.WaveGuide.__init__

WaveGuide.__init__(dimensions, **kwargs)

Parameters for initialization:

Parameters
  • dimensions (array_like) –

    The dimensions of the waveguide.
    • For a circular duct, dimensions is (radius, ).

    • For a rectangular duct, dimension is (dimension x, dimension y).

    • For any other shape, dimensions can be specified in the same way (dimension 1, dimension 2, …).

  • temperature (float, optional) – Temperature in Kelvin of the medium inside the waveguide. Defaults to T 293.15.

  • M (float, optional) – Bulk Mach_number in \(z_+\) direction. Defaults to 0.

  • flip_flow (boolean, optional) – If True, it changes the flow-direction from \(z_+\) to \(z_-\) direction. A negative Mach number has the same effect. Defaults to False.

  • damping ({"no", "kirchoff","dokumaci"}, optional) –

    Choose one of the pre-defined acoustic dispersion models. Defaults to “no”.

  • distance (float) – The distance between the decomposition cross section and the first microphone. Defaults to 0.

  • cross_section ({"circular","rectangular","custom"}, optional) – Choose one of the pre-defined duct profiles. Defaults to “circular”. If set to “custom” the methods WaveGuide.get_c(), WaveGuide.get_psi() , and WaveGuide.get_wavenumber() should be customized.

  • f_max (float, optional) – If set, all propagating modes up to the frequency f_max [Hz] are pre-computed and decompositions run faster. Defaults to 1000.

  • gas_constant (float, optional) – The ideal gas constant of the medium inside the waveguide. Defaults to 287.053072.

  • dynamic_viscosity (float, optional) – The dynamic viscosity of the medium inside the waveguide. Defaults to 10.13e-6.

  • pressure (float, optional) – The static pressure of the medium inside the waveguide. Defaults to 101.000.

  • heat_capacity (float, optional) – The heat capacity ratio of the medium inside the waveguide. Defaults to 1.401.

  • thermal_conductivity (float, optional) – The thermal conductivity of the medium inside the waveguide. Defaults to 0.02587.

  • eigenvalue (functional, optional) – Uses an external function to compute the eigenvalues. If not specified, the cross section specific function is used. If a custom cross section is specified, the eigenvalue defaults to 1.

  • modeshape (functional, optional) – Uses an external function to compute the mode shapes. If not specified, the cross section specific function is used. If a custom cross section is specified, the mode shapee defaults to 1.

  • wavenumber (functional, optional) – Uses an external function to compute the wavenumber. If not specified, the cross section specific function is used. If a custom cross section is specified, the wavenumber defaults to the wavenumber for a circular duct.

  • normalization (functional, optional) – Uses an external function to compute the normalization factor for the mode shapes. If not specified, the cross section specific function is used. If a custom cross section is specified, the mode shapee normalization defaults to 1.