OpenFoam log file monitor
Hi guys,
I uploaded an early version of my log file monitoring tool to my github page https://github.com/greole/foamMon . The tool aims to give an overview of the progress of long running simulations. Feel free to try it out. Cheers, Gregor |
Version 0.2.2
If you're interested I just released version 0.2.2, available on github and Pypi. The usage has changed slightly. To start it just run foamMon in any Simulation (or parent) folder. Tester and feedback are welcome.
|
Quote:
Code:
me@work:~$ python3 -m pip install foamMon |
Hey Rodrigo,
thanks for giving it a try. Can you run Code:
~/.local/bin/foamMon |
Quote:
Code:
me@work:~$ .local/bin/foamMon |
Ok, it seems that ~/.local/bin is not in your $PATH variable. What distro are you using or do you use any virtualenv like conda? Sometimes simply opening a new shell helps otherwise add a
Code:
export PATH=$PATH:$HOME/.local/bin Regarding the urwid error, I forgot to add urwid to the depencies. After running Code:
python3 -m pip install foamMon --upgrade |
Great, this worked. "foamMon" is now installed and it can be called.
BTW: conventional Ubuntu 16.04 installation. |
So, let's keep going step by step... (that's why I put it in a separate post) ...first running issues:
Code:
me@work:~/OpenFOAM/me-6/run/snappy_with_AMR$ foamMon |
For some reason, it seems not to find this class https://github.com/greole/foamMon/bl...uctures.py#L64
|
WARNING to potential readers: this starts to become less and less related to CFD/OpenFOAM. Keep reading under your responsibility.
See following: Code:
me@work:~$ foamMon Code:
from .<filename-starting-with-a-dot> import <some-class> Code:
/home/me/.local/lib/python3.5/site-packages/foamMon-0.0.0-py3.5.egg/FoamMon/ Code:
/home/me/.local/lib/python3.5/site-packages/FoamMon/ |
If you have a github account we could move the discussion to https://github.com/greole/foamMon/issues
Regarding the import issue: Could you remove the /home/me/.local/lib/python3.5/site-packages/foamMon-0.0.0-py3.5.egg folder, and try again? |
Hi Gregor,
I've just tried it again at home from another machine (Ubuntu 18.04) and everything works fine finally. I will debug myself the installation in my other machine after the weekend, so don't worry anymore for it. Installation steps for the interested reader: Code:
python3 -m pip install foamMon add following line to the .bashrc file (Gregor, you may want to add this step to the instructions in the repository README file): Code:
export PATH="$PATH:$HOME/.local/bin" ... and that's it. It is a small great tool! Quite intuitive and useful. Just 2 questions: - What does "Writeout" indicate? it looks like how long it would take to fill up the storage capacity at this writing rate... is it right? - What does "Press (T) to toggle active" does? I keep pressing it (both "T" and "t") but it seems to have no effect. Thanks again Gregor for the help! :) PS: Is there any administrator among the readers willing to move this thread to the Community Contributions section? |
Hi Rodrigo,
thanks for your feedback und for testing. - "Writeout" is the estimated time till a new timestep is written to disk. - "T" should hide all cases that are currently not running. I think it is not active at the moment. Currently there still some bugs and rough edges, which I'll try to fix over time. Cheers, Gregor |
Quote:
Ok, since I cannot move this thread, I created a new one https://www.cfd-online.com/Forums/op...tml#post707259 |
All times are GMT -4. The time now is 13:13. |