CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Diffrence between THREAD_DT and DT_THREAD

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

Like Tree2Likes
  • 2 Post By edd313

LinkBack Thread Tools Display Modes
Old   May 13, 2014, 05:08
Default Diffrence between THREAD_DT and DT_THREAD
New Member
Join Date: Nov 2013
Posts: 11
Rep Power: 5
Deepblack is on a distinguished road

i need to simulate a few stones, driven by a fluid (water in my case), in a riverbed. Hence the stones are hitting each other, i decided to use a contact detection UDF.
Of course there is a lot of "Thread catching" in this UDF, because you have to seperate the different objects. And here comes my question:

What is the diffrence between THREAD_DT("thread") and DT_THREAD("dt")?

If this question is to abstract, my udf is attached.

Thanks for your reply.
Attached Files
File Type: c Contactdetection.c (5.6 KB, 24 views)
Deepblack is offline   Reply With Quote

Old   February 12, 2016, 13:43
New Member
Join Date: Nov 2015
Posts: 6
Rep Power: 4
edd313 is on a distinguished road
I know I'm late but I hope this is going to help someone in the future.

DT_THREAD(dt) has a "Dynamic_Thread" as an input and returns a "Thread". It's a dynamic thread to just thread converter basically.

THREAD_DT(thread) does the opposite, converting from thread to dynamic thread.
pakk and NicolasCheshire like this.
edd313 is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 16:10.