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

how to get temperature at wall

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2020, 10:34
Default how to get temperature at wall
  #1
Member
 
Tyler Richardson
Join Date: Jun 2017
Posts: 30
Rep Power: 8
tricha122 is on a distinguished road
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!
tricha122 is offline   Reply With Quote

Old   January 25, 2021, 04:14
Default
  #2
New Member
 
Lie Wei
Join Date: Sep 2020
Posts: 4
Rep Power: 5
Lie Wei is on a distinguished road
hi, Tyler
I'm having the same problem as you. Have you found a solution?
Lie Wei is offline   Reply With Quote

Old   January 25, 2021, 06:08
Default
  #3
Member
 
Tyler Richardson
Join Date: Jun 2017
Posts: 30
Rep Power: 8
tricha122 is on a distinguished road
Quote:
Originally Posted by Lie Wei View Post
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.
tricha122 is offline   Reply With Quote

Old   February 6, 2021, 21:19
Default
  #4
New Member
 
Lie Wei
Join Date: Sep 2020
Posts: 4
Rep Power: 5
Lie Wei is on a distinguished road
Quote:
Originally Posted by tricha122 View Post
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?
Lie Wei is offline   Reply With Quote

Reply

Tags
f_t, wall temperature


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
A question related to writing expression for (htc)Heat transfer coefficient Hamda CFX 11 April 17, 2020 00:57
Expert Parameters in CFX-pre ebrahem FLUENT 0 December 20, 2019 02:39
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 17:00
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
About fix wall temperature in wall boundary joon Siemens 2 March 10, 2003 01:41


All times are GMT -4. The time now is 23:53.