CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   How to export time series of variables for one point? (

mary mor February 15, 2014 05:08

How to export time series of variables for one point?
Hi dear all
I would like to have the time series of several variables for one or several points of the field domain after solving the case. It's not important for me to have outputs of all points of the domain in writeTime intervals.
Is there any option or tool, I can set this option or any option in paraView that I get time series of variables for one point?

Best regards

ngj February 15, 2014 14:46

Hi Mary,

Have you tried the sample utility? It can be used both as runTime and post-processing utility.

Kind regards,


mary mor February 16, 2014 15:31

Hi Niel,
I had a look at sampling section in user guide.
It says it writes the data in separate time files which is not my purpose. This way I have to look into every separate time step.
I want it to be written for a point in one single file.
Isn't there any other way?

Best regards

ngj February 16, 2014 15:36


You can then either write your own utility or make a small post-processing tool, which concatenates the files from the outputted directories.

I am not aware of a utility, which outputs to a single file.

Kind regards,


alexeym February 16, 2014 18:42


There is probeLocations utility which exports values of a fields over time at a given set of points in one file.

mary mor February 19, 2014 12:08

Thanks Alexander. I found the utility and tried to use it after running the case.
This is how ProbeDict looks like:

// Fields to be probed. runTime modifiable!

// Locations to be probed. runTime modifiable!
    (-0.375 -0.5 -0.01)

but after running command: "probeLocations" it writes the text blow without giving any variable for non of the time steps:


Create time

Create mesh for time = 0

Time = 0

Time = 0.02

Time = 0.04

Time = 0.06

Time = 0.08

Time = 0.1

Time = 0.12

Time = 0.14

Time = 0.16

Time = 0.18

Time = 0.2

Time = 0.22

Time = 0.24

Time = 0.26

Time = 0.28

Time = 0.3

Time = 0.32

Time = 0.34

Time = 0.4

Time = 0.6

Time = 0.8

Time = 1

Time = 1.2

Time = 1.4

Time = 1.6

Time = 1.8

Time = 2

Time = 2.2

Time = 2.4

Time = 2.6

Time = 2.8

Time = 3

Time = 3.2

Time = 3.4

Time = 3.6

Time = 3.8

Time = 4

Time = 4.2

Time = 4.4

Time = 4.6

Time = 4.8

Time = 5

Time = 5.2

Time = 5.4

Time = 5.6

Time = 5.8

Time = 6


Am I doing anything wrong?


alexeym February 19, 2014 12:48


Probed values are in postProcessing/probes/<time>/<variable name> files.

In your case I guess time will be 0 (as you simulation starts at 0) and variable name will be pd.

mary mor February 19, 2014 16:56

Yes that was written in Probe folder:)
thanks so much...

linyanx July 19, 2017 10:54

can't recognize the probesDict while using 'postProcess -func probes'
Dear all,

I am trying to command 'probeLocations' to plot some variables along time series, but the system complains that

PHP Code:

probeLocations has been superceded by the postProcess utility:
postProcess -func probes
postProcess -func 'probes(p, U)' 

Therefore, I tried to command 'postProcess -func probes' in order to get the probes at several specific locations. However, the result is not exactly what I expected, it was totally a different story, plotting p and U at a (0,0,0) location(seems to plot these out by default). It seems like the probesDict in the system isn't recognized while commanding the'postProcess -func probes'.

Afterwhile, I was trying to command 'postProcess -func 'probes(U, I_overall)'. It gives me the desired field but, again, at the default location(0,0,0) instead of the location that I settled in the probesDict.

Could any one please tells me how to specify the location while command in the terminal? Or explains the reason for failing to recognize the probesDict?


All times are GMT -4. The time now is 09:10.