Command manual

Command list

SMOOTH_MESH

Mesh commands
*SMOOTH_MESH
"Optional title"
entype, enid, $\alpha_{\mathrm{max}}$, internal, gid

Parameter definition

VariableDescription
entype Entity type
options: N, NS, P, PS, G, ALL
enid Entity identification number
$\alpha_{\mathrm{max}}$ External element face smoothing angle
internal Flag to activate smoothing of internal material interfaces and to propagate smoothing to internal nodes
options:
0 $\rightarrow$ only smoothing of external material surface
1 $\rightarrow$ internal smoothing activated
gid ID of a GEOMETRY that defines a sub-space for smoothing
default: All elements in the selected part/part set will be smoothed

Description

This command is used to smooth the surface of quadratic and cubic element surfaces. The surface is smoothed if the angle between two adjacent element faces is smaller than or equal to $\alpha_{\mathrm{max}}$. By default, only external element faces are smoothed. The internal flag turns on smoothing of internal material interfaces and also propagates the surface smoothing to the interior of the mesh.

Example

Smooth mesh

Example showing the effect of mesh smoothing and of having the internal flag set to 0 or 1.

*PARAMETER
R0 = 0.8
R1 = 0.9
R2 = 1.0
h = 0.1
tol = 1.0e-4
ang = 45.0
internal = 1
*COMPONENT_PIPE
"Inner ring"
1, 1, 1, 16, 1
0, 0, 0, 0, 0, [%h], [%R0], [%R1]
*COMPONENT_PIPE
"Outer ring"
2, 2, 1, 16, 1
0, 0, 0, 0, 0, [%h], [%R1], [%R2]
*MERGE_DUPLICATED_NODES
ALL, 0, ALL, 0, [%tol]
*CHANGE_P-ORDER
ALL, 0, 2
*SMOOTH_MESH
ALL, 0, [%ang], [%internal]
*MAT_ELASTIC
1, 7800.0, 210.0e9, 0.3
*PART
"Inner ring"
1, 1
"Outer ring"
2, 1
*END
Mesh smoothing with internal = 0 or 1
Mesh smoothing with internal = 0 or 1