FEATool Multiphysics
v1.16.4
Finite Element Analysis Toolbox

GRIDSMOOTH Grid smoothing.
[ SOUT ] = GRIDSMOOTH( SIN, N_SM, ALPHA, I_SM ) Apply grid to grid in SIN. N_SM specifies the number of smoothing steps to apply (default 3) and ALPHA is the relaxation parameter (default 0.8). I_SM specifies the smoothing method (default 2).
Pnew = (1ALPHA)*P + ALPHA/#neighbours * SUM(Qj)
with Qj being the neighbours of the point P.
Pnew = (1ALPHA) * P + ALPHA/SUM(PQj) * SUM(PQj * Qj)
with Qj being the neighbours of the point P. The constant ALPHA defines the weighting of the midpoint P of the "patch".