e.g. in tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/cuttingPlane
surfaceFormat vtk;
writeFormat binary;
fields (p U);
selects writing the VTK surface files in binary format which significantly
speeds-up reading of the files in paraview.
Currently binary writing is supported in VTK and EnSight formats.
54 lines
1.3 KiB
C++
54 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
surfaces
|
|
{
|
|
type surfaces;
|
|
libs ("libsampling.so");
|
|
writeControl writeTime;
|
|
|
|
surfaceFormat vtk;
|
|
writeFormat binary;
|
|
fields (p U Q);
|
|
|
|
interpolationScheme cellPoint;
|
|
|
|
surfaces
|
|
(
|
|
zNormal
|
|
{
|
|
type cuttingPlane;
|
|
planeType pointAndNormal;
|
|
pointAndNormalDict
|
|
{
|
|
point (0 0 0);
|
|
normal (0 0 1);
|
|
}
|
|
interpolate true;
|
|
}
|
|
|
|
isoQ
|
|
{
|
|
type isoSurface;
|
|
isoField Q;
|
|
isoValue 1000;
|
|
interpolate true;
|
|
}
|
|
|
|
propeller
|
|
{
|
|
type patch;
|
|
patches ("propeller.*");
|
|
interpolate true;
|
|
}
|
|
);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|