I have partial differential equation, where Dirac delta-function is the only source (other terms are diffusion, convection and non-stationary term):

dC/dt+U*dC/dx=d/dz(K(z,t)*dC/dz)+delta(x-x0)*delta(z-z0)

Here x and z are spatial coordinates, t - temporal, C - dependent virable - gas concentration, U - wind speed, K(z,t) - diffusion coefficient, delta - Dirac delta function, x0 and z0 - constants.This equation is solved using usual finite-difference method (Crank–Nicolson method) on a mesh with two spatial coordinate axes and one temporal.

How I should write Dirac delta-function in numerical scheme? As the source in a single grid cell (with coordinates x0, z0) with integral of unity over this cell OR as source distributed over several cells near (x0, z0)? If second option is correct, what function and on what number of cells I should use?

Similar questions and discussions