CFD Online Logo CFD Online URL
Home > Forums > FLUENT

How to determine an order of cells?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 26, 2006, 22:26
Default How to determine an order of cells?
Posts: n/a
Hi, everybody,

I draw a square in Gambit and copy it to get an another surfce parallel to the original square, then mesh them. In Fluent, using "cell_t c" in a UDF, I got sort orders of cells in two squres. I found the sort order of cells in the original squres is from bottom to top, but in the its paraller surface the order is from top to bottom. In the other word, the cell numbered "1" in original surface lies in its left-top corner, however the cell numbered "1" in the paraller surface is in its left-bottom corner. My question are (1)why are their sort orders different? (2) how does the FLUENT determine the sort order of mesh cells in a surface or a volume?

Thank you very much! braket
  Reply With Quote

Old   August 27, 2006, 15:25
Default BTW, how to determine which is the first cell in a
Posts: n/a
By the way, how to determine which is the first cell in a thread? In a squre, there are four corners. which corner a cell lies is the first cells in the squre thread? thank you very much! braket
  Reply With Quote

Old   August 28, 2006, 02:54
Default Re: BTW, how to determine which is the first cell
Posts: n/a
I dont know a way to determin the cell order in a grid. Cells are stored in a sprase matrix and to reduce memory consumption some cells are shifted to positions where usually zero elements are stored. You can even force this with grid->reorder. Here is a small expamle to illustrade the process:

Original 5x5 matrix (A-E are stored elements)


3x3 matrix after reordering


As you can see the new cell oder is screwed up and there is no shure fire way to determin the cell order for large grids.

  Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
Second order upwind is not UPwind!!! Far CFX 9 May 31, 2011 08:21
2nd order upwind scheme (Fluent and CFX) Far FLUENT 0 May 22, 2011 01:50
find degenerated cells Pete CD-adapco 3 April 22, 2005 05:49
SOS! HELP! max number of cells :( Jas Phoenics 4 February 14, 2004 11:12

All times are GMT -4. The time now is 08:49.