*acousticmeshinterface_2

Identifies acoustic cavity interfaces.

Syntax

*acousticmeshinterface_2 mark_id_cavity mark_id_structural wetted_node_output_mark_id interface_node_output_mark_id wetted_element_output_mark_id interface_element_output_mark_id wetted_component_output_mark_id acmodl_normal acmodl_intol acmodl_dskneps reserved1 reserved2

Type

HyperMesh Tcl Modify

Description

Used to query the results of an acoustic cavity mesh operation. This command must be run after *acousticmeshcreate. It specifically utilizes a bounding box defined by the acmodl_normal, acmodl_intol, and acmodl_dskneps input parameters to identify:
  • The wetted nodes on the body: nodes on elements on the interface with the fluid that satisfy the bounding box criteria.
  • The interface nodes of the fluid: the nodes on the fluid faces that are on faces that have at least one body node within their bounding box.
  • The wetted element faces of the body: the elements on the body that contain at least one node within a bounding box.
  • The interface faces of the fluid: the fluid faces that have at least one body node within their bounding box.
  • The wetted body components: the components that contain at least one element on the body that has a node on the wetted interface.

It should be noted that the body is composed of the structural and the seat components.

Inputs

mark_id_cavity
The ID of the mark containing the 3D cavity components. Valid values are 1 and 2.
mark_id_structural
The ID of the mark containing the 2D structural components. Valid values are 1 and 2.
wetted_node_output_mark_id
The ID of the mark containing the found wetted body nodes. Valid values are 1 and 2.
If set to 0, the values are not returned.
interface_node_output_mark_id
The ID of the mark containing the found fluid interface nodes. Valid values are 1 and 2.
If set to 0, the values are not returned.
wetted_element_output_mark_id
The ID of the mark containing the found wetted body element faces. Valid values are 1 and 2.
If set to 0, the values are not returned.
interface_element_output_mark_id
The ID of the mark containing the found fluid interface element faces. Valid values are 1 and 2, if the create_cavity_faces option was enabled for *acousticmeshcreate.
If set to 0, the values are not returned.
wetted_component_output_mark_id
The ID of the mark containing the found wetted body components. Valid values are 1 and 2.
If set to 0, the values are not returned.
acmodl_normal
Used to define the (positive) height of bounding box for particular fluid faces. This height is equal to the largest side of the face multiplied by this value, and is in the outward direction.
acmodl_intol
Used to define the (negative) height of the bounding box for particular fluid faces. This height is equal to the largest side of the face multiplied by this value, and is in the inward direction.
acmodl_dskneps
Used to define the in-plane extension of the bounding box for particular fluid faces. This extension is measured relative to the distance from the center of the face to each corner. This value is the ratio by which the face is extended at each corner.
reserved1
Reserved for future use. Must be set to 0.
reserved2
Reserved for future use. Must be set to 0.

Examples

Calculate, and then highlight, the wetted nodes, wetted elements and wetted components for two structural and seat cavities:

*createmark comps 1 812
*createmark elems 1 "by comp id" 813
*createmark elems 2 "by comp id" 816
*acm_create_mpc 1 2 1 50.0 2
*createmark components 1  "AC_Structural.1" "AC_Seat.1" "AC_Seat.2" "AC_Structural.2"
*createmark components 2 "input_for_acm"
*acousticmeshinterface_2 1 2 1 0 1 0 2 0.4 0.2 0.2 0 0
hm_highlightmark nodes 1 h
hm_highlightmark nodes 1 n
hm_highlightmark elems 1 h
hm_highlightmark elems 1 n
hm_highlightmark comps 2 h

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