CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Iterations and Residuals

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

Like Tree2Likes
  • 2 Post By chegdan

Reply
 
LinkBack Thread Tools Display Modes
Old   July 20, 2012, 16:56
Default Iterations and Residuals
  #1
New Member
 
David
Join Date: Mar 2010
Location: Vancouver, Canada
Posts: 13
Rep Power: 7
PEM_GUY is on a distinguished road
So - I have read through the existing threads in this area, but I don't believe there is one that directly addresses a solution for this.

the standard output from a solver is
/***********
t=0
(sweep dir 0) initial residual: final residual: iterations
(sweep dir 1) initial residual: final residual: iterations
(sweep dir 2) initial residual: final residual: iterations
t= 1..n
(sweep dir 0) initial residual: final residual: iterations
(sweep dir 1) initial residual: final residual: iterations
(sweep dir 2) initial residual: final residual: iterations
***********/

now what I am looking for is -- I want to see the change in residual in each iteration. However, I have found no way to do this to this point.

I have seen that you can use maxIter and the residual keywords to make the time stepping output as iterations if this was a steady state case (still not ideal).

but if there was a way to output the iterations at each sweep this would be applicable for monitoring my time advance, as well as for steady state.

does anyone know if this is available to do, and if so how?

thanks!
PEM_GUY is offline   Reply With Quote

Old   July 26, 2012, 16:48
Default
  #2
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 418
Rep Power: 14
santiagomarquezd will become famous soon enough
Hi, PEM_GUY, FOAM has a set of flags that allow you to select the level of verbosity of at run-time. I can't remember now, but increasing the verbosity level in solving could give you the information you want.

Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Post-doctoral Fellow
Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   July 30, 2012, 14:24
Default
  #3
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 543
Rep Power: 18
chegdan will become famous soon enough
Quote:
Originally Posted by santiagomarquezd View Post
Hi, PEM_GUY, FOAM has a set of flags that allow you to select the level of verbosity of at run-time. I can't remember now, but increasing the verbosity level in solving could give you the information you want.

Regards.
set the lduMatrix flag to 2 in the global controlDict file in

Code:
$HOME/OpenFOAM/OpenFOAM-2.1.x/etc
and that should give you more information about the inner iterations..
wyldckat and Bahram like this.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Reply

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
OpenFOAM - structured or unstructured Grids ? thomasduerr OpenFOAM Meshing & Mesh Conversion 18 October 10, 2014 06:31
plot residuals in multiregion solver val46 OpenFOAM 3 September 7, 2012 02:59
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
Residuals maka OpenFOAM Bugs 0 August 4, 2008 14:07
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36


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