|
[Sponsors] |
August 4, 2011, 11:15 |
Bounded cuttingPlane?
|
#1 |
Member
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 16 |
Dear all,
I have a model as given in the first attachment (model.png). As I want to sample the pressures and velocities in the middle of the model, I am defining a plane perpendicular to the boundary with the following code in the sampleDict file: Code:
setFormat raw; surfaceFormat vtk; interpolationScheme cellPoint; // Fields to sample. fields ( p U ); surfaces ( plane { type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { basePoint (0.130244487182737 0.111573016987418 -0.0419832355596031); normalVector (0 0 1); } interpolate true; } ); The cuttingPlane function will then remove the parts of the plane that are outside the mesh, as shown in the third attachment (defaultCuttingPlane.png). However, this is not what I want! I only want to sample the values in the middle of my model as shown in the fourth attachment (defaultCuttingPlane.png). Is there a way to do that? I think there are two possibilities:
Thanks in advance! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
about bounded alpha equation for bubbleFoam and twoPhaseEulerFoam | kaifu | OpenFOAM | 2 | May 6, 2011 05:33 |
Double sampling of cell label using cuttingPlane??? | Fransje | OpenFOAM Programming & Development | 9 | May 4, 2011 07:38 |
faceSet cuttingPlane | Chrisi1984 | OpenFOAM | 0 | October 9, 2010 11:39 |
Schemes for strictly bounded scalar fields | stawrogin | OpenFOAM | 1 | July 19, 2010 17:16 |
Higher-order bounded convection schemes for pure advection with discontinuity | Anthony | Main CFD Forum | 3 | June 13, 1999 02:36 |