*hmshrinkwrap

Used to shrink wrap mesh selected elements.

Syntax

*hmshrinkwrap entity_type entity_markId elems_markId wrap_type elem_size warpage_value

Type

HyperMesh Tcl Modify

Description

The shrink wrap function allows a complex FE model to be simplified quickly into an approximation of the original FE representation. The capability works by removing and blending out features of the original part to remove complexity.

Inputs

entity_type
Supported types are comps and elems.
entity_markId
Mark of input components or elements.
elems_markId
Mark of feature elements. Should be different from entity_markId. Considered for tight wrap only.
wrap_type
1 = Loose wrap mesh.
2 = Tight wrap mesh.
elem_size
Element size for shrink wrap meshing.
warpage_value
Warpage value, above which the shrink wrap elements will be split. Enabled for tight wrap mesh only.
-1 value will ignore splitting of elements in tight wrap mode.

Example

To loose wrap displayed elements with an element size of 2:

*createmark elems 1 "displayed"
*createmark elems 2 
*hmshrinkwrap elems 1 2 1 2 -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

9.0