CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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 Display Modes
Old   April 20, 2010, 10:15
Default Definition of Residuals in pressure-based and density-based solvers
  #1
Member
 
Rain
Join Date: Apr 2009
Posts: 40
Rep Power: 8
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, 14:36
Default
  #2
Senior Member
 
Chris
Join Date: Jul 2009
Location: Ohio, USA
Posts: 169
Rep Power: 8
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, 04:08
Default Got it
  #3
Member
 
Rain
Join Date: Apr 2009
Posts: 40
Rep Power: 8
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
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 On
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 18 April 13, 2015 07:49
Pressure vs. Density based jan FLUENT 2 May 3, 2007 03:45
Pressure based and Density based Solver Xobile CD-adapco 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 09:48


All times are GMT -4. The time now is 00:37.