- can now specify sampled sets as dictionary entries instead of a list entry. can now use: sets { ... } instead of: sets ( ... ); This is similar to sampled surfaces and makes it easier to manage with dictionary manipulation tools. TUT: update to use writeTime instead of outputTime
93 lines
2.3 KiB
C++
93 lines
2.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2206 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object sample;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type sets;
|
|
libs (sampling);
|
|
interpolationScheme cellPointFace;
|
|
setFormat raw;
|
|
|
|
fields ( T U );
|
|
|
|
sets
|
|
{
|
|
y0.1
|
|
{
|
|
type face;
|
|
axis x;
|
|
start (-1 0.218 0);
|
|
end (1 0.218 0);
|
|
}
|
|
y0.2
|
|
{
|
|
type face;
|
|
axis x;
|
|
start (-1 0.436 0);
|
|
end (1 0.436 0);
|
|
}
|
|
y0.3
|
|
{
|
|
type face;
|
|
axis x;
|
|
start (-1 0.654 0);
|
|
end (1 0.654 0);
|
|
}
|
|
y0.4
|
|
{
|
|
type face;
|
|
axis x;
|
|
start (-1 0.872 0);
|
|
end (1 0.872 0);
|
|
}
|
|
y0.5
|
|
{
|
|
type face;
|
|
axis x;
|
|
start (-1 1.09 0);
|
|
end (1 1.09 0);
|
|
}
|
|
y0.6
|
|
{
|
|
type face;
|
|
axis x;
|
|
start (-1 1.308 0);
|
|
end (1 1.308 0);
|
|
}
|
|
y0.7
|
|
{
|
|
type face;
|
|
axis x;
|
|
start (-1 1.526 0);
|
|
end (1 1.526 0);
|
|
}
|
|
y0.8
|
|
{
|
|
type face;
|
|
axis x;
|
|
start (-1 1.744 0);
|
|
end (1 1.744 0);
|
|
}
|
|
y0.9
|
|
{
|
|
type face;
|
|
axis x;
|
|
start (-1 1.962 0);
|
|
end (1 1.962 0);
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|