We often need to take the data on a specific point. In OpenFOAM we can use sampleDict utility.
In the sampleDict file, we can add the following line for extracting data on a set of specific points.
curve // name of the file (can be any name)
{
type cloud; //type cloud for arbitrary ponits
axis xyz; // the points are scattred in xyz direction
points // list of points
(
(3.93 0.28 0.7897)
(5.93 0.28 1.2)
(7.93 0.28 2.2)
);
}