*REDISTRIBUTE_MESH_CARTESIAN
coid
entype, enid, dir, c${}_1$, c${}_2$
x${}_c$, y${}_c$, z${}_c$
coid
entype, enid, dir, c${}_1$, c${}_2$
x${}_c$, y${}_c$, z${}_c$
Parameter definition
Variable | Description |
---|---|
coid | Command ID |
entype | Entity type |
enid | Entity ID |
dir | Direction of redistribution |
c${}_1$ | Parameter for polynomial redistribution |
c${}_2$ | Parameter for exponential redistribution |
x${}_c$ | x-coordinate with highest node density |
y${}_c$ | y-coordinate with highest node density |
z${}_c$ | z-coordinate with highest node density |
Description
Redistributes the elements within the entity domain using either a polynomial or an exponential function. Polynomial redistribution is selected by setting c${}_1$ to a positive value and c${}_2$ to zero. Exponential redistribution is achieved by setting c${}_2$ to a positive value while letting c${}_1$ be zero.
Example
Polynomial and exponential mesh redistribution
Redistributed mesh in X-direction with parameter c${}_1$ and c${}_2$ individually set within the range of 1 to 3.


*PARAMETER
%c1 = 0, "Polynomial redistribution"
%c2 = 3, "Exponential redistribution"
#
# --- MESH ---
#
*COMPONENT_BOX
1, 1, 10, 1, 1
0, 0, 0, 1.0, 0.1, 0.1
*PART
1, 1
*MAT_RIGID
1, 1
#
# --- REDISTRIBUTE MESH, C1 or C2 ---
#
*REDISTRIBUTE_MESH_CARTESIAN
1
P, 1, X, [%c1], [%c2]
0.0, 0.0, 0.0
*END
%c1 = 0, "Polynomial redistribution"
%c2 = 3, "Exponential redistribution"
#
# --- MESH ---
#
*COMPONENT_BOX
1, 1, 10, 1, 1
0, 0, 0, 1.0, 0.1, 0.1
*PART
1, 1
*MAT_RIGID
1, 1
#
# --- REDISTRIBUTE MESH, C1 or C2 ---
#
*REDISTRIBUTE_MESH_CARTESIAN
1
P, 1, X, [%c1], [%c2]
0.0, 0.0, 0.0
*END