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

Why collocated grid can be used for solving compressible flow?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By sbaffini
  • 1 Post By agd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2019, 19:49
Unhappy Why collocated grid can be used for solving compressible flow?
  #1
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Greetings,

As far as I know, there are some in-house codes (e.g., the code I am using) for solving high-speed compressible flows based on collocated grid (with finite difference of course), and they can generate good results without further efforts such as applying Rhie-Chow interpolation.

In contrast, in incompressible flow, collocated mesh will lead to some high-frequency oscillations in the solution due to the velocity-pressure decoupling (if I remember correctly), and either have to apply Rhie-Chow interpolation to fix it or just switch to staggered mesh.

I am confused : why collocated mesh can work for compressible flow, and yet it doesn't work for incompressible flow? I read some explanations saying that it relates to energy conservation. But I have no clue about the details.

Could anything provide some insights? Or maybe some papers I can refer to?

Appreciate it!

Last edited by TurbJet; January 19, 2019 at 20:59.
TurbJet is offline   Reply With Quote

Old   January 19, 2019, 04:33
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
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
Greetings,

As far as I know, there are some in-house codes (e.g., the code I am using) for solving high-speed compressible flows based on collocated grid (with finite difference of course), and they can generate good results without further efforts such as applying Rhie-Chow interpolation.

In contrast, in incompressible flow, collocated mesh will lead to some high-frequency oscillations in the solution due to the velocity-pressure decoupling (if I remember correctly), and either have to apply Rhie-Chow interpolation to fix it or just switch to staggered mesh.

I am confused : why collocated mesh does work for compressible flow, and yet it doesn't for incompressible flow? I read some explanations saying that it relates to energy conservation. But I have no clue about the details.

Could anything provide some insights? Or maybe some papers I can refer to?

Appreciate it!



The decopuling appearing in the incompressible flow solvers is due to the elliptic equation for the pressure that must enforce the divergence-free velocity constraint (have a look to the Peric & Ferziger textbook). Conversely, in compressible flow solvers this equation does not exist as the pressure is thermodinamic.

However, some oscillations can appear also in this case.
FMDenaro is offline   Reply With Quote

Old   January 19, 2019, 12:22
Default
  #3
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
The decopuling appearing in the incompressible flow solvers is due to the elliptic equation for the pressure that must enforce the divergence-free velocity constraint (have a look to the Peric & Ferziger textbook). Conversely, in compressible flow solvers this equation does not exist as the pressure is thermodinamic.

However, some oscillations can appear also in this case.
Under what circumstances would the compressible flow have oscillations?

Besides, do you have any references recommend on this topic?

Last edited by TurbJet; January 19, 2019 at 21:00.
TurbJet is offline   Reply With Quote

Old   January 19, 2019, 17:46
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
It also depends from the specific compressible solver in use and the convective scheme. The preconditioned Roe flux difference splitting scheme has a Rhie-Chow like term for the pressure in the incompressible limit. Too drunk now to remember if it is in place also in general and/or for the non preconditioned case.
AliE likes this.
sbaffini is offline   Reply With Quote

Old   January 19, 2019, 18:27
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 sbaffini View Post
It also depends from the specific compressible solver in use and the convective scheme. The preconditioned Roe flux difference splitting scheme has a Rhie-Chow like term for the pressure in the incompressible limit. Too drunk now to remember if it is in place also in general and/or for the non preconditioned case.
That sounds about right; I've read a paper by S.K.Lele says that if shock waves is involved in the flow, collocated mesh will no longer work, so I guess the R-C interpolation has to be applied.

But I am just wondering, for low-speed compressible flow (e.g., subsonic, no shock waves), why the collocated mesh can work? Is it just because no Poisson equation as in incompressible flow?
TurbJet is offline   Reply With Quote

Old   January 21, 2019, 06:26
Default
  #6
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
The continuity equation, no matter in which kind of solver, always include the divergence of the mass flux. If this is just evaluated centrally, I think you are going to have problems as well, no matter what.

I think compressible codes don't have such problems because they actually use upwinding/matrix dissipation for the mass flux in the continuity equation.

Rhie-Chow, in a sense, just does that, adds dissipation to the mass flux in the continuity equation.
sbaffini is offline   Reply With Quote

Old   January 21, 2019, 12:17
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 sbaffini View Post
The continuity equation, no matter in which kind of solver, always include the divergence of the mass flux. If this is just evaluated centrally, I think you are going to have problems as well, no matter what.

I think compressible codes don't have such problems because they actually use upwinding/matrix dissipation for the mass flux in the continuity equation.

Rhie-Chow, in a sense, just does that, adds dissipation to the mass flux in the continuity equation.
Actually, for subsonic-to-transonic flow, the code I use can directly use 4th-order DRP scheme (which is an optimized central difference). But it's true that sometimes extra artificial filtering (dissipation) needs to be added to keep the solution stable.
TurbJet is offline   Reply With Quote

Old   January 21, 2019, 14:24
Default
  #8
agd
Senior Member
 
Join Date: Jul 2009
Posts: 358
Rep Power: 19
agd is on a distinguished road
If you are using a dispersion-preserving scheme such as that developed by C. Tam, I would be surprised if there is not some artificial damping added into the code to maintain stability. It may be in the form of explicit damping or a high-order filter to remove spurious oscillations, but it will be there. All central difference schemes require some form of damping/upwinding/filtering as the Mach number increases to account for the hyperbolic nature of the equations of motion.
TurbJet likes this.
agd is offline   Reply With Quote

Old   January 21, 2019, 16:24
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 agd View Post
If you are using a dispersion-preserving scheme such as that developed by C. Tam, I would be surprised if there is not some artificial damping added into the code to maintain stability. It may be in the form of explicit damping or a high-order filter to remove spurious oscillations, but it will be there. All central difference schemes require some form of damping/upwinding/filtering as the Mach number increases to account for the hyperbolic nature of the equations of motion.
I am using DRP scheme developed by C.Bogey & C.Bailly. I do use filtering. What I meant in the previous thread is just that there are some cases I can live without it.

Um, so I guess it is the filtering eliminates those oscillations so that they do not show up? Namely, the collocated mesh still introduce oscillations (same as in incompressible flow) but just killed by filtering?

Or it is the different oscillations you are talking about?
TurbJet is offline   Reply With Quote

Old   January 21, 2019, 16:39
Default
  #10
agd
Senior Member
 
Join Date: Jul 2009
Posts: 358
Rep Power: 19
agd is on a distinguished road
No, that's it. The filtering removes the oscillatory behavior that would tend to develop. It serves the same function as artificial viscosity, or added damping, or upwinding. It is just a different approach to the same end state.
agd is offline   Reply With Quote

Old   January 21, 2019, 16:50
Default
  #11
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Generally, one analyses the number of zero in the Fourier symbol of the operator. If more than the fundamental mode is found (more than one dimension), the zeros are at the Nyquist frequencies implying a possible oscillations in the solution. The adoption of filtering aims to eliminate such modes.
FMDenaro is offline   Reply With Quote

Old   January 21, 2019, 16:57
Default
  #12
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 agd View Post
No, that's it. The filtering removes the oscillatory behavior that would tend to develop. It serves the same function as artificial viscosity, or added damping, or upwinding. It is just a different approach to the same end state.
Now it makes me wondering if anyone adopt such approach to incompressible (introducing the filtering and without the Rhie-Chow interpolation) to eliminate the oscillations from collocated mesh?

Also, assuming I am using staggered mesh, is the artificial viscosity still needed?

Last edited by TurbJet; January 21, 2019 at 18:47.
TurbJet is offline   Reply With Quote

Old   January 21, 2019, 16:59
Default
  #13
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
Generally, one analyses the number of zero in the Fourier symbol of the operator. If more than the fundamental mode is found (more than one dimension), the zeros are at the Nyquist frequencies implying a possible oscillations in the solution. The adoption of filtering aims to eliminate such modes.
So you mean the filtering kills all possible oscillations, no matter where they stems from?
TurbJet is offline   Reply With Quote

Old   January 21, 2019, 17:04
Default
  #14
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
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
So you mean the filtering kills all possible oscillations, no matter where they stems from?

Well, it depends on the type of filtering, some filter can totally remove high wavenumbers components other types can smooth the content...
FMDenaro is offline   Reply With Quote

Reply

Tags
collocated grid, compressible flows, incompressible flows


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
Compressible flow or incompressible flow equation?? ulfaazmi Main CFD Forum 0 July 10, 2018 06:48
compressible vs incompressible flow Nick R Main CFD Forum 1 March 15, 2017 12:29
What is the difference between Non-staggered and Collocated grid? carl jung Main CFD Forum 2 January 23, 2017 15:39
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 104 February 16, 2006 06:44
Compressible Flow Modelling? yeo FLUENT 4 March 7, 2003 08:08


All times are GMT -4. The time now is 03:36.