I am currently working with convection equation $\frac{\partial C}{\partial t}+u\frac{\partial C}{\partial x}+v\frac{\partial C}{\partial y}=0$. I assume that the velocity field is incompressible i.e. $\frac{\partial u}{\partial x}+\frac{\partial v}{\partial y}=0$. However in most scenarios, I don't have the explicit expression for $u$ and $v$ at all points. But instead, I only have the data about the velocities at certain locations only.
More precisely, suppose I have a velocity field $(u,v)$ defined only at the grid points $(i\Delta x,j\Delta y)$ with $i=0,1,\cdots,N$ and $j=0,1,\cdots,N$ (let's just say that the domain is a square). Is there a some sort of algorithm to "redefine" the velocity field so that it is close to divergence free at the grid level (in other words $\frac{u_{i+1,j}-u_{i,j}}{\Delta x}+\frac{v_{i,j+1}-v_{i,j}}{\Delta y}$ is very close to zero) and the redefined vector field is "close" to the original one? Would be helpful if there is a paper or reference that I can look at on this matter.