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

Thread_name

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 13, 2018, 10:35
Default Thread_name
  #1
New Member
 
DS
Join Date: May 2016
Posts: 28
Rep Power: 10
denis.sanga@hotmail.it is on a distinguished road
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
denis.sanga@hotmail.it is offline   Reply With Quote

 

Tags
thread_name udf


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 06:41.