REDISTRIBUTE_MESH_CARTESIAN

Mesh commands

*REDISTRIBUTE_MESH_CARTESIAN
coid
entype, enid, dir, $c_1$, $c_2$
$x_c$, $y_c$, $z_c$

Parameter definition

Variable
Description
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

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