CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

sample interpolation error in inflation layer

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2009, 07:05
Question sample interpolation error in inflation layer
  #1
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19
eelcovv is on a distinguished road
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
eelcovv is offline   Reply With Quote

Old   July 16, 2009, 08:02
Smile Found solution
  #2
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19
eelcovv is on a distinguished road
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
eelcovv is offline   Reply With Quote

Old   July 28, 2009, 18:20
Default
  #3
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote

Reply

Tags
error, interpolation, sample, sampledict


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 04:54.