*hmplygeomsmoothing

Create smoothed geometry contour lines and surfaces for ply entities, with various options.

Syntax

*hmplygeomsmoothing mark_id num_iters tol create_line create_surface mode

Type

HyperMesh Tcl Modify

Description

This command allows you to create smoothed geometry contour lines and surfaces for ply entities, with various options.

Inputs

mark_id
The ID of the mark containing the plies for smoothing. Valid values are 1 and 2.
num_iters
The number of smoothing iterations to be run ≥ 0.
small_tol
Threshold value to identify local and small ply regions for elimination. The value depends on the small region type (see mode below).
0 (area ratio) - Value indicates the area ratio (calculated by local region area / total design area, ≥
0.0 and < 1.0).
1 (elem count) - Value indicates the number of elements (≥ 0, default = 15).
create_line
0 - Do not create contour lines for plies
1 - Create contour lines for plies
create_surface
0 - Do not create geometric surfaces for plies
1 - Create geometric surfaces for plies
mode
Specifies modes for small ply region elimination, as well as creating the lines and surfaces. Bit values are used and the value is calculated as (Bit0 + 2*Bit1 + 4*Bit2 + 8*Bit3 + 16*Bit4).
Bit0
0 - Detect small ply coverage regions by area ratio (local region area/ total design area)
1 - Detect small ply coverage regions by number of elements
Bit1
0 - Do not split disconnected ply regions into separate new ply entities
1 - Split disconnected ply regions into separate new ply entities
Bit2
0 - Do not update ply element sets
1 - Update ply element sets
Bit3
0 - Create geometry entities in original component
1 - Create geometry entities in separate components for different plies
Bit4
0 - Do not populate plies with geometry entities
1 - Populate plies with geometry entities

Example

To create smoothed geometry lines and surfaces in separate components, with 5 iterations of smoothing, eliminating small ply regions with area less than 0.05 of the total design, and finally populate the ply with the geometry entities.

*createmark plies 1 all
*hmplygeomsmoothing 1 5 0.05 1 1 28

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

12.0.110