add advection and diffusion formulars for flow calculation