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

Problem/ bug in mesh.cellCells() ??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2011, 05:48
Default Problem/ bug in mesh.cellCells() ??
  #1
New Member
 
Rudi T.
Join Date: Feb 2011
Location: Munich, Bavaria
Posts: 3
Rep Power: 15
daZigeiner is on a distinguished road
I'm just working on a general possibility to refine locally on a selection of the mesh (blockMesh with refinementIterator - no hexref8). Since I have higher refinement levels I need to lay some buffer-layers around the selection in order to ensure 2:1 refinement. For this purpose I use the cellCells() function in multiple iterations.

My problem is that cellCells() does not recognize correctly all neighbours of already refined cells (The refinement history I have implemented works fine and has no bugs) .

I'll give a little example:

- 8 cells (= refinement level 3) on the west side of a simple refined cell (= 2 cells f.e. cell A and B).
- this should give cell A as eastern neighbour for four of the tripple refined cells and cell B for the other four cells
- instead of this cellCells returns only cell A as eastern neighbour for all eight cells!!

And now the really confuseing problem:

This bug is not reproduceable for all meshes in all cases, since the correct recognition of all neighbours works fine in the mesh of forwardStep (tutorials/compressible/rhoCentralFo...), but not in the mesh of counterFlow2D (tutorials/combustion/reactingFoam...) . I have no idea if the bug is caused by different mesh setups (I did not find any significant differences)?!?

I would really appreciate it if anyone who has deeper insight into the cellCells() - function could give me a hint.

Rudi T.


Please do not puzzle any longer!
Problem is solved: I forgot to update the primitive mesh after each buffering iteration

Last edited by daZigeiner; March 2, 2011 at 11:03. Reason: Problem solved
daZigeiner is offline   Reply With Quote

Old   May 13, 2015, 08:48
Default
  #2
New Member
 
Vitor Geraldes
Join Date: Dec 2009
Location: Lisbon, Portugal
Posts: 26
Rep Power: 16
vitor.geraldes@ist.utl.pt is on a distinguished road
Is there already a solution to this problem? I have experienced too a similar issue.
vitor.geraldes@ist.utl.pt is offline   Reply With Quote

Old   May 18, 2015, 16:54
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Vitor,

daZigeiner did edit the post and add this to the end of it:
Quote:
Originally Posted by daZigeiner View Post
Please do not puzzle any longer!
Problem is solved: I forgot to update the primitive mesh after each buffering iteration
Therefore... whichever problem you're having, if that information isn't enough to solve your problem, then we (anyone on the forum) will need more information in order to diagnose the problem you're having.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
cellcells, cellcells(), cells, mesh, neighbours


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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 20:42
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
convergence problem Trushar Phoenics 5 August 28, 2002 00:40


All times are GMT -4. The time now is 15:56.