|
[Sponsors] |
Disabling and Enabling Solver Summary Outputs within code |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 1, 2007, 09:45 |
I am working on a custom solve
|
#1 |
Member
Adam Donaldson
Join Date: Mar 2009
Location: Ottawa, Ontario, Canada
Posts: 37
Rep Power: 17 |
I am working on a custom solver that requires I use the solve function a number of times during my solution. Unfortunately, This leads to a very large number of the summary lines being output to the terminal window, i.e.:
DICPCG: Solving for gamma, Initial residual = 0.000100881, Final residual = 1.64739e-12, No Iterations 1 Is there any way to temporarily disable the summary output to the terminal within the solver code, and then re-enable it following the section where the large number of equations are solved. Thanks, Adam |
|
November 1, 2007, 10:55 |
I see that under the lduMatrix
|
#2 |
Member
Adam Donaldson
Join Date: Mar 2009
Location: Ottawa, Ontario, Canada
Posts: 37
Rep Power: 17 |
I see that under the lduMatrixTests.C file a debug switch is checked to see if a summary of the solution statistics should be printed to the screen.
Is there a way to either modify this switch during runtime, or define an lduMatrix that has a set debug switch = 0?. |
|
November 1, 2007, 11:17 |
Yes. In the code, you can do
|
#3 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Yes. In the code, you can do
lduMatrix::debug = 0; or edit $HOME/.OpenFOAM-1.4.1-dev/controlDict and set lduMatrix debug switch to zero. Enjoy, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
November 1, 2007, 12:00 |
Great. Thank you
|
#4 |
Member
Adam Donaldson
Join Date: Mar 2009
Location: Ottawa, Ontario, Canada
Posts: 37
Rep Power: 17 |
Great. Thank you
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Howto disable Solver Outputs | holger_marschall | OpenFOAM Running, Solving & CFD | 7 | January 25, 2018 18:33 |
[OpenFOAM] ParaFoam outputs empty foam file | theof | ParaView | 1 | January 20, 2006 14:51 |
About the particle summary DPM | Fuping Qian | FLUENT | 0 | July 22, 2005 03:59 |
Enabling ideal gas for nitrogen | manish | FLUENT | 6 | March 2, 2005 12:46 |
Disabling equations in specific zones | D Harvey | FLUENT | 1 | March 22, 2004 20:50 |