CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Why numerical diffusion is related to the advection term

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2017, 11:52
Default Why numerical diffusion is related to the advection term
  #1
New Member
 
rik houthuys
Join Date: Jan 2017
Posts: 27
Rep Power: 9
Houthuys is on a distinguished road
Hello All,

In many literature I found that the numerical diffusion is always related to the discretization of the advection term without any justification of this statement.
To the best of my knowledge the numerical diffusion is a result of the truncation error which exist when using the numerical method to discretize advection or diffusion term. I know the due to the nature of diffusion it allows the use of higher order scheme without facing the boundedness problem. But even higher order schemes still have some sort of truncation error.

Is there's somehing that I am not aware of?
Houthuys is offline   Reply With Quote

Old   January 19, 2017, 12:15
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Houthuys View Post
Hello All,

In many literature I found that the numerical diffusion is always related to the discretization of the advection term without any justification of this statement.
To the best of my knowledge the numerical diffusion is a result of the truncation error which exist when using the numerical method to discretize advection or diffusion term. I know the due to the nature of diffusion it allows the use of higher order scheme without facing the boundedness problem. But even higher order schemes still have some sort of truncation error.

Is there's somehing that I am not aware of?

Any discretization of a integral o differential operator produces a local truncation error, in this sense you are right, considering for example the momentum equation we have the time-derivative, the convection, the pressure and the diffusion terms that produce a global truncation error.
However, the key appears clear if you consider that only the diffusion term is of second order (for example in incompressible flows you have mu*Lap u). Therefore, when you discretize the other derivatives that are first order (time derivative and convective term), you have to check from the expression of the local truncation errors if appears some terms that has some coefficients that multiply a secondo order derivative. Such terms are the "numerical diffusion" as they mimics the diffusion already present in the equation but with a mgnitude (the coefficient) that is not physical but numerical.
Of course, the same physical diffusion when discretized has a truncation error but it appears with higher order derivatives, for example third or forth order derivatives (dispersion and dissipation, respectively).
FMDenaro is offline   Reply With Quote

Old   January 20, 2017, 00:20
Default
  #3
Senior Member
 
Martin Hegedus
Join Date: Feb 2011
Posts: 500
Rep Power: 19
Martin Hegedus is on a distinguished road
One of the issues is that there are waves going in the positive and negative directions so the error term is a function of (dq(+)/dx - dq(-)/dx)/2. Physically this term is zero for a continuous system but numerically it is not. This, I believe, is the numerical diffusion term. If I understand the question correctly. As more terms are kept in the Taylor series, this gets closer to zero.
Martin Hegedus is offline   Reply With Quote

Old   January 20, 2017, 04:05
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
one can also see the local truncation error in the wavenumber space by using the modified wavenumber analysis...numerical diffusion is seen by presence of the imaginary part
FMDenaro is offline   Reply With Quote

Old   January 23, 2017, 09:17
Default
  #5
New Member
 
rik houthuys
Join Date: Jan 2017
Posts: 27
Rep Power: 9
Houthuys is on a distinguished road
Thanks Filippo,

Can you please elaborate on the physical meaning of the dispersion and dissipation because after some search I couldn't differentiate it from diffusion.

Best regards
Houthuys is offline   Reply With Quote

Old   January 23, 2017, 10:29
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
By a physical point of view, the presence of a numerical diffusion is highlighted by the smoothing of sharp gradients. The presence of numerical dispersion is highlighted by the fact that an exact solution constituded by a packet of waves moving at a certain velocity is altered, producing different velocity of propagation for each wavelenght.
FMDenaro is offline   Reply With Quote

Old   January 28, 2017, 22:01
Default
  #7
New Member
 
rik houthuys
Join Date: Jan 2017
Posts: 27
Rep Power: 9
Houthuys is on a distinguished road
Thanks again Filippo, that helped a lot
Houthuys is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Model crashes while solving advection diffusion equation cooljd Main CFD Forum 3 August 23, 2012 10:40
Tubrulence model diffusion term ??? Tobi OpenFOAM 2 June 5, 2012 07:21
Advection Term Anil CFX 4 October 3, 2007 09:09
Source term for diffusion equation in FLUENT 4.5 Raja Banerjee FLUENT 1 August 30, 2000 23:00
Numerical diffusion error Z.Zeng Main CFD Forum 8 October 22, 1999 09:06


All times are GMT -4. The time now is 23:44.