Mesh commands
entype, enid, dir, c${}_1$, c${}_2$
x${}_c$, y${}_c$, z${}_c$
Parameter definition
coid Command ID
entype Entity type
options: G, P
enid Entity ID
dir Direction of redistribution
options: X, Y, Z, XY, YZ, ZX, XYZ
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

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.

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.

%c1 = 0, "Polynomial redistribution"
%c2 = 3, "Exponential redistribution"
# --- MESH ---
1, 1, 10, 1, 1
0, 0, 0, 1.0, 0.1, 0.1
1, 1
1, 1
# --- REDISTRIBUTE MESH, C1 or C2 ---
P, 1, X, [%c1], [%c2]
0.0, 0.0, 0.0