How to show the properties in the specific zone ID using UDF (Define_adjust)
I am a UDF & Fluent beginner. Now, I focus the conjugate heat problem.
I am studying the 2D channel flow with conduction from channelís wall.
My objective, I needed to know the heat flux in x direction (streamwise), and then I created a interior boundary condition (edge). And I knew the zone ID number.
This interior line could show me a temperature profile; then I was using the lookup_thread (thread pointer to ID zone) for showing the temperature every iteration.
Problem is that in an example, it can show the coordinate x, y, but I need to see the temperature on my specific zone ID. I really need someone to help me.
Thanks in advance.:)
This is the code
int ID = 11;
Thread *thread = Lookup_Thread(domain, ID);
printf("x-coord = %f ,y-coord = %f \n",FC, FC);
To dmoroian, I thank you for your help. It is what I want.
Thank you so much
|All times are GMT -4. The time now is 06:01.|