*hmplysmoothing

Smooth ply entities to get better shapes.

Syntax

*hmplysmoothing mark_id num_iters region_type tol split_ply

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.
region_type
Flag indicating method used for very local and small ply coverage regions (element patch or hole) detection. Valid values are:
0 - Detect small regions by area ratio
1 - 1etect small regions by element count
small_tol
Threshold value to identify local and small ply regions for elimination. The value depends on the region_type.
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).
split_ply
0 - Do not create separate ply entities from disconnected ply coverage regions
1 - Create separate ply entities from disconnected ply coverage regions

Example

To smooth all plies using 20 iterations, eliminating small ply regions with area less than 0.05 of the total design, and finally splitting disconnected ply coverage regions into separate ply entities:

*createmark plys 1 all
*hmplysmoothing 1 20 0 0.05 1

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