Access to continuity info using a controlDict function?
Hello everyone,
After using foamLog during my first days on OpenFOAM this week, I just discovered that it is possible to extract residuals simply by adding a function in controlDict. Something like that: Code:
residualsHot 2. While we're at it, what's your favorite way to monitor conservation of mass, momentum, and energy in OpenFOAM? I'm working on conjugate heat transfer problems and due to my total inexperience with OpenFOAM, I'm looking for the single most elegant and efficient way to closely monitor the convergence state of my CHT simulations so I can play with all the knobs available and quickly figure out which settings work best for my type of applications. Many thanks! /Jay |
Quote:
|
Thanks Kevin, I will have a closer look at pyFoam.
Just to give some background, I am at the moment using OpenFOAM at home, on a low spec laptop. It's plenty enough to learn the basics of OpenFOAM. However, any external call like foamLog just kill the little performance I manage to squeeze out of the virtual machine. This is why I have rapidly decided to move away from the foamLog/Gnuplot type of combo, to instead aim for getting everything I need written at runtime. Hence my interest for function objects. |
All times are GMT -4. The time now is 10:21. |