|
[Sponsors] |
May 15, 2000, 06:26 |
Cellnumbers in UDF's
|
#1 |
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 |
|
May 15, 2000, 15:32 |
Re: Cellnumbers in UDF's
|
#2 |
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. |
|
|
|
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 05:31 |
problem using property udfs in parallel mode | EllenW | FLUENT | 0 | June 23, 2009 18: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 |