|
[Sponsors] |
fluent udf lines for acessing the first cell of a given boundary zone |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 28, 2019, 18:17 |
fluent udf lines for acessing the first cell of a given boundary zone
|
#1 |
Member
Alexandre M S Costa
Join Date: Apr 2009
Posts: 31
Rep Power: 17 |
Hi All,
I am trying to access the first cell of a given plane boundary zone, instead of using the begin_f_loop(f,t) (that does the job but loops over all faces of the boundary zone). Any piece of advice for the udf gurus are very welcome. Thanks Alex |
|
November 29, 2019, 01:05 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
I dont know the way to access face/cell without loops
you can do following Code:
n = 0; begin_f_loop(f,t) { if (n<1) { //do whatever you want} n++; }
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
first cell |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Fluent UDF wrong number of cells in parallel - correct in serial | dralexpe | Fluent UDF and Scheme Programming | 7 | May 17, 2018 09:26 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |