|
[Sponsors] |
sample interpolation error in inflation layer |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2009, 07:05 |
sample interpolation error in inflation layer
|
#1 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 |
Dear OpenFoamers,
I am trying to use the 'sample' utility in order to sample a data plane from my data set as defined in a sampleDict file. Eventually I would like to do this during a run using libsamling.so function call in the controlDict. Unfortunately, there seems to be an interpolation error in the sampling routing when the plane intersects prisms cells such are found in the inflation layer in my grid (tetrahedra cells are no problem). If I run 'sample', the following error message is generated: --> FOAM Warning : From function Foam::cuttingPlane::walkCell in file cuttingPlane/cuttingPlane.C at line 205 Did not find closed walk along surface of cell 1742616 starting from edge 1656820 in 1001 iterations. Collected cutPoints so far: 1001 and further: --> FOAM Warning : From function Foam::cuttingPlane::walkCell in file cuttingPlane/cuttingPlane.C at line 189 Did not find closed walk along surface of cell 1877596 starting from edge 7 in 0 iterations. The resulting interpolated data plane shows erroneous sampled values in all cells in the inflation layers that consists of prisms cells. If have already tried the swhich on/off the interpolation (true/false) and triangulate (true/false) and also all different interpolation schemes (cell/cellPoint/cellpointFace) in the samleDict file, but this gives the same results. Is there anybody who has found the same problem and hopefully also has a solution for this? Any hints appreciated! Many thanks, With kind regards, Eelco |
|
July 16, 2009, 08:02 |
Found solution
|
#2 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 |
Their all,
I found that slightly shifting the planesolve the problem. Probably the interpolation is sensitive to the location where it intersects the cells. Thanks anyway. Eelco |
|
July 28, 2009, 18:20 |
|
#3 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
in 1.6 you can try the cuttingPlane type in the sample utility. It does a tet decomposition so should work on non-convex cells.
|
|
Tags |
error, interpolation, sample, sampledict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
To thin boundary layer? | Luk | CFX | 3 | February 27, 2009 04:22 |
Inflation layers / boundary layer meshing. | andy2o | Main CFD Forum | 3 | February 22, 2009 10:03 |
2d axysymmetric inflation layer | justin | CFX | 5 | April 12, 2007 09:28 |
errors | Fahad | Main CFD Forum | 0 | March 23, 2004 14:20 |
Boundary Layer Flow Paradox | Wen Long | Main CFD Forum | 3 | September 24, 2002 09:47 |