Macro to get Thread/Zone Name
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 |
Re: Macro to get Thread/Zone Name
It doesn't work...I get a serie of numbers instead of the name...Luca
|
Re: Macro to get Thread/Zone Name
ok, any workaround that your can suggest ....Abhijeet
|
Re: Macro to get Thread/Zone Name
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. |
Re: Macro to get Thread/Zone Name
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.
|
All times are GMT -4. The time now is 20:26. |