|
[Sponsors] |
March 29, 2006, 20:13 |
Macro to get Thread/Zone Name
|
#1 |
Guest
Posts: n/a
|
I'm trying to get the face name using the Macro THREAD_NAME(t). The UDF compiles but when I execute it, the Macro does not return me the face name. THREAD_ID(t) and THREAD_TYPE(t) work as they should.
part of code with the above macro usage char *name; thread_loop_f(t,d) { name = THREAD_NAME(t);} Suggestions please. Thank you Abhijeet |
|
March 30, 2006, 04:11 |
Re: Macro to get Thread/Zone Name
|
#2 |
Guest
Posts: n/a
|
It doesn't work...I get a serie of numbers instead of the name...Luca
|
|
March 30, 2006, 12:59 |
Re: Macro to get Thread/Zone Name
|
#3 |
Guest
Posts: n/a
|
ok, any workaround that your can suggest ....Abhijeet
|
|
March 30, 2006, 14:30 |
Re: Macro to get Thread/Zone Name
|
#4 |
Guest
Posts: n/a
|
Set up your case. Look at the integer corresponding to a certain thread. Go back to your UDF and type in the integer.
Yes, it is crude, but without any help from FLUENT programmers, it seemed a reasonable compromise. |
|
March 31, 2006, 12:15 |
Re: Macro to get Thread/Zone Name
|
#5 |
Guest
Posts: n/a
|
Thanks Allan, cant really do that have about 1500 FACES !!! The whole purpose of the UDF is to automate the calculations at the end of a simulation, apply the changes and then reiterate.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro Problem!!! | eRzBeNgEl | STAR-CCM+ | 3 | August 9, 2011 03:04 |
Macro Trouble -Winows Explorer Crashes with Macro | Martin Castillo | FLUENT | 1 | July 25, 2007 05:18 |
Macro problem | cfddummy | Siemens | 1 | April 9, 2007 13:37 |
macro not function! | guang ai | Siemens | 0 | July 25, 2004 19:53 |
Call a macro from a macro | Flav | Siemens | 2 | July 1, 2004 06:42 |