CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Diffrence between THREAD_DT and DT_THREAD (https://www.cfd-online.com/Forums/fluent-udf/135388-diffrence-between-thread_dt-dt_thread.html)

Deepblack May 13, 2014 05:08

Diffrence between THREAD_DT and DT_THREAD
 
1 Attachment(s)
Hello,

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.

edd313 February 12, 2016 12:43

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.


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