Write PDF from probes sampling and runtime plotting
Hi
Is there any script on openFoam allowing one to write automatically the pdf (probability density function) from the probes output obtained in run time by the functionObjects? Also, is there a way to display at run-time (with gnuplot, p.e.) a plot of the velocity or any other field? Thx Jose |
Hi José,
In case no one answers you in the mean time, and since I don't know about any function object that does that out-of -the-box, you can try a combo of: Or simply try swak4foam and/or simpleFunctionObjects. Best regards, Bruno |
Thanks Bruno, It is an alternative :)
Anyway, when using the sampling functionObject to plot the velocity, it outputs the U vector in the format # Time 0.00224007 (0.740058 -0.0983759 -0.000459691) 0.00224274 (0.740748 -0.0962097 -0.000449821) ... How can I plot the Ux component alone using gnuplot? |
Quote:
gnuplot> plot "file" plot using 1:2 '%lf (%lf' where 1 is the colum "Time" , 2 is the 1st component of U and %lf is a double. Jose |
Hi José,
I'm glad you've managed to find the solution with gnuplot! By the way, if and when you start to use R, it also provides very powerful plotting utilities! Since I don't know which Linux box you are using, R is named as:
Bruno |
All times are GMT -4. The time now is 05:05. |