|
[Sponsors] |
How to monitor a simulation with cli-only access practically |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 14, 2016, 05:07 |
How to monitor a simulation with cli-only access practically
|
#1 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Dear all,
Currently I am trying to set up an OpenFOAM environment on Amazon EC2. As with many other computing servers, I am accessing it via cli only. So how do you monitor your simulation (e.g. Residuals) on line? I hope I could make the problem clear, if not feel free to ask. Best regards, and thanks in advance, Kate |
|
October 14, 2016, 05:48 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi Kate,
I am not sure but can you access via ssh in a terminal? Then it should be possible to plot the residuals on your computer with common tools like gnuplot, the new foam function (residuals) or pyFoamPlotWatcher.py. I did this on my own cluster a while ago.
__________________
Keep foaming, Tobias Holzmann |
|
October 14, 2016, 07:39 |
|
#3 |
New Member
Antti Heino
Join Date: Mar 2014
Location: Finland
Posts: 9
Rep Power: 12 |
Hello Kate,
If I understood correctly you do not have access to graphical utilies so you cannot use the GUI for gnuplot. Here is another way you can do it. The most important thing is that you are logging the simulation to a file with >, e.g. : Code:
icoFoam > log.icoFoam Code:
grep "p, Initial residual" log.icoFoam | cut -d ' ' -f 9 | sed 's/,//g' > p_residuals Code:
paste p_residuals Ux_residuals Uy_residuals Uz_residuals > residuals -Antti Last edited by anttiad9000; October 14, 2016 at 07:49. Reason: adding code tags |
|
October 18, 2016, 05:47 |
|
#4 | |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Quote:
Thanks for your answer. Yes, I have access using ssh in a terminal window. I think my question was a bit missleading. I am not even sure if my OS has any GUI. Nethertheless I tried your approach again and got: Code:
QXcbConnection: Could not connect to display Kate |
||
October 18, 2016, 05:57 |
|
#5 | |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Dear antti,
Thank you. I was trying to emphasize the with cli-only access part of my question. So your last paragraph was the most useful for me. To write a custom bash script, was also my first idea. I only thought I was missing something. Again thanks for your answer. Best regards, Kate Quote:
|
||
October 24, 2016, 04:14 |
|
#6 |
Member
Andre Z
Join Date: Dec 2009
Posts: 75
Rep Power: 16 |
__________________
www.MantiumCAE.com |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way to access the gradient limiter in Fluent ? | CFDYourself | FLUENT | 1 | February 16, 2016 05:49 |
FSI TWO-WAY SIMULATION | Smagmon | CFX | 1 | March 6, 2009 13:24 |
Overflow problem in steady simulation | ReeKo | CFX | 11 | October 8, 2008 17:57 |
How to access the mesh quality before simulation? | Cheng | CFX | 2 | November 17, 2006 23:56 |
3-D Contaminant Dispersal Simulation | Apple L S Chan | Main CFD Forum | 1 | December 23, 1998 10:06 |