*shell_mesh_smoother

Performs smoothing on selected mesh patches.

Syntax

*shell_mesh_smoother entity_type mark_id mesh_shape_weight node_displacement_weight iterations

Type

HyperMesh Tcl Modify

Description

Performs smoothing on the mesh selection with control on local node displacements and original mesh shape. This smoothing method is particularly useful for CFD while smoothing rough element patches for a wrap mesh.

Inputs

entity_type
The type of entity to smooth. Valid values are comps and elems.
mark_id
The ID of the mark containing the entities to smooth. Valid values are 1 and 2.
mesh_shape_weight
This is a value between 0 and 1 that defines how much the original mesh shape has to be preserved.
node_displacement_weight
This is a value between 0 and 1 that defines how much the neighboring elements of the node have an effect on the node displacement itself.
iterations
The number of smoothing iterations.

Examples

Smooth all elements with 2 iterations, keeping the original mesh shape strictly maintained and node displacements respecting the neighboring shape:

*createmark elems 1 "all"
*shell_mesh_smoother elems 1 0.4 0.4 2

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

14.0.130