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

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 1
Rep Power: 0
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, 18:23
Default
  #2
New Member
 
Join Date: Nov 2013
Posts: 16
Rep Power: 4
GK-mech is on a distinguished road
Hello. Did you solve your problem and write a udf for heat transfer coeff.?

Thank you.
GK-mech 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: 5
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
New Member
 
Join Date: Nov 2013
Posts: 16
Rep Power: 4
GK-mech 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.
GK-mech is offline   Reply With Quote

Old   June 29, 2015, 04:41
Default
  #5
Member
 
Harry
Join Date: May 2013
Posts: 68
Rep Power: 5
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, 08:19
Default
  #6
New Member
 
gui
Join Date: Oct 2013
Posts: 10
Rep Power: 4
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, 05:50
Default
  #7
New Member
 
gui
Join Date: Oct 2013
Posts: 10
Rep Power: 4
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 08:23.
guilbemloco is offline   Reply With Quote

Reply

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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
udf to define heat transfer coefficient zacfranki Fluent UDF and Scheme Programming 0 August 6, 2013 15:50
mass transfer coefficient for boundary condition niek Main CFD Forum 0 March 29, 2011 05:33
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
Info: Short Course On Thermal Design of Electronic Equipment Arnold Free Main CFD Forum 0 August 10, 1999 10:18


All times are GMT -4. The time now is 09:00.