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

Cellnumbers in UDF's

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2000, 05:26
Default Cellnumbers in UDF's
  #1
Ulrich
Guest
 
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

Ulrich
  Reply With Quote

Old   May 15, 2000, 14:32
Default Re: Cellnumbers in UDF's
  #2
Chris
Guest
 
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

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
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 10:27
how to upload mutiple UDFs in FLUENT. shunahshep FLUENT 8 March 2, 2005 21:56
Experimental Repository for UDFs, Journal Files and Scheme Scripts Jonas Larsson FLUENT 0 March 5, 2000 15:36


All times are GMT -4. The time now is 18:36.