CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Cellnumbers in UDF's

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

LinkBack Thread Tools Display Modes
Old   May 15, 2000, 05:26
Default Cellnumbers in UDF's
Posts: n/a
Hi, I want to solve a differential equation. That's why I want to know the number of the cell, which Fluent solves in this time and the numbers of the neighbors. Is there a function like CELL_NUMBER(c,t) or CELL_NEIGHBORS(c,t) to get this information from Fluent? If I get the cellnumber(for instance 10), I would use C_CENTROID(x,c=10,t) to . Is this possible?

Thank's for help

  Reply With Quote

Old   May 15, 2000, 14:32
Default Re: Cellnumbers in UDF's
Posts: n/a
> Is there a function like CELL_NUMBER(c,t) or CELL_NEIGHBORS(c,t)?

There is no global number for a cell (in general). The index "c" and the zone "t" together identify a unique cell.

To access the neighbors, you can loop through the faces of a given cell and get the cell on the other side of each face.

  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
problem using property udfs in parallel mode EllenW Fluent UDF and Scheme Programming 5 July 10, 2009 04:31
problem using property udfs in parallel mode EllenW FLUENT 0 June 23, 2009 17:18
Unsteady and Flux UDFs for UDSs tom FLUENT 0 February 13, 2009 11:27
how to upload mutiple UDFs in FLUENT. shunahshep FLUENT 8 March 2, 2005 22:56
Experimental Repository for UDFs, Journal Files and Scheme Scripts Jonas Larsson FLUENT 0 March 5, 2000 16:36

All times are GMT -4. The time now is 09:06.