/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.2                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
  version 2.0;
  format  ascii;
  class   dictionary;
  location "system";
  object  sampleDict;
}
 
type sets; //Sample sets (points and lines).
libs ("libsampling.so");  
setFormat raw; 
//Format of the output file, raw format is a generic format that can be
//read by many applications. The file is human readable (ascii
//format).
 
interpolationScheme cellPoint;
 
fields
(
  T b U//Fields to sample
);
 
sets
(
  axis_t //Name of the output file
  {
    type lineUniform;
 
    axis x;
//   axis: how to write point coordinate. Choice of
// - x/y/z: x/y/z coordinate only
// - xyz: three columns
//  (probably does not make sense for anything but raw)
// - distance: distance from start of sampling line (if uses line) or
//             distance from first specified sampling point
 
    start (0 0 0.0499); 
 
    end   (1 0 0.0499);
 
    nPoints 1000; //Number of points
   }
);
