SMOOTH_MESH
Mesh commands
*SMOOTH_MESH
"Optional title"
entype, enid, $\alpha_{\mathrm{max}}$, internal, gid
csysid
"Optional title"
entype, enid, $\alpha_{\mathrm{max}}$, internal, gid
csysid
Parameter definition
Variable
Description
entype
Entity type
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
gid
ID of a GEOMETRY that defines a sub-space for smoothing
csysid
Optional coordinate system ID. Smoothing is deactivated in local $x$-direction (axial direction for a cylindrical coordinate system).
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 deactivated in specific direction (coordinate system based)
Example showing the effect of mesh smoothing with optional coordinate system to deactivate smoothing in axial direction.
*UNIT_SYSTEM
SI
*TIME
1.0, 0, 0, 0.5
*COMPONENT_CYLINDER
1, 1, 10, 6
0, 0, 0, 0, 0, 1, 0.5, 0.1
*COMPONENT_CYLINDER
2, 2, 10, 6
1.25, 0, 0, 1.25, 0, 1, 0.5, 0.1
*COMPONENT_CYLINDER
3, 3, 10, 6
2.5, 0, 0, 2.5, 0, 1, 0.5, 0.1
*CHANGE_P-ORDER
ALL, 0, 3
*SMOOTH_MESH
P, 2, 45.0, 1
*SMOOTH_MESH
P, 3, 45.0, 1
101
*COORDINATE_SYSTEM_CYLINDRICAL
101, 2.5, 0, 0
0, 0, 1, 1, 0, 0
*MAT_RIGID
1, 1
*PART
"No mesh smoothing"
1, 1
"Mesh smoothing"
2, 1
"Mesh smoothing with csysid"
3, 1
*END