|February 24, 2014, 20:44||
UDF for hear transfer coefficient in non-thermal equilibrium porous meda
Join Date: Jan 2014
Posts: 1Rep Power: 0
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.
|January 15, 2015, 12:04||
Join Date: Nov 2013
Posts: 16Rep Power: 4
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);
Thread *thread_solid = Lookup_Thread(d,Zone_ID_solid);
T_solid = C_T(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.
|June 29, 2015, 04:41||
Join Date: May 2013
Posts: 68Rep Power: 4
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.
|heat transfer coefficient, non-thermal equilibrium, porous media, udf|
|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|