|
[Sponsors] |
October 31, 2012, 04:32 |
Post processing in ParaFoam
|
#1 |
Member
Gitesh
Join Date: Jan 2010
Location: Finland
Posts: 73
Rep Power: 16 |
Hello,
I have calculated case in OpenFOAM. I need some help regarding post processing in ParaFoam. (i) If I want to plot certain data for e.g. velocity/temperature with different time step at certain location in the domain then how can I do that. I mean plot of T vs time(from 0 sec to 5 sec). (ii) I want to plot same graph T vs time (from 0 sec to 5 sec) but this time I need one averaged value of T in the whole domain at particular time step. Please help me !!! With regards, GP |
|
October 31, 2012, 11:32 |
|
#2 |
New Member
Join Date: Jan 2012
Posts: 8
Rep Power: 14 |
Hi Gitesh,
If I understood well your problem, I believe you should use the 'probes' function to monitor a given variable (T, U etc...) at a given point location within your computational domain at different time step. To do so, you should add this piece of code in your system/controlDict file of your case. Example: functions { probes // to monitor { // Where to load it from functionObjectLibs ("libsampling.so"); type probes; // Name of the directory for probe data //name probes; // Write at same frequency as fields outputControl timeStep; outputInterval 1; setFormat gnuplot; // you can set the format you want but if you are used to gnuplot, it is easy // to get the data out of that // Fields to be probed fields ( T ); probeLocations ( (-0.2 0.055 0) ); } } Your result file will appear in the 'probes folder', newly created, once your run the case and successfully ran the first timeStep, Hope it helps, Romain |
|
November 2, 2012, 06:47 |
|
#3 |
Member
Gitesh
Join Date: Jan 2010
Location: Finland
Posts: 73
Rep Power: 16 |
Thanks Romain,
It works nicely. Now I am able to get those data ate selected locations. Can you how we can plot it by using gnuplot ? With regards, GP |
|
November 2, 2012, 07:30 |
|
#4 | |
New Member
Join Date: Jan 2012
Posts: 8
Rep Power: 14 |
Assuming that you already installed gnuplot, open the 'xterm' terminal and once in the probes\0.446 directory (whatever time, but wherever the probe gnu file is located), run 'gnuplot' command and type:
Quote:
you can also add title, axis title, legend and so on, just check out the gnuplot website. I hope it helped again Romain |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] is parallel processing available in parafoam for post processing? | sachinlb | ParaView | 1 | August 14, 2012 10:52 |
Ansys Post processing | ano999 | ANSYS | 1 | May 27, 2011 17:24 |
NO model vs post processing in coal combustion,CFX | sakalido | CFX | 1 | April 15, 2011 15:07 |
post processing for KIVA | dirga | Main CFD Forum | 5 | April 23, 2009 11:58 |
Post Processing in FEM | Abhijit Tilak | Main CFD Forum | 0 | April 26, 2004 12:59 |