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

Definition of Residuals in pressure-based and density-based solvers

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2010, 11:15
Default Definition of Residuals in pressure-based and density-based solvers
  #1
Member
 
Reine Granström
Join Date: Apr 2009
Location: Sweden
Posts: 43
Rep Power: 16
gravis is on a distinguished road
Dear all,

I have a question regarding the definition of residuals in the different solvers in Fluent 12.0.

For the pressure-based solver, I understand that the residual is defined as the imbalance of the linear discretized equations. I recognise this definition from CFX, for which the expression is similar.

In the documentation, it is written that the residual for the density-based solver is defined as the "time rate of change of the conserved variable" (Section 26.13.1). I am unsure about the meaning of "time rate" in this context, assuming it is a steady state solution.

I hope that someone can clear this out. I guess that the calculated magnitude of the residuals are generally of the same order for pressure-based and density-based solvers, since the recommended values given in the documentation for judging convergence do not seem to differ between the two. Still, it would be interesting for me to understand in detail how the residuals are calculated.

Best Regards,
Reine
gravis is offline   Reply With Quote

Old   April 20, 2010, 15:36
Default
  #2
Senior Member
 
Chris
Join Date: Jul 2009
Location: Ohio, USA
Posts: 169
Rep Power: 16
Chris D is on a distinguished road
The solution may be steady, but it's solved by marching in time from an initial condition. Think of it like solving dU/dt = -dE/dx - dF/dy - dG/dz + S, where U is the vector of conserved variables, E, F, and G are the fluxes, and S is a source term. (The Euler and NS equations can be case in this form. See, for example, Anderson's CFD book.) You can solve the equation by time marching, either implicitly or explicitly, from an initial condition until dU/dt = 0. This is where the "time rate of change of the conserved variable" comes from.
Chris D is offline   Reply With Quote

Old   April 21, 2010, 05:08
Default Got it
  #3
Member
 
Reine Granström
Join Date: Apr 2009
Location: Sweden
Posts: 43
Rep Power: 16
gravis is on a distinguished road
Chris, thank you for your reply.

I had not read up on the time marching procedure in Fluent so I did not really understand the time discretization in steady state. In CFX, there is more direct control of the steady state time step than in Fluent. Now I can see the similarity between the codes.
gravis is offline   Reply With Quote

Reply

Tags
residuals fluent cfx

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Pressure based and Density based Solver Xobile Main CFD Forum 39 August 19, 2020 07:04
Pressure vs. Density based jan FLUENT 2 May 3, 2007 04:45
Pressure based and Density based Solver Xobile Siemens 1 November 30, 2004 22:13
pressure and density based solvers sun Main CFD Forum 0 November 8, 2004 07:20
Pressure vs Density based CFD solvers Danie Main CFD Forum 0 October 5, 2004 10:48


All times are GMT -4. The time now is 02:05.