db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
/*--------------------------------*- 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
|
|
);
|
|
|
|
// ************************************************************************* //
|