Reduce "log" file dimensions
Hi,
I was wondering if there is a way to reduce the log file dimension, for instance by setting the output to be written every, let's say, 10 time steps rather than every time step. The file can reach enormous dimensions! Any ideas? Thanks in advance, Francesco |
Hi Francesco,
in case you really want to do that, you might try the following: Open your solver source file (e.g. icoFoam.C) and wrap an if-clause around each piece of code containing "Info<<..." Code:
// add before the time loop Hope that helped. Bernhard |
Hi Bernhard,
thanks for your reply, that's a nice idea. Unfortunately, some Info statements are included into the solvers' classes, and should be also included within an if-clause. One remedy could be to turn to zero the corresponding values inside the DebugSwitches subdictionary within the main controlDict file, inside the /etc directory. But then any information about the residuals would be lost. Or, is there any member function for controlling the output infos of the solvers? |
All times are GMT -4. The time now is 23:03. |