# Is there a method to examine numerical diffusion for non-linear PDE?

I have a nasty non-linear partial differential equation. I wonder if there exists a method that would allow me to examine what numerical errors (like numerical diffusion or dispersion) are introduced by different approximation schemes. Name of the method or a link to a paper would be great.

EDIT: Equation $$\frac{\partial f}{\partial t}+\frac{\partial}{\partial x} \left(\sqrt{c-\frac{\partial f}{\partial x}} \right)=0$$ $c$ is a constant.

• It would be helpful if you wrote out the equations here or linked to them. Jan 22, 2014 at 14:29
• @BillBarth I have added it. Jan 22, 2014 at 18:31
• Thanks, @Misery, but that's a formula, not an equation. Do you set that equal to zero? Also, do you have a constraint that $\partial f/\partial x < c$, or do you accept that this might blow up? Jan 22, 2014 at 18:34
• @BillBarth ooops! Sorry. Jan 22, 2014 at 19:29
• @BillBarth constant $c>0$ and I do assume that derivative is less than $c$ Jan 23, 2014 at 9:05

To examine the numerical diffusion you need to do the standard consistency analysis in the space variable, that is, you insert the exact solution into your numerical scheme, expand terms of the form $f(x_i+h)$ into a Taylor series, and estimate the terms that you cut off in your approximation. The terms that are of the form $c_d \frac{\partial ^2 f}{\partial x^2}$ and that do not cancel out, are then responsible for numerical diffusion.