openfoam/tutorials/compressible/rhoCentralFoam/shockTube/system/sample
2019-08-30 16:45:45 +02:00

41 lines
1.1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object sample;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
libs (sampling);
interpolationScheme cellPoint;
setFormat raw;
sets
(
line
{
type face;
axis x;
start (-5 0 0);
end (5 0 0);
nPoints 100;
}
);
fields ( p U.component(0) T rho );
// ************************************************************************* //