*marksmoothelements

Applies a smoothing algorithm to a mark of elements for a given number of iterations. Optionally, one or more nodes may be specified as being anchored in place and not movable.

Syntax

*marksmoothelements tosmoothmark toanchormark smoothmethod iterations

Type

HyperMesh Tcl Modify

Description

Applies a smoothing algorithm to a mark of elements for a given number of iterations. Optionally, one or more nodes may be specified as being anchored in place and not movable.

Inputs

tosmoothmark
The mark of elements to be smoothed. Need not be a contiguous block.
toanchormark
The mark of nodes on those elements that are not adjustable.
smoothmethod
The smoothing method to use.
1 - autodecide
2 - size corrected
3 - shape corrected
4 - angle corrected
iterations
The number of times to apply the smoothing operator.

Example

To smooth elements 100 through 110 twelve times with no nodes fixed:

*createmark(elements,1)100 101 102 103 104 105 106 107 108
   109 110
*createmark(nodes,2)
*marksmoothelements(1,2,1,12)

Both of the *createmark() directives are required for this command.

Errors

None.