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

Iterations and Residuals

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By chegdan

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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: 452
Rep Power: 23
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.
Research Scientist
Research Center for Computational Methods (CIMEC) - CONICET/UNL
Tel: 54-342-4511594 Int. 7032
Colectora Ruta Nac. 168 / Paraje El Pozo
(3000) Santa Fe - Argentina.
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   July 30, 2012, 14:24
Default
  #3
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan 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.
chegdan 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
[Other] OpenFOAM - structured or unstructured Grids ? thomasduerr OpenFOAM Meshing & Mesh Conversion 22 November 24, 2018 23:18
plot residuals in multiregion solver val46 OpenFOAM 4 December 12, 2016 06:06
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 14:08.