# How to determine an order of cells?

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

 August 26, 2006, 22:26 How to determine an order of cells? #1 braket Guest   Posts: n/a Sponsored Links 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

 August 27, 2006, 15:25 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

 August 28, 2006, 02:54 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

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 24 June 27, 2016 08:54 Far CFX 9 May 31, 2011 08:21 Far FLUENT 0 May 22, 2011 01:50 Pete Siemens 3 April 22, 2005 05:49 Jas Phoenics 4 February 14, 2004 11:12