CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Number of Faces on a thread inside a UDF (https://www.cfd-online.com/Forums/fluent/40759-number-faces-thread-inside-udf.html)

Nathan April 26, 2006 10:35

Number of Faces on a thread inside a UDF
 
Hi all,

Is there anyway of finding out how many faces there are in a certain Thread whilst inside a UDF? At the moment I am having to loop over them all to get the number and would prefer not to have to set it to a constant.

Cheers, Nathan

Frank April 26, 2006 11:15

Re: Number of Faces on a thread inside a UDF
 
Try THREAD_N_ELEMENTS(t)

Frank


All times are GMT -4. The time now is 21:35.