|
[Sponsors] |
March 13, 2018, 10:35 |
Thread_name
|
#1 |
New Member
DS
Join Date: May 2016
Posts: 28
Rep Power: 10 |
Goodmorning,
I'm writing a UDF with the function DEFINE_ADJUST(my_adjust,d) but I want that it works just only in some cell zones for computational cost matter. In the thread_loop_c(t,d) I don't understand how to compare the cell zone name in order to compare it with the name read from a file. Just to results clearer I used THREAD_ID(t) and it gave me the ID number of the current CELL ZONE analyzed but I need to read the name of that (for example fluid-1 as shown in the CELL ZONE CONDITION menu). Or maybe someone have a more efficient solution with which by a journal file I can set the name of cell zone on which the my_adjust function have to operate. Thank you very much Best regards Denis |
|
Tags |
thread_name udf |
|
|