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

UDF for hear transfer coefficient in non-thermal equilibrium porous meda

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2014, 20:44
Default UDF for hear transfer coefficient in non-thermal equilibrium porous meda
  #1
New Member
 
Sherif
Join Date: Jan 2014
Posts: 3
Rep Power: 12
sheeko is on a distinguished road
Hello,
I am trying to make a udf for the solid-liquid heat transfer coefficient for the thermal non-equilibrium model for porous media.
The heat transfer coefficient is a function of the temperature of the solid and liquid zones as well as the thermal conductivity of the fluid. I am wondering how I can call the temperature variables in both zones? as well as how can I use the thermal conductivity property of the fluid as a variable in the UDF.
Thanks
sheeko is offline   Reply With Quote

Old   July 24, 2014, 19:23
Default
  #2
Disabled
 
Join Date: Nov 2013
Posts: 16
Rep Power: 13
anon_m is on a distinguished road
Hello. Did you solve your problem and write a udf for heat transfer coeff.?

Thank you.
anon_m is offline   Reply With Quote

Old   January 15, 2015, 05:27
Default
  #3
New Member
 
Anonymous Joe
Join Date: Jun 2013
Posts: 7
Rep Power: 13
woody85 is on a distinguished road
i have the same problem, i want to get the temperature of the solid in the porous zone.
woody85 is offline   Reply With Quote

Old   January 15, 2015, 12:04
Default
  #4
Disabled
 
Join Date: Nov 2013
Posts: 16
Rep Power: 13
anon_m is on a distinguished road
After creating the solid domain, get the domain ID (cell condition tab).
In the UDF, write something similar to:

int Zone_ID_solid = 9; /* solid zone ID*/
Domain *d = Get_Domain(1);
cell_t c;
Thread *thread_solid = Lookup_Thread(d,Zone_ID_solid);

begin_c_loop(c,thread_solid)
{
T_solid = C_T(c,thread_solid);
}
end_c_loop(c,thread_solid)

This will read the temperature in the cells of the zone specified. I think this would work, but I haven't check it.
anon_m is offline   Reply With Quote

Old   June 29, 2015, 05:41
Default
  #5
Member
 
Harry
Join Date: May 2013
Posts: 68
Rep Power: 13
star is on a distinguished road
Hello. I want to impose an equal temperature and flux condition at the interface between the porous zone and fluid zone in thermal non-equilibrium model through the equation K_se*dT_s/dr = K_fe*dT_f/dr = K_f*dT_f/dr = q_interface and T_s = T_f at the interface (where, K_se & K_fe are effective solid and fluid conductivity, q is the heat flux).I don't know how to write udf for this as I am not good in udf. I will be thankful for any suggestion about what macros should I use and how to implement.
star is offline   Reply With Quote

Old   May 17, 2016, 09:19
Default
  #6
New Member
 
gui
Join Date: Oct 2013
Posts: 10
Rep Power: 13
guilbemloco is on a distinguished road
Quote:
Originally Posted by sheeko View Post
Hello,
I am trying to make a udf for the solid-liquid heat transfer coefficient for the thermal non-equilibrium model for porous media.
The heat transfer coefficient is a function of the temperature of the solid and liquid zones as well as the thermal conductivity of the fluid. I am wondering how I can call the temperature variables in both zones? as well as how can I use the thermal conductivity property of the fluid as a variable in the UDF.
Thanks
Hello, did you make the UDF for the heat transfer coefficient?

Thanks
guilbemloco is offline   Reply With Quote

Old   May 24, 2016, 06:50
Default
  #7
New Member
 
gui
Join Date: Oct 2013
Posts: 10
Rep Power: 13
guilbemloco is on a distinguished road
Quote:
Originally Posted by woody85 View Post
i have the same problem, i want to get the temperature of the solid in the porous zone.
Dear woody85,

Did you manage to obtain the solid temperature in the porous domain?
If yes, how did you do it?

Thank you, G

Last edited by guilbemloco; May 24, 2016 at 09:23.
guilbemloco is offline   Reply With Quote

Old   November 16, 2016, 13:38
Default
  #8
New Member
 
parviz hash
Join Date: May 2012
Posts: 16
Rep Power: 14
parvaz747 is on a distinguished road
Hi every body
I Have the same problem. I want to consider heat transfer coeff. as a function of reynolds number. How can I do this?
Please help me
parvaz747 is offline   Reply With Quote

Old   January 2, 2020, 00:43
Default
  #9
New Member
 
Uday Kumar
Join Date: Dec 2019
Posts: 1
Rep Power: 0
uday1996 is on a distinguished road
Quote:
Originally Posted by parvaz747 View Post
Hi every body
I Have the same problem. I want to consider heat transfer coeff. as a function of reynolds number. How can I do this?
Please help me
did you solve this? I am doing the same type of problem. in which heat transfer coefficient need to give in terms of reynolds number. Could you please help me out?
uday1996 is offline   Reply With Quote

Reply

Tags
heat transfer coefficient, non-thermal equilibrium, porous media, udf


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
udf to define heat transfer coefficient zacfranki Fluent UDF and Scheme Programming 0 August 6, 2013 16:50
mass transfer coefficient for boundary condition niek Main CFD Forum 0 March 29, 2011 06:33
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02
Info: Short Course On Thermal Design of Electronic Equipment Arnold Free Main CFD Forum 0 August 10, 1999 11:18


All times are GMT -4. The time now is 22:01.