Writing relative residual of each iteration in statistics file

Hi all,

A beginner question here, I am wondering if there is any possibility to write non-linear relative residual of each iteration in statistics file, just trying to see how residual reduces after each iteration.

Thanks,
Ray

Hi Ray,

Unfortunately, there is not currently an option to do that.

There is a parameter is available under subsection Postprocess that if set to true will run the postprocessors on every nonlinear iteration:
set Run postprocessors on nonlinear iterations = true

However, this only works if Time between graphical output = 0 and it does not sound like this is what you’re looking for.

Its possible to use grep to extract specific information out of the log.txt for plotting, which is what I typically do. Let me know if an example would be helpful!

Cheers,
John