*setedgedensitylinkbytypeandaspectratio

Sets the method for linking opposite edge densities during automeshing.

Syntax

*setedgedensitylinkbytypeandaspectratio type aspect_ratio

Type

HyperMesh Tcl Modify

Description

This command sets the method for linking opposite edge densities during automeshing. This forces opposite edges of a surface to use consistent edge densities, provided that the starting densities are close enough. This creates tapered lines of elements, instead of using trias to transition between inconsistent densities. This is only valid for size and bias or edge deviation surface meshing.

Inputs

type
0 - No edge linking, aspect ratio is ignored.
1 - Aspect ratio is valid. Equivalent to *setedgedensitylinkwithaspectratio
2 - Forced edge linking, aspect ratio is ignored.
aspect_ratio
Specifies the aspect ratio to use for edge density linking. Valid values are:
<0 - Do not link opposite edge densities.
0 - Attempt to link opposite edge densities with default value.
> 0 - Attempt to link opposite edge densities with specified value.

Examples

To mesh surfaces specifying an edge density link using a value of 3:

*setedgedensitylinkbytypeandaspectratio 1 3.0

To disable linking:

*setedgedensitylinkbytypeandaspectratio 0

To force edge linking, if possible:

*setedgedensitylinkbytypeandaspectratio 2

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

2019