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

How to determine an order of cells?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2006, 23:26
Default How to determine an order of cells?
  #1
braket
Guest
 
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, 16:25
Default BTW, how to determine which is the first cell in a
  #2
braket
Guest
 
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, 03:54
Default Re: BTW, how to determine which is the first cell
  #3
RoM
Guest
 
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)

A0000
0B000
00C00
000D0
0000E

3x3 matrix after reordering

BA0
0C0
0ED

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.

RoM
  Reply With Quote

Reply


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
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
Second order upwind is not UPwind!!! Far CFX 9 May 31, 2011 09:21
2nd order upwind scheme (Fluent and CFX) Far FLUENT 0 May 22, 2011 02:50
find degenerated cells Pete Siemens 3 April 22, 2005 06:49
SOS! HELP! max number of cells :( Jas Phoenics 4 February 14, 2004 11:12


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