39 lines
961 B
C++
39 lines
961 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 12
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object sample;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type sets;
|
|
libs ("libsampling.so");
|
|
|
|
interpolationScheme cellPoint;
|
|
|
|
setFormat raw;
|
|
|
|
sets
|
|
(
|
|
data
|
|
{
|
|
type lineUniform;
|
|
axis x;
|
|
start (-4.995 0 0);
|
|
end (4.995 0 0);
|
|
nPoints 1000;
|
|
}
|
|
);
|
|
|
|
fields (T mag(U) p);
|
|
|
|
// ************************************************************************* //
|