acoustics#

class ansys.fluent.core.solver.tui_231.main_menu.define.models.acoustics(path, service)#

Bases: TUIMenu

Enters the acoustics menu.

Methods:

acoustic_modal_analysis(*args, **kwargs)

Iterate linear acoustic solver to compute the resonance frequencies and the acoustic modes.

auto_prune(*args, **kwargs)

Enables/disables auto prune of the receiver signal(s) during read-and-compute.

broad_band_noise(*args, **kwargs)

Enables/disables the broadband noise model.

compute_write(*args, **kwargs)

Computes sound pressure.

convective_effects(*args, **kwargs)

Enables/disables the convective effects option.

cylindrical_export(*args, **kwargs)

Enables/disables the export of data in cylindrical coordinates.

display_flow_time(*args, **kwargs)

Enables/disables the display of flow time during read-and-compute.

display_frequencies(*args, **kwargs)

Display resonance frequencies.

export_source_data(*args, **kwargs)

Enables/disables the export of acoustic source data in ASD format during the wave equation model run.

export_source_data_cgns(*args, **kwargs)

Enables/disables the export of acoustic source data in CGNS format.

export_volumetric_sources(*args, **kwargs)

Enables/disables the export of fluid zones.

export_volumetric_sources_cgns(*args, **kwargs)

Enables/disables the export of fluid zones.

ffowcs_williams(*args, **kwargs)

Enables/disables the Ffowcs-Williams-and-Hawkings model.

modal_analysis(*args, **kwargs)

Enable/disable the modal analysis model.

moving_receiver(*args, **kwargs)

Enables/disables the moving receiver option.

off(*args, **kwargs)

Enables/disables the acoustics model.

read_compute_write(*args, **kwargs)

Reads acoustic source data files and computes sound pressure.

receivers(*args, **kwargs)

Sets acoustic receivers.

sources(*args, **kwargs)

Sets acoustic sources.

wave_equation(*args, **kwargs)

Enables/disables the wave equation model.

write_acoustic_signals(*args, **kwargs)

Writes on-the-fly sound pressure.

write_centroid_info(*args, **kwargs)

Writes centroid info.

Classes:

far_field_parameters(path, service)

Enters the menu to specify the far-field density and speed of sound.

sources_fft(path, service)

Enters the acoustic sources fast Fourier transform (FFT) menu, to compute Fourier spectra from acoustic source data (ASD) files, create postprocessing variables for the pressure signals, and write CGNS files of the spectrum data.

sponge_layers(path, service)

Manage sponge layers where density is blended to eliminate reflections from boundary zones.

wave_equation_options(path, service)

Enters the menu to define the acoustics wave equation model options.

acoustic_modal_analysis(*args, **kwargs)#

Iterate linear acoustic solver to compute the resonance frequencies and the acoustic modes.

auto_prune(*args, **kwargs)#

Enables/disables auto prune of the receiver signal(s) during read-and-compute.

broad_band_noise(*args, **kwargs)#

Enables/disables the broadband noise model.

compute_write(*args, **kwargs)#

Computes sound pressure.

convective_effects(*args, **kwargs)#

Enables/disables the convective effects option.

cylindrical_export(*args, **kwargs)#

Enables/disables the export of data in cylindrical coordinates.

display_flow_time(*args, **kwargs)#

Enables/disables the display of flow time during read-and-compute.

display_frequencies(*args, **kwargs)#

Display resonance frequencies.

export_source_data(*args, **kwargs)#

Enables/disables the export of acoustic source data in ASD format during the wave equation model run.

export_source_data_cgns(*args, **kwargs)#

Enables/disables the export of acoustic source data in CGNS format.

export_volumetric_sources(*args, **kwargs)#

Enables/disables the export of fluid zones.

export_volumetric_sources_cgns(*args, **kwargs)#

Enables/disables the export of fluid zones.

class far_field_parameters(path, service)#

Bases: TUIMenu

Enters the menu to specify the far-field density and speed of sound. Note that this menu is currently available only with the acoustics wave equation model.

Methods:

far_field_density(*args, **kwargs)

Specifies the far-field density value for the acoustics wave equation model.

far_field_sound_speed(*args, **kwargs)

Specifies the far-field speed of sound value for the acoustics wave equation model.

far_field_density(*args, **kwargs)#

Specifies the far-field density value for the acoustics wave equation model.

far_field_sound_speed(*args, **kwargs)#

Specifies the far-field speed of sound value for the acoustics wave equation model.

ffowcs_williams(*args, **kwargs)#

Enables/disables the Ffowcs-Williams-and-Hawkings model.

modal_analysis(*args, **kwargs)#

Enable/disable the modal analysis model.

moving_receiver(*args, **kwargs)#

Enables/disables the moving receiver option.

off(*args, **kwargs)#

Enables/disables the acoustics model.

read_compute_write(*args, **kwargs)#

Reads acoustic source data files and computes sound pressure.

receivers(*args, **kwargs)#

Sets acoustic receivers.

sources(*args, **kwargs)#

Sets acoustic sources.

class sources_fft(path, service)#

Bases: TUIMenu

Enters the acoustic sources fast Fourier transform (FFT) menu, to compute Fourier spectra from acoustic source data (ASD) files, create postprocessing variables for the pressure signals, and write CGNS files of the spectrum data.

Methods:

clean_up_storage_area(*args, **kwargs)

De-allocates memory used to store the pressure histories and their Fourier spectra, as well as any created surface variables for the visualization.

compute_fft_fields(*args, **kwargs)

Computes FFT of the read pressure histories.

read_asd_files(*args, **kwargs)

Reads ASD files to perform FFT of the pressure history field.

write_cgns_files(*args, **kwargs)

Writes surface pressure spectra in CGNS format, which can be used for one-way coupling with Ansys Mechanical in the frequency domain.

Classes:

fft_surface_variables(path, service)

Enters the menu to create surface variables from the computed Fourier spectra for visualization.

clean_up_storage_area(*args, **kwargs)#

De-allocates memory used to store the pressure histories and their Fourier spectra, as well as any created surface variables for the visualization.

compute_fft_fields(*args, **kwargs)#

Computes FFT of the read pressure histories. The computed spectra replace the pressure histories in memory.

class fft_surface_variables(path, service)#

Bases: TUIMenu

Enters the menu to create surface variables from the computed Fourier spectra for visualization.

Methods:

create_constant_width_bands(*args, **kwargs)

Selects up to 20 constant width bands and creates either the surface pressures level (SPL) variables or the PSD of dp/dt variables for them.

create_octave_bands(*args, **kwargs)

Creates either the surface pressure level (SPL) variables or the PSD of dp/dt variables for 17 technical octaves.

create_set_of_modes(*args, **kwargs)

Selects up to 20 individual Fourier modes and create variable pairs for them, containing the real and the imaginary parts of the complex Fourier amplitudes.

create_third_bands(*args, **kwargs)

Creates either the surface pressure level (SPL) variables or the PSD of dp/dt variables for 54 technical thirds.

remove_variables(*args, **kwargs)

Removes all variables created in this menu.

create_constant_width_bands(*args, **kwargs)#

Selects up to 20 constant width bands and creates either the surface pressures level (SPL) variables or the PSD of dp/dt variables for them.

create_octave_bands(*args, **kwargs)#

Creates either the surface pressure level (SPL) variables or the PSD of dp/dt variables for 17 technical octaves.

create_set_of_modes(*args, **kwargs)#

Selects up to 20 individual Fourier modes and create variable pairs for them, containing the real and the imaginary parts of the complex Fourier amplitudes.

create_third_bands(*args, **kwargs)#

Creates either the surface pressure level (SPL) variables or the PSD of dp/dt variables for 54 technical thirds.

remove_variables(*args, **kwargs)#

Removes all variables created in this menu.

read_asd_files(*args, **kwargs)#

Reads ASD files to perform FFT of the pressure history field.

write_cgns_files(*args, **kwargs)#

Writes surface pressure spectra in CGNS format, which can be used for one-way coupling with Ansys Mechanical in the frequency domain.

class sponge_layers(path, service)#

Bases: TUIMenu

Manage sponge layers where density is blended to eliminate reflections from boundary zones.

Methods:

activate(*args, **kwargs)

Activate a sponge object.

add(*args, **kwargs)

Add a new sponge layer definition.

deactivate(*args, **kwargs)

Deactivate a sponge layer definition.

delete(*args, **kwargs)

Deletes an existing sponge layer definition.

edit(*args, **kwargs)

Edits an existing sponge layer.

list(*args, **kwargs)

Prints a list of the existing sponge layers in the console.

list_active(*args, **kwargs)

List the names of the active sponge layer definitions.

list_properties(*args, **kwargs)

Prints the properties of an existing sponge layer of your choice in the console.

activate(*args, **kwargs)#

Activate a sponge object.

add(*args, **kwargs)#

Add a new sponge layer definition.

deactivate(*args, **kwargs)#

Deactivate a sponge layer definition.

delete(*args, **kwargs)#

Deletes an existing sponge layer definition.

edit(*args, **kwargs)#

Edits an existing sponge layer. You can revise the fields listed previously for the define/models/acoustics/sponge-layers/add text command.

list(*args, **kwargs)#

Prints a list of the existing sponge layers in the console.

list_active(*args, **kwargs)#

List the names of the active sponge layer definitions.

list_properties(*args, **kwargs)#

Prints the properties of an existing sponge layer of your choice in the console.

wave_equation(*args, **kwargs)#

Enables/disables the wave equation model.

class wave_equation_options(path, service)#

Bases: TUIMenu

Enters the menu to define the acoustics wave equation model options.

Classes:

basic_shapes(path, service)

Enters the menu to define the geometry of the source mask and sponge layer using the basic shapes, represented by the cell registers of the type "Region".

remote_receivers_options(path, service)

Enters the menu to define remote receivers for the Kirchhoff integral model.

Methods:

remote_receivers(*args, **kwargs)

Enables/disables the Kirchhoff integral model.

source_mask_udf(*args, **kwargs)

Specifies the name of a user-defined function, which defines geometry of the source mask.

sponge_layer_base_level(*args, **kwargs)

Specify artificial viscosity base level applied everywhere.

sponge_layer_factor(*args, **kwargs)

Specifies the factor of the artificial viscosity coefficient.

sponge_layer_udf(*args, **kwargs)

Specifies the name of a user-defined function, which defines geometry of the sponge layer.

time_filter_source(*args, **kwargs)

Enables/disables a time filter for the sound source.

class basic_shapes(path, service)#

Bases: TUIMenu

Enters the menu to define the geometry of the source mask and sponge layer using the basic shapes, represented by the cell registers of the type “Region”.

Methods:

add_source_mask_shape(*args, **kwargs)

Adds a basic shape to the definition of the source mask geometry.

add_sponge_layer_shape(*args, **kwargs)

Adds a basic shape to the definition of the sponge layer geometry.

list_region_registers(*args, **kwargs)

List all available cell registers of the type "Region".

list_source_mask_shapes(*args, **kwargs)

List basic shapes, which are currently used in the definition of the source mask geometry.

list_sponge_layer_shapes(*args, **kwargs)

List basic shapes, which are currently used in the definition of the sponge layer geometry.

remove_source_mask_shape(*args, **kwargs)

Remove a basic shape from the definition of the source mask geometry.

remove_sponge_layer_shape(*args, **kwargs)

Remove a basic shape from the definition of the sponge layer geometry.

add_source_mask_shape(*args, **kwargs)#

Adds a basic shape to the definition of the source mask geometry.

add_sponge_layer_shape(*args, **kwargs)#

Adds a basic shape to the definition of the sponge layer geometry.

list_region_registers(*args, **kwargs)#

List all available cell registers of the type “Region”.

list_source_mask_shapes(*args, **kwargs)#

List basic shapes, which are currently used in the definition of the source mask geometry.

list_sponge_layer_shapes(*args, **kwargs)#

List basic shapes, which are currently used in the definition of the sponge layer geometry.

remove_source_mask_shape(*args, **kwargs)#

Remove a basic shape from the definition of the source mask geometry.

remove_sponge_layer_shape(*args, **kwargs)#

Remove a basic shape from the definition of the sponge layer geometry.

remote_receivers(*args, **kwargs)#

Enables/disables the Kirchhoff integral model.

class remote_receivers_options(path, service)#

Bases: TUIMenu

Enters the menu to define remote receivers for the Kirchhoff integral model.

Methods:

integration_surface(*args, **kwargs)

Selects the integration surface for the Kirchhoff model.

write_signals(*args, **kwargs)

Writes the computed receiver signals to the ASCII files.

integration_surface(*args, **kwargs)#

Selects the integration surface for the Kirchhoff model.

write_signals(*args, **kwargs)#

Writes the computed receiver signals to the ASCII files.

source_mask_udf(*args, **kwargs)#

Specifies the name of a user-defined function, which defines geometry of the source mask.

sponge_layer_base_level(*args, **kwargs)#

Specify artificial viscosity base level applied everywhere.

sponge_layer_factor(*args, **kwargs)#

Specifies the factor of the artificial viscosity coefficient.

sponge_layer_udf(*args, **kwargs)#

Specifies the name of a user-defined function, which defines geometry of the sponge layer.

time_filter_source(*args, **kwargs)#

Enables/disables a time filter for the sound source.

write_acoustic_signals(*args, **kwargs)#

Writes on-the-fly sound pressure.

write_centroid_info(*args, **kwargs)#

Writes centroid info.