Skip to content
Snippets Groups Projects
Commit 41aa6d63 authored by mattijs's avatar mattijs
Browse files

ENH: movingCone: add cuttingPlane to show off moving mesh sampling

parent 0f8fbf35
Branches
Tags
No related merge requests found
...@@ -49,5 +49,9 @@ adjustTimeStep no; ...@@ -49,5 +49,9 @@ adjustTimeStep no;
maxCo 0.2; maxCo 0.2;
functions
{
#include "cuttingPlane"
}
// ************************************************************************* // // ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
cuttingPlane
{
type surfaces;
functionObjectLibs ("libsampling.so");
outputControl outputTime;
surfaceFormat vtk;
fields ( p U );
interpolationScheme cellPoint;
surfaces
(
zNormal
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 0 1);
}
interpolate true;
}
);
}
// ************************************************************************* //
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment