|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Adam Donaldson
Join Date: Mar 2009
Location: Ottawa, Ontario, Canada
Posts: 37
Rep Power: 6 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Member
Adam Donaldson
Join Date: Mar 2009
Location: Ottawa, Ontario, Canada
Posts: 37
Rep Power: 6 ![]() |
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?. |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,695
Rep Power: 17 ![]() |
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 |
|
|
|
|
|
|
|
|
#4 |
|
Member
Adam Donaldson
Join Date: Mar 2009
Location: Ottawa, Ontario, Canada
Posts: 37
Rep Power: 6 ![]() |
Great. Thank you
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Howto disable Solver Outputs | holger_marschall | OpenFOAM Running, Solving & CFD | 6 | September 1, 2008 09:18 |
| ParaFoam outputs empty foam file | theof | OpenFOAM Paraview & paraFoam | 1 | January 20, 2006 13:51 |
| About the particle summary DPM | Fuping Qian | FLUENT | 0 | July 22, 2005 02:59 |
| Enabling ideal gas for nitrogen | manish | FLUENT | 6 | March 2, 2005 11:46 |
| Disabling equations in specific zones | D Harvey | FLUENT | 1 | March 22, 2004 19:50 |