Sample

From OpenFOAMWiki
Revision as of 20:10, 15 August 2005 by Master.philou (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sampling values from a simulation and writing them to a file is done by editing the "sampleDict" file into the "system" folder of the case you run.

An example of such a file is provided at the end of this article.

One must specify:

an "interpolationScheme" choosed in: "cell" for a sampling-value equal to the one in the cell-center (which is considered constant over the whole cell) "cellPoint" for a sampling-value interpolated according to the cell-center's value and to the vertexes values (which are determinated by neighbouring-cell's centers values) "cellPointFace" is the same as the one before with the interpolation including also the faces' values (which are determinated by the current face interpolation scheme for the field (linear, gamma, ...)