*line_mesh_decimator

Decimate 1D elements to user given element size.

Syntax

*line_mesh_decimator entity_type mark_id element_size ?options?

Type

HyperMesh Tcl Modify Command

Description

Decimate 1D elements to user given element size.

Inputs

entity_type
The type of entity containing the 1Ds to coarsen. Valid values are elems and comps.
mark_id
The ID of the mark containing the input entities. Valid values are 1 and 2.
element_size
The size to use for coarsening.
options
List of input options, passed as a space separated string enclosed in quotes. Valid options are:
AnchorNodeMarkId=<mark_id>
The ID of the mark containing nodes to use as anchors. Valid values are 1 and 2.
ChordalDeviation=<value>
The chordal deviation value to use for decimation.
ConsiderEdgeConformal2DElems=<value>
0 - If 2D elements are also selected along with the 1D elements, the attached 2Ds will be not modified to maintain mesh conformality.
1 - If 2D elements are also selected along with the 1D elements, the attached 2Ds will be modified to maintain mesh conformality.
FeatureAngle=<value>
The face deviation cutoff for decimation. Useful when 2D elements are selected, in addition to edge/1D elements.
IgnoreDiameter=<value>
If any isolated connected cluster is contained within this size it will be deleted.
PerChainMinEdgeCount=<value>
Controls the number of edges to be retained per chain in the given edge/1D element input.
TurningAngle=<value>
A node will be anchored if only two 1D elements that are connected to the node make an angle greater than this value.

Examples

To coarsen component 100 to size 10, using nodes 1-10 as anchors, and several other options:

*createmark comps 1 10
*createmark nodes 1 1-10
*line_mesh_decimator comps 1 10 "AnchorNodeMarkId = 1 ChordalDeviation = 0.15 TurningAngle = 30 IgnoreDiameter = 4"

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

2020 - Added new options FeatureAngle and PerChainMinEdgeCount.

2020.1 - Added new option ConsiderEdgeConformal2DElems.