|
[Sponsors] |
June 14, 2006, 00:04 |
Hi friends,
I am trying to
|
#1 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
Hi friends,
I am trying to get the plot of the case. After I used "foamJob buoyantFoam . hotRoom" and got computing result, but when I used the foamLog to plot, I was told as follows error, Could any friend do me a help? Thanks a lot. Error: [liu@liu buoyantFoam]$ foamLog . hotRoom logFile foamLog: Cannot read log logFile or [liu@liu buoyantFoam]$ foamLog . hotRoom log foamLog: Cannot read log log |
|
June 14, 2006, 02:16 |
Did you create the log file in
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Did you create the log file in the first place: this is the stuff that the solver writes on the screen (stored in a file). You should do somehing like
icoFoam <root> <case> | tee log or similar: that will leave you a log file. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
June 14, 2006, 10:29 |
Hi Hrvoje Jasak,
Many thank
|
#3 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
Hi Hrvoje Jasak,
Many thanks for your advice. I got some files in logs directory. But I also want to get the plot figure as your given on http://www.cfd-online.com/OpenFOAM_D...ages/1/17.html Could you please give more advice? Thanks again. |
|
June 14, 2006, 10:37 |
Aha. Go to the logs directory
|
#4 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Aha. Go to the logs directory and type
xmgrace Ux_0 Uy_0 p_0 k_0 epsilon_0 If you haven't got xmgrace, please install it - it will be one of the rpm packages or downloaded free off the web. You can then play with the legend and axes to get the picture you want. Enjoy, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
June 27, 2006, 23:42 |
Hi Hrvoje Jasak,
Thanks so
|
#5 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
Hi Hrvoje Jasak,
Thanks so much. But I still have a question. I have some components such as p (pressure), rho (density) and T (temperature) etc which were defined in createFields file. But after running: icoFoam <root> <case> | tee log & foamLog . hotRoom log. I only get some files as Ux_0 Uy_0 p_0 k_0 etc. Actually, I want to get the values for each components because I want to plot them with time. Could you please give some advice? Thanks in advance. |
|
June 28, 2006, 12:03 |
Hi friends,
Could you pleas
|
#6 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
Hi friends,
Could you please give advice how to plot multi-component? Thanks so much. |
|
June 18, 2008, 09:16 |
Hi everybody,
Sorry for dig
|
#7 |
Member
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 17 |
Hi everybody,
Sorry for digging out this old thread. I am also trying to make OF to plot the residual history for my case. As a test, I try to plot the residuarl history for plateHole. Afte having created the "logs" file, I cd into the "logs" directory and type snail@snail-laptop:~/OpenFOAM/snail-1.3/run/tutorials/stressedFoam/plateHole/logs$ xmgrace UxFinalRes_0 I always get something like "xmgrace: Symbol `_XmStrings' has different size in shared object, consider re-linking" in the terminal, and there is not graph drawn in the grace. Does anybody know how to fix it? (PS: I am using Ubuntu 7.10) Thanks in advance! feng |
|
June 18, 2008, 09:27 |
Looks like a mismatch in the m
|
#8 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Looks like a mismatch in the motif versions.
If you try a plain "xmgrace" (without any arguments) and see the same error, you can be sure that it has nothing to do with OpenFOAM. Take a look through Ubuntu or other Linux forums to see why the library and executable aren't matching. |
|
June 18, 2008, 09:27 |
It seems that your xmgrace sof
|
#9 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
It seems that your xmgrace software is not properly installed. Can you ran it at all?
Dragos |
|
June 18, 2008, 14:12 |
Hi Mark, Dragos,
Thanks for
|
#10 |
Member
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 17 |
Hi Mark, Dragos,
Thanks for your quick reply! I try a plain "xmgrace" and see the same error. There are some errors about compatibility in the process of installation,maybe "xmgrace" is not compatible with ubuntu 7.10. Is there an alternative method of plotting the graph in OF? feng |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using foamLog | liamm | OpenFOAM Running, Solving & CFD | 17 | September 10, 2020 05:00 |
Help! Should I use LES in this case. Thanks. | Feng | FLUENT | 4 | April 25, 2008 18:04 |
Cloning a case or creating a new case for 16 processes | mellanoxuser | OpenFOAM Running, Solving & CFD | 0 | February 8, 2008 17:52 |
Problems with foamLog and interFoam OF 14 | sinusmontis | OpenFOAM Bugs | 2 | June 1, 2007 09:57 |
Problem seeing new case in case browser | alan_fergus | OpenFOAM Pre-Processing | 9 | June 22, 2006 04:46 |