|
[Sponsors] |
Double sampling of cell label using cuttingPlane??? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 21, 2011, 19:15 |
Double sampling of cell label using cuttingPlane???
|
#1 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 20 |
Dear Foamers,
I'm using the cuttingPlane class to sample information on a plane during a simulation run. I then use the .cutCells() function to retrieve the cells cut by my plane. But in the labelList returned, every cell cut is sampled twice instead of once.. Any idea why?? My code is: Code:
point pnt_1(1.5, 1, 2); vector direction(1, 0, 0); plane plane_1(pnt_1, direction); cuttingPlane cutPlane_1(plane_1, mesh); const labelList& cutCellsPlane_1 = cutPlane_1.cutCells(); Code:
cutCellsPlane_1 face-> 1 cutCellsPlane_1 face-> 1 cutCellsPlane_1 face-> 7 cutCellsPlane_1 face-> 7 cutCellsPlane_1 face-> 13 cutCellsPlane_1 face-> 13 etc. Kind regards, Francois. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Continuing User Defined Real Gas Model issues | aeroman | FLUENT | 6 | April 8, 2016 03:34 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 11:48 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 08:23 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |