CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   how to get temperature at wall (https://www.cfd-online.com/Forums/fluent-udf/232009-how-get-temperature-wall.html)

tricha122 November 26, 2020 10:34

how to get temperature at wall
 
Hi,

I am putting together a UDF for calculating heat transfer coefficient, and i am having the strangest issue.

It looks like what is retrieved from my F_T(f,t) does not match the wall temperature, wall adjacent temperature, static temperature, or total temperature in my solution (solid pipe with constant heat flux, and fluid flowing through)

Is it expected that F_T(f,t) would grab the wall temperature?

How might i retrieve the wall temperature otherwise?

My code is quite simple:

Quote:


begin_f_loop(f,t) {

t0=THREAD_T0(t);
c0=F_C0(f,t);

TWadj = F_T(f,t);


C_UDMI(c0,t0,3) = TWadj;
F_UDMI(f,t,3) = TWadj;



} end_f_loop(f,t);

TIA!

Lie Wei January 25, 2021 04:14

hi, Tyler
I'm having the same problem as you. Have you found a solution?

tricha122 January 25, 2021 06:08

Quote:

Originally Posted by Lie Wei (Post 794368)
hi, Tyler
I'm having the same problem as you. Have you found a solution?

Yes, it turns out in order to get F_T to match your wall temperature, you need to have similar mesh sizing on both sides of the wall. So you need to inflate your solid mesh similar to your fluid mesh.

Lie Wei February 6, 2021 21:19

Quote:

Originally Posted by tricha122 (Post 794381)
Yes, it turns out in order to get F_T to match your wall temperature, you need to have similar mesh sizing on both sides of the wall. So you need to inflate your solid mesh similar to your fluid mesh.

Thanks for your reply. however, there is no solid domain in my simulation. Is there any solution in this case?


All times are GMT -4. The time now is 08:40.