*interactiveremeshelems

Brings all the marked elements into the automeshing module and prepares it for processing, enabling the use of all the restricted module commands. All elements previously attached to this mark are deleted.

Syntax

*interactiveremeshelems markmask elementsize elem_type elem_type2 size_control skew_control break_connect angle

Type

HyperMesh Tcl Modify Command

Description

Brings all the marked elements into the automeshing module and prepares it for processing, enabling the use of all the restricted module commands. All elements previously attached to this mark are deleted.

Inputs

markmask
The elements to be meshed.
elementsize
The default element edge size to use for calculating element densities along the edges (where necessary).
elem_type
Flag indicating the elements generated for mapped meshing algorithms. Valid values are:
  • 0 - trias
  • 1 - quads
  • 2 - mixed
  • 3 - right trias
  • 4 - quads only
elem_type_2
Flag indicating the elements generated for free meshing algorithms. Valid values are
  • 0 - trias
  • 1 - quads
  • 2 - mixed
  • 3 - right trias
  • 4 - quads only
size_control
Determines if uniform size elements in mapping algorithms should be created.
  • 1 = yes
  • 0 = no
skew_control
Determines if optimal shape elements in mapping algorithms should be created.
  • 1 = yes
  • 0 = no
break_connect
Determines if connectivity will be broken along shared edges between elements when a different element size is chosen.
  • 1 = yes
  • 0 = no
Element size along shared edges can not be changed.
angle
Determines angle between two edge segments when vertex is created.

Example

In this example, the automeshing module processes two separate groups with four and six elements each (each group forms a quad with four edges). To generate a mesh for each group, the automeshing module sets up values for the element densities and biasing with the *set_meshedgeparams command. Automeshing parameters for each group are specified with the *set_meshfaceparams command. Prior to meshing, parameters for the first group were changed. This required additional setedgeparams calls for four edges. Each group of elements is sent to the *automesh command so it can determine the appropriate meshing algorithm and create an all-quads mesh. Two meshes are then saved to the HyperMesh database. The automeshing module clears from its memory any information regarding the current group so that a new group can be processed.

*surfacemode 1
*createmark elements 1 11 12 19 20 79 80 82 84 86 90
*interactiveremeshelems 1 10 1 1 1 1 0 30
*set_meshedgeparams 0 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 1 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 2 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 3 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 4 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 5 3.0 0 0 0 0 0 0 0
*set_meshedgeparams 6 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 7 3.0 0 0 0 0 0 0 0
*set_meshedgeparams 0 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 1 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 2 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 3 3.0 0 0 0 0 0 0 0
*set_meshfaceparams 0 1 1 0 0 0 0.1 0 0
*automesh 0,5 0
*set_meshedgeparams 4 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 5 3.0 0 0 0 0 0 0 0
*set_meshedgeparams 6 2.0 0 0 0 0 0 0 0
*set_meshedgeparams 7 3.0 0 0 0 0 0 0 0
*set_meshfaceparams 1 1 1 0 0 0 0.1 0 0
*automesh 1 2 1
*storemeshtodatabase 0
*ameshclearsurface

Errors

None.