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

Difference between diffusion, dissipation and dispersion in physical and numerical

Register Blogs Community New Posts Updated Threads Search

Like Tree20Likes
  • 16 Post By praveen
  • 2 Post By FMDenaro
  • 2 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2018, 21:38
Default Difference between diffusion, dissipation and dispersion in physical and numerical
  #1
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Hi,

I am really confused about the difference between diffusion, dissipation and dispersion in physical and numerical sense.

(Following are my understandings)
In physical sense:
- Diffusion is like "spread out". The parameter spread out the space;
- Dissipation is like the parameter is "gone". Like the momentum transfer to internal energy or heat, the momentum is "lost".
- I've never encountered dispersion in physical sense, so I guess there is no dispersion in this way.

In numerical sense:
- Diffusion & dissipation are the same (I am not sure).
- Dispersion is the oscillations in the solution.

===============================================

I found this earlier thread talking about the similar topic
Numerical diffusion/dispersion/dissipation
Here says, in numerical sense, diffusion = dissipation + dispersion. However, some people I had talked to take dispersion as error in phase (what?). Now I am lost.

Is there any precise definitions for these terminologies?
TurbJet is offline   Reply With Quote

Old   October 6, 2018, 00:40
Default
  #2
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 343
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
Diffusion refers to a phenomenon where some quantity spreads out in space as time goes on.

Dissipation is used to refer to loss of energy.

The effects are related.

If you consider the heat equation
T_t = \mu \Delta T
and start with an initial condition with high temperature in some small region, then the temperature distribution spreads out. This would be called diffusion.

If you calculate
\int_\Omega T^2(x,t) dx
this quantity will decrease with time. So there is a loss of energy. (This is not really energy in physical sense if T is temperature, you can substitute velocity here). Both are caused by the Laplacian term.

If something spreads out, its square integral will probably decrease.

Dispersion is related to wave phenomena. For a linear wave equation
u_t + a u_x = 0, \qquad or \qquad u_{tt} = a^2 u_{xx}
you can resolve the solution into fourier modes. Then each mode will travel at the same speed. We say such equations are non-dispersive. These two equations are also non-dissipative. For smooth solutions with periodic bc, they conserve all integrals of the form
\int_\Omega |u(x,t)|^p dx

An equation like
u_t + a u_x = \kappa u_{xxx}
would have solutions whose fourier modes travel at different speed depending on \kappa and wave number. We say these equations exhibit dispersive behaviour.

We observe these phenomena at the level of pde and we can map them to the behaviour of numerical schemes.

If you solve a non-dissipative and non-dispersive pde with a numerical scheme, you want the numerical solutions to be non-dissipative and non-dispersive. Sadly this is not possible since numerical solutions will exhibit these behaviours even if the exact solution does not. Then we say that the numerical scheme is dissipative and/or dispersive and the interesting thing is to design schemes which atleast minimize these effects which are not present in the exact solution.
sbaffini, juliom, atmcfd and 13 others like this.
praveen is offline   Reply With Quote

Old   October 6, 2018, 03:25
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Praveen provided a good answer, I just suggest to see the numerical effects of diffusion and dispersion by using the modified wavenumber analysis for the linear wave equation discretized by first and second order FD in space.
juliom and aero_head like this.
FMDenaro is offline   Reply With Quote

Old   October 6, 2018, 06:37
Default
  #4
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 539
Rep Power: 20
JBeilke is on a distinguished road
Dispersion is sometimes used as the sum of convection + dissipation.



So you always have to ask, how these words are used. Never ever rely on a general definition.
JBeilke is offline   Reply With Quote

Old   October 6, 2018, 17:32
Default
  #5
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Quote:
Originally Posted by praveen View Post
Diffusion refers to a phenomenon where some quantity spreads out in space as time goes on.

Dissipation is used to refer to loss of energy.

The effects are related.

If you consider the heat equation
T_t = \mu \Delta T
and start with an initial condition with high temperature in some small region, then the temperature distribution spreads out. This would be called diffusion.

If you calculate
\int_\Omega T^2(x,t) dx
this quantity will decrease with time. So there is a loss of energy. (This is not really energy in physical sense if T is temperature, you can substitute velocity here). Both are caused by the Laplacian term.

If something spreads out, its square integral will probably decrease.

Dispersion is related to wave phenomena. For a linear wave equation
u_t + a u_x = 0, \qquad or \qquad u_{tt} = a^2 u_{xx}
you can resolve the solution into fourier modes. Then each mode will travel at the same speed. We say such equations are non-dispersive. These two equations are also non-dissipative. For smooth solutions with periodic bc, they conserve all integrals of the form
\int_\Omega |u(x,t)|^p dx

An equation like
u_t + a u_x = \kappa u_{xxx}
would have solutions whose fourier modes travel at different speed depending on \kappa and wave number. We say these equations exhibit dispersive behaviour.

We observe these phenomena at the level of pde and we can map them to the behaviour of numerical schemes.

If you solve a non-dissipative and non-dispersive pde with a numerical scheme, you want the numerical solutions to be non-dissipative and non-dispersive. Sadly this is not possible since numerical solutions will exhibit these behaviours even if the exact solution does not. Then we say that the numerical scheme is dissipative and/or dispersive and the interesting thing is to design schemes which atleast minimize these effects which are not present in the exact solution.
Thanks for the reply. It's really helpful.

I still have some questions:

- diffusion like "spread-out", dissipation like "loss". Then how we recognize if a numerical scheme is "diffusive" or "dissipative"? By taking integral and see if the variable decreases? If it decreases, then it's dissipative; if not, then it's diffusive. Am I right?
- as for the Fourier representation, I have seen people using different formula: some use combination of harmonic functions in space and exponential in time (something like sin(x)exp(t) + cos(x)exp(t)), while some use purely exponential (something like e^{i(x-t)+t}). Which one would you recommend for this analysis?
- Is there anything used for describe the phase error?
TurbJet is offline   Reply With Quote

Old   October 6, 2018, 17:34
Default
  #6
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Praveen provided a good answer, I just suggest to see the numerical effects of diffusion and dispersion by using the modified wavenumber analysis for the linear wave equation discretized by first and second order FD in space.
I am familiar with the modified wave number. I can understand the deficiency in modified wave number can lead to dispersion. But how does it cause diffusion?
TurbJet is offline   Reply With Quote

Old   October 6, 2018, 17:35
Default
  #7
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Quote:
Originally Posted by JBeilke View Post
Dispersion is sometimes used as the sum of convection + dissipation.



So you always have to ask, how these words are used. Never ever rely on a general definition.
So, here, does the convection contains phase error?
TurbJet is offline   Reply With Quote

Old   October 6, 2018, 18:07
Default
  #8
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 539
Rep Power: 20
JBeilke is on a distinguished road
Quote:
Originally Posted by TurbJet View Post
So, here, does the convection contains phase error?

It is a completely different meaning of the word "dispersion" in this case.
JBeilke is offline   Reply With Quote

Old   October 6, 2018, 19:02
Default
  #9
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Quote:
Originally Posted by JBeilke View Post
It is a completely different meaning of the word "dispersion" in this case.
I don't understand. Could you be more specific?
TurbJet is offline   Reply With Quote

Old   October 6, 2018, 19:15
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by TurbJet View Post
I am familiar with the modified wave number. I can understand the deficiency in modified wave number can lead to dispersion. But how does it cause diffusion?

You have simply to start with the exact solution of the linear wave equation and compare the real and imaginary part to the exact wavenumber.
If you are familiar with the modified wavenumber analysis you could be able to follow this text (written in italian fro my CFD students) that explain the character (numerical viscosity and dispersion) of the numerical errors for several FD formulas
juliom and aero_head like this.
FMDenaro is offline   Reply With Quote

Reply

Tags
diffusion, dispersion, dissipation, numerical, physical


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
Numerical dissipation and dispersion hityangsir Main CFD Forum 9 April 15, 2015 01:58


All times are GMT -4. The time now is 15:54.