CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   Sample at a single point? (

odellar March 4, 2014 06:08

Sample at a single point?
Apologies for what seems a trivial question, but how can I sample at a SINGLE POINT? I've managed to sample across lines, but I just want to sample at a single coordinate, (x,y,z), and have tried using 'cloud' and other things but can't get it to work!

Thanks in advance.


alexeym March 4, 2014 06:20


try probeLocations utility. Though all the values at different time steps will be in a single file.

odellar March 4, 2014 06:37


Thanks this looks like what I'm after - is this something that I need to set up before running the simulation (there seems to be a lot of talk about it being related to the controlDict when I googled it), or something I can use AFTERWARDS like the rest of the sampleDict utilities?


alexeym March 4, 2014 06:42


if you'd like to do run-time probing, you put description of the probes into controlDict, if you'd like to do probing after simulation, you create probesDict file (see example in $FOAM_APP/utilities/postProcessing/sampling/probeLocations), put it in the system folder and run probeLocations.

odellar March 4, 2014 06:50

Oh brilliant, thanks.

All times are GMT -4. The time now is 22:08.