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

Number of Faces on a thread inside a UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2006, 10:35
Default Number of Faces on a thread inside a UDF
  #1
Nathan
Guest
 
Posts: n/a
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
  Reply With Quote

Old   April 26, 2006, 11:15
Default Re: Number of Faces on a thread inside a UDF
  #2
Frank
Guest
 
Posts: n/a
Try THREAD_N_ELEMENTS(t)

Frank
  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 with decomposePar tool vinz OpenFOAM Pre-Processing 18 January 26, 2011 02:17
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
Looping inside UDF and use of C_UDMs in DEFINE_DPM_BC shankara.2 Fluent UDF and Scheme Programming 0 November 10, 2009 17:11
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
thread pointer comparison crash in Fluent UDF Miriam Main CFD Forum 0 August 31, 2008 16:40


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