*set_acousticmesh_options

Assigns certain options used during acoustic cavity meshing.

Syntax

*set_acousticmesh_options string_array number_of_strings

Type

HyperMesh Tcl Modify Command

Description

Assigns certain options used during acoustic cavity meshing.

Inputs

string_array
The ID of the string array that contains the option parameters. The string array is created using the *createstringarray command. This should always be set to 1.
Valild strings are:
DisplayCavities:
Option to control the number of cavities displayed during the preview.
NumElemPerWaveLength:
Specifies the element per wave length which is used to decide the target element size. The target size is computed as (WaveSpeed/MaxFrequency)/NumElemPerWaveLen
WaveSpeed:
Specifies the wave length which is used to decide the target element size.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray.

Example

TBD

*createstringarray 3 "NumElemPerWaveLength: 6" "WaveSpeed: 31000" "DisplayCavities: 10"
*set_acousticmesh_options 1 3

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0