# Artificial Diffusion

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 5, 2020, 10:11 Artificial Diffusion #1 New Member   Mudit Mehta Join Date: Mar 2020 Posts: 15 Rep Power: 4 Hello, I want to know how to show the effect of artificial diffusion by using first order Upwind scheme for convective terms?

 May 5, 2020, 11:05 #2 Senior Member   Filippo Maria Denaro Join Date: Jul 2010 Posts: 6,062 Rep Power: 64 Use the linear wave equation, discretize using a first order explicit time integration and write the modified equation vesp and Mudit2208 like this.

 May 5, 2020, 11:15 #3 New Member   Mudit Mehta Join Date: Mar 2020 Posts: 15 Rep Power: 4 Thanks for your reply. But i am solving steady state Navier stokes equation for Lid driven cavity problem. I am required to demonstrate the effect of artificial diffusion using first order upwind scheme for convective terms. Could you please help me with this?

May 5, 2020, 11:29
#4
Senior Member

Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,062
Rep Power: 64
Quote:
 Originally Posted by Mudit2208 Thanks for your reply. But i am solving steady state Navier stokes equation for Lid driven cavity problem. I am required to demonstrate the effect of artificial diffusion using first order upwind scheme for convective terms. Could you please help me with this?

Show the expression of the local truncation error of the discretization of the convective term. What term is present? What is the meaning in terms of the physics you are solving?

 May 5, 2020, 19:53 #5 Senior Member     Paolo Lampitella Join Date: Mar 2009 Location: Italy Posts: 1,809 Blog Entries: 29 Rep Power: 36 Two possible ways are: 1) Use second order as well and compare the two 2) Solve for a flow with analytical solution and detect the actual viscosity given by the numerical solution In both cases it is required to work at fixed mesh size, otherwise the numerical viscosity would change

 Tags navierstokes cfd, python, simple algorithm