CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   about control the debug information (https://www.cfd-online.com/Forums/openfoam-solving/133176-about-control-debug-information.html)

bieshuxuhe April 11, 2014 08:50

about control the debug information
 
hi !
I have modified DebugSwitches in the " etc/controlDict “ file ,but I don't know what to compile to make the modification come into effect !:confused:
I wonder if I have to Allwmake the OpenFOAM again ?:o it will take long !:eek:

could you help me ?
thanks.

bieshuxuhe April 11, 2014 13:21

hello,
for example ,I change the DebugSwitches { ...}
from
"lduMatrix 1;"
to
"lduMatrix 2;"
in the "OpenFOAM/OpenFOAM-2.2.0/etc/controlDict"

then, I run the dambreak case using interFoam , but I don't find more information print out in the terminal .
I wonder if I should do something to make sure the setting about lduMatrix to become
effect
?

thank you!

bieshuxuhe April 11, 2014 23:41

hello!
when i use openfoam-2.1.x , i could get residuals of every iteration by modifying the DebugSwitches in the " etc/controlDict “ file:
from
"lduMatrix 1;"
to
"lduMatrix 2;"

but now it doesn't work for openfoam-2.2.x !

how could I get residuals of every iteration from the terminal ? could you help me ?
thanks.

wyldckat April 13, 2014 17:32

Greetings bieshuxuhe,

I vaguely remember someone asking and writing about this the other day... I went looking and I only found these two threads:
OK, looks like the output you're looking for is achieved with setting this instead:
Code:

SolverPerformance  2;
This is because in OpenFOAM 2.1.x, the test was done here:
Code:

src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixTests.C
while in OpenFOAM 2.2.x, it's done here:
Code:

src/OpenFOAM/matrices/LduMatrix/LduMatrix/SolverPerformance.C
Best regards,
Bruno

bieshuxuhe April 13, 2014 22:16

thanks for your help !


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