41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||
|
| ========= | |
|
||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||
|
| \\ / O peration | Version: 1.5 |
|
||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||
|
| \\/ M anipulation | |
|
||
|
\*---------------------------------------------------------------------------*/
|
||
|
FoamFile
|
||
|
{
|
||
|
version 2.0;
|
||
|
format ascii;
|
||
|
class dictionary;
|
||
|
object sampleDict;
|
||
|
}
|
||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||
|
|
||
|
interpolationScheme cellPoint;
|
||
|
setFormat raw;
|
||
|
surfaceFormat vtk;
|
||
|
|
||
|
sets
|
||
|
(
|
||
|
line
|
||
|
{
|
||
|
type face;
|
||
|
axis x;
|
||
|
start (-5 0 0);
|
||
|
end ( 5 0 0);
|
||
|
nPoints 100;
|
||
|
}
|
||
|
);
|
||
|
|
||
|
surfaces ();
|
||
|
|
||
|
fields
|
||
|
(
|
||
|
p U.component(0) T rho
|
||
|
);
|
||
|
|
||
|
// ************************************************************************* //
|