CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

PSA: if you're modelling compressible flow, use the coupled solver

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2017, 08:25
Default PSA: if you're modelling compressible flow, use the coupled solver
  #1
New Member
 
Marco Seid
Join Date: Mar 2017
Posts: 12
Rep Power: 9
zyzz is on a distinguished road
The default Fluent solver solves the Navier-Stokes equations for incompressible flow. It solves the momentum equations first then solves the pressure equation separately.

If you have compressible flow (e.g., modelling the flow of a gas that experiences a significant temperature change), you need to use the coupled solver, which solves the momentum and pressure equations together.

I had some problems in my project in the last few days due to this, so I hope this helps someone someday.

Further reading:

https://www.sharcnet.ca/Software/Ans...eOverview.html

https://www.sharcnet.ca/Software/Ans...ns_scheme.html

https://www.sharcnet.ca/Software/Ans..._solve_pv.html
zyzz is offline   Reply With Quote

Old   April 12, 2017, 16:20
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
No. You are right on one point but for completely wrong reasons. Please don't go around spewing such nonsense because you only contribute to people's further misunderstanding.

The default Fluent, you really mean the pressure based solver which is a segregated solver, still solves the compressible Navier-Stokes. It solves them using some algorithms which I guess you do not at all understand. There is no such thing as a pressure equation. There is no independent equation that describes the time evolution of pressure, this is the well-known pressure-velocity coupling problem.

However, the default SIMPLE algorithm uses a predictor-corrector approach to solve the momentum equation for pressure & velocity. It utilizes the continuity constraint to formulate the pressure correction equation, which is not an equation for pressure. The choice of solving momentum and a pressure correction is the algorithm itself.

But you have a choice of using the pressure-based solver with a COUPLED algorithm that solves simultaneously the pressure & velocity. However, this approach is not the same as the density-base solver which solves continutiy, momentum, and the energy equation simultaneously whereas the pressure-based solver only solves the continuity & momentum equations simultaneously but segregates the energy equation.

For steady flows, the SIMPLE algorithm is naturally unstable, and that is why it needs under-relaxation. People mistake this desirable property of SIMPLE and interpret it as "SIMPLE only works for incompressible flows and cannot be used for compressible flows". It is straightforward to use SIMPLE in a compressible flow, you just update the cell density before entering the SIMPLE part of the algorithm or update the density after you are done with the SIMPLE part. Updating the cell density really has nothing to do with SIMPLE, but it is so easy to do that people often include it in their diagrams for how their code looks. If you are able to follow up to here on how this updating the cell densities works, you should understand why the pressure-based solver is finicky.

Bottom line is, the pressure-based solver is extremely capable of solving compressible flows. At the end of the day, the solution satisfies the compressible Navier-Stokes, regardless of how it got there. However, user mileage varies. One thing that really helps, for both pressure-based and density-based solver, is to always have a good initial guess.

You are right to suggest using the density-based solver, but just because you don't know how to fly a plane does not mean that a plane cannot take you to your destination.
juliom, granzer, Muthaiah and 3 others like this.

Last edited by LuckyTran; April 12, 2017 at 19:13.
LuckyTran is offline   Reply With Quote

Old   April 12, 2017, 21:08
Default
  #3
New Member
 
Marco Seid
Join Date: Mar 2017
Posts: 12
Rep Power: 9
zyzz is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
No. You are right on one point but for completely wrong reasons. Please don't go around spewing such nonsense because you only contribute to people's further misunderstanding.

The default Fluent, you really mean the pressure based solver which is a segregated solver, still solves the compressible Navier-Stokes. It solves them using some algorithms which I guess you do not at all understand. There is no such thing as a pressure equation. There is no independent equation that describes the time evolution of pressure, this is the well-known pressure-velocity coupling problem.

However, the default SIMPLE algorithm uses a predictor-corrector approach to solve the momentum equation for pressure & velocity. It utilizes the continuity constraint to formulate the pressure correction equation, which is not an equation for pressure. The choice of solving momentum and a pressure correction is the algorithm itself.

But you have a choice of using the pressure-based solver with a COUPLED algorithm that solves simultaneously the pressure & velocity. However, this approach is not the same as the density-base solver which solves continutiy, momentum, and the energy equation simultaneously whereas the pressure-based solver only solves the continuity & momentum equations simultaneously but segregates the energy equation.

For steady flows, the SIMPLE algorithm is naturally unstable, and that is why it needs under-relaxation. People mistake this desirable property of SIMPLE and interpret it as "SIMPLE only works for incompressible flows and cannot be used for compressible flows". It is straightforward to use SIMPLE in a compressible flow, you just update the cell density before entering the SIMPLE part of the algorithm or update the density after you are done with the SIMPLE part. Updating the cell density really has nothing to do with SIMPLE, but it is so easy to do that people often include it in their diagrams for how their code looks. If you are able to follow up to here on how this updating the cell densities works, you should understand why the pressure-based solver is finicky.

Bottom line is, the pressure-based solver is extremely capable of solving compressible flows. At the end of the day, the solution satisfies the compressible Navier-Stokes, regardless of how it got there. However, user mileage varies. One thing that really helps, for both pressure-based and density-based solver, is to always have a good initial guess.

You are right to suggest using the density-based solver, but just because you don't know how to fly a plane does not mean that a plane cannot take you to your destination.
I see. Thank you very much for the correction LuckyTran. I apologize if I've misguided anyone.
zyzz 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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
compressible flow calculation error using rhoSimpleFoam solver student4326 OpenFOAM Running, Solving & CFD 7 November 2, 2015 12:34
Compressible flow solver in Fluent jwillie2000 FLUENT 4 May 25, 2012 10:58
Some confusion about coupled solver for incompressible flow bearcat Main CFD Forum 0 February 14, 2010 21:40
Best solver for Highly Compressible Flow manish FLUENT 3 February 25, 2005 03:29


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