In the field of numerical analysis, meshfree methods are those that do not require connection between nodes of the simulation domain, i.e. a mesh, but are rather based on interaction of each node with all its neighbors. As a consequence, original extensive properties such as mass or kinetic energy are no longer assigned to mesh elements but rather to the single nodes. Meshfree methods enable the simulation of some otherwise difficult types of problems, at the cost of extra computing time and programming effort. The absence of a mesh allows Lagrangian simulations, in which the nodes can move according to the velocity field.
Motivation Numerical methods such as the finite difference method, finite-volume method, and finite element method were originally defined on meshes of data points. In such a mesh, each point has a fixed number of predefined neighbors, and this connectivity between neighbors can be used to define mathematical operators like the derivative. These operators are then used to construct the equations to simulate—such as the Euler equations or the Navier–Stokes equations. But in simulations where the material being simulated can move around (as in computational fluid dynamics) or where large deformations of the material can occur (as in simulations of plastic materials), the connectivity of the mesh can be difficult to maintain without introducing error into the simulation. If the mesh becomes tangled or degenerate during simulation, the operators defined on it may no longer give correct values. The mesh may be recreated during simulation (a process called remeshing), but this can also introduce error, since all the existing data points must be mapped onto a new and different set of data points. Meshfree methods are intended to remedy these problems. Meshfree methods are also useful for:
Simulations where creating a useful mesh from the geometry of a complex 3D object may be especially difficult or require human assistance Simulations where nodes may be created or destroyed, such as in cracking simulations Simulations where the problem geometry may move out of alignment with a fixed mesh, such as in bending simulations Simulations containing nonlinear material behavior, discontinuities or singularities
Example In a traditional finite difference simulation, the domain of a one-dimensional simulation would be some function u(x,t), represented as a mesh of data values uin at points xi, where
i=0,1,2... n=0,1,2... xi+1−xi=h ∀i tn+1−tn=k ∀n We can define the derivatives that occur in the equation being simulated using some finite difference formulae on this domain, for example
∂u∂x=ui+1n−ui−1n2h and
∂u∂t=uin+1−uink Then we can use these definitions of u(x,t) and its spatial and temporal derivatives to write the equation being simulated in finite difference form, then simulate the equation with one of many finite difference methods. In this simple example, the steps (here the spatial step h and timestep k) are constant along all the mesh, and the left and right mesh neighbors of the data value at xi are the values at xi−1 and xi+1, respectively. Generally in finite differences one can allow very simply for steps variable along the mesh, but all the original nodes should be preserved and they can move independently only by deforming the original elements. If even only two of all the nodes change their order, or even only one node is added to or removed from the simulation, that creates a defect in the original mesh and the simple finite difference approximation can no longer hold. Smoothed-particle hydrodynamics (SPH), one of the oldest meshfree methods, solves this problem by treating data points as physical particles with mass and density that can move around over time, and carry some value ui with them. SPH then defines the value of u(x,t) between the particles by
u(x,tn)=∑imiuinρiW(|x−xi|) where mi is the mass of particle i, ρi is the density of particle i, and W is a kernel function that operates on nearby data points and is chosen for smoothness and other useful qualities. By linearity, we can write the spatial derivative as
∂u∂x=∑imiuinρi∂W(|x−xi|)∂x Then we can use these definitions of u(x,t) and its spatial derivatives to write the equation being simulated as an ordinary differential equation, and simulate the equation with one of many numerical methods. In physical terms, this means calculating the forces between the particles, then integrating these forces over time to determine their motion. The advantage of SPH in this situation is that the formulae for u(x,t) and its derivatives do not depend on any adjacency information about the particles; they can use the particles in any order, so it doesn't matter if the particles move around or even exchange places. One disadvantage of SPH is that it requires extra programming to determine the nearest neighbors of a particle. Since the kernel function W only returns nonzero results for nearby particles within twice the "smoothing length" (because we typically choose kernel functions with compact support), it would be a waste of effort to calculate the summations above over every particle in a large simulation. So typically SPH simulators require some extra code to speed up this nearest neighbor calculation.
… excerpt ends here. Continue reading the full article.

