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

thread_domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2017, 08:23
Default thread_domain
  #1
New Member
 
Join Date: Dec 2016
Posts: 1
Rep Power: 0
alongqishia is on a distinguished road
hey does anybody know what this function does?

In the tutorial on dynamic mesh movement for a valve there is a line in the udf file:

domain = THREAD_DOMAIN (DT_THREAD ((Dynamic_Thread *)dt));

I understand that 'dt' is being cast into a pointer of type Dynamic_Thread, and then DT_THREAD takes the pointer of type 'Dynamic_Thread' and converts it into a pointer of type 'Thread',

but what does 'THREAD_DOMAIN' do?

from the name it seems it finds out the pointer of type 'Domain' from the pointer of type 'Thread', but I couldnt find a definition for it anywhere in the documentation or on the web?

Could somebody please explain?
alongqishia is offline   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



All times are GMT -4. The time now is 14:13.