to have the prefix 'write' rather than 'output' So outputTime() -> writeTime() but 'outputTime()' is still supported for backward-compatibility. Also removed the redundant secondary-writing functionality from Time which has been superseded by the 'writeRegisteredObject' functionObject.
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
cuttingPlane
|
|
{
|
|
type surfaces;
|
|
functionObjectLibs ("libsampling.so");
|
|
|
|
writeControl writeTime;
|
|
|
|
surfaceFormat vtk;
|
|
fields ( p U );
|
|
|
|
interpolationScheme cellPoint;
|
|
|
|
surfaces
|
|
(
|
|
zNormal
|
|
{
|
|
type cuttingPlane;
|
|
planeType pointAndNormal;
|
|
pointAndNormalDict
|
|
{
|
|
basePoint (0 0 0);
|
|
normalVector (0 0 1);
|
|
}
|
|
interpolate true;
|
|
}
|
|
);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|