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

what does FLUID_THREAD_P(t) macro do in udf?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By yashganatra

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2013, 04:53
Default what does FLUID_THREAD_P(t) macro do in udf?
  #1
Member
 
soodabe
Join Date: Apr 2013
Posts: 40
Rep Power: 12
borhan_sd@yahoo.com is on a distinguished road
Hi all,I want to know what does FLUID_THREAD_P(t) macro do in the udf?
For example in the reaction of a fliud onto the surface of a solid, does it points to the reactant?Or in contrary it points to the location of reaction?
(In the first state the answer is fluid and macro is true and in the second one, reversely the answer of macro is false because the reaction takes place on the solid surface).
please help me.
borhan_sd@yahoo.com is offline   Reply With Quote

Old   June 10, 2013, 03:19
Default
  #2
Member
 
Yash Ganatra
Join Date: Mar 2013
Posts: 67
Rep Power: 13
yashganatra is on a distinguished road
Checks if the given zone is a fluid or not. It's a structure reference
PranjalNewton likes this.
yashganatra is offline   Reply With Quote

Old   June 10, 2013, 06:49
Default
  #3
Member
 
soodabe
Join Date: Apr 2013
Posts: 40
Rep Power: 12
borhan_sd@yahoo.com is on a distinguished road
Ok,thanks,Isn't it necessary in surface reactions' UDFs?
I didn't see it in UDF examples of surface reactions at all.
borhan_sd@yahoo.com is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
the macro DEFINE_MASS_TRANSFER can't use as compile udf in ansys14.0 fangdian Fluent UDF and Scheme Programming 13 August 23, 2014 11:00
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29
need help whith hooking UDF and DEFINE_INIT macro cax FLUENT 3 June 6, 2006 13:35
-What udf macro for boiling - thomas FLUENT 6 January 19, 2004 08:31
DEFINE_DPM_OUTPUT macro UDF HELP Puneet FLUENT 3 November 28, 2003 11:55


All times are GMT -4. The time now is 00:30.