53 lines
1.5 KiB
C++
53 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
surfaces
|
|
{
|
|
type surfaces;
|
|
functionObjectLibs ("libsampling.so");
|
|
outputControl outputTime;
|
|
|
|
surfaceFormat vtk;
|
|
fields ( p U Q);
|
|
|
|
interpolationScheme cellPoint;
|
|
|
|
surfaces
|
|
(
|
|
zNormal
|
|
{
|
|
type cuttingPlane;
|
|
planeType pointAndNormal;
|
|
pointAndNormalDict
|
|
{
|
|
basePoint (0 0 0);
|
|
normalVector (0 0 1);
|
|
}
|
|
interpolate true;
|
|
}
|
|
|
|
isoQ
|
|
{
|
|
type isoSurface;
|
|
isoField Q;
|
|
isoValue 1000;
|
|
interpolate true;
|
|
}
|
|
|
|
propeller
|
|
{
|
|
type patch;
|
|
patches ( "propeller.*" );
|
|
interpolate true;
|
|
}
|
|
);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|