CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Residuals in the log file

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

LinkBack Thread Tools Display Modes
Old   October 29, 2009, 05:26
Default Residuals in the log file
New Member
Join Date: Mar 2009
Posts: 23
Rep Power: 10
jml is on a distinguished road
Hi everyone,
I use cavitatingFoam, and I usually redirect the terminal output to a log file
that can be viewed later (cavitatingFoam > log).
Each time step, the code shows the following data:

Time = 6.89243e-10

DILUPBiCG: Solving for rho, Initial residual = 0.0446275, Final residual
= 3.04602e-11, No Iterations 1
max-min rho: 869.997 865.673
max-min gamma: 0 0
DILUPBiCG: Solving for Ux, Initial residual = 0.0297357, Final residual =
4.13384e-10, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 0.029718, Final residual =
4.13323e-10, No Iterations 1
DILUPBiCG: Solving for Uz, Initial residual = 0.0690214, Final residual =
9.63771e-10, No Iterations 1
GAMG: Solving for p, Initial residual = 0.011162, Final residual =
3.51462e-09, No Iterations 3
max-min p: 8e+07 5.04471e+07
max(U) 20.6549
max-min rho: 869.997 855.221
max-min gamma: 0 0
GAMG: Solving for p, Initial residual = 0.00340274, Final residual =
2.19309e-09, No Iterations 3
max-min p: 8e+07 5.06173e+07
max(U) 20.6766
max-min rho: 869.997 855.306
max-min gamma: 0 0
GAMG: Solving for p, Initial residual = 0.00019062, Final residual =
2.68717e-09, No Iterations 2
max-min p: 8e+07 5.06262e+07
max(U) 20.6778
max-min rho: 869.997 855.31
max-min gamma: 0 0
ExecutionTime = 147.81 s ClockTime = 148 s


What can I do to avoid the lines referred to the residuals? What files do I must modify?

jml is offline   Reply With Quote

Old   July 20, 2012, 08:13
Senior Member
Bernhard Linseisen
Join Date: May 2010
Location: Magdeburg/Geneva
Posts: 182
Blog Entries: 1
Rep Power: 9
Linse is on a distinguished road
I guess the question is a bit outdated by now. But for the case somebody looks for it: Such settings (actually, at least most of the output settings) can be made within the /etc/controlDict file which is available in every installation to my knowledge. Setting 1 or 0 for the different Outputs should make it write the specific lines (or not)...
Linse is offline   Reply With Quote


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
Convection discretization schemes for LES sek OpenFOAM Running, Solving & CFD 38 July 31, 2017 14:30
Paraview command not found hardy OpenFOAM Paraview & paraFoam 7 September 18, 2008 04:59
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
recording residuals in a seperate file khairy FLUENT 0 June 30, 2006 22:35
Importing I-DEAS unv file hbetb FLUENT 1 August 10, 2001 13:22

All times are GMT -4. The time now is 18:27.