mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Detects connections (during refinement) between locationsInsideMesh and locationsOutsideMesh and writes a sampledSet for postprocessing.
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1806 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
cuttingPlane
|
|
{
|
|
type surfaces;
|
|
libs ("libsampling.so");
|
|
writeControl writeTime;
|
|
|
|
surfaceFormat vtk;
|
|
fields ( p U );
|
|
|
|
interpolationScheme cellPoint;
|
|
|
|
surfaces
|
|
(
|
|
yNormal
|
|
{
|
|
type cuttingPlane;
|
|
planeType pointAndNormal;
|
|
pointAndNormalDict
|
|
{
|
|
point (0 0 0);
|
|
normal (0 1 0);
|
|
}
|
|
interpolate true;
|
|
}
|
|
);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|