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

thermal energy storage

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2016, 06:22
Smile thermal energy storage
  #1
New Member
 
Damiano Bagnasco
Join Date: Jul 2016
Posts: 6
Rep Power: 9
Damiano93 is on a distinguished road
Hi all! I have a little problem with Fluent.

I draw a cylinder with a ceramic honeycomb in the internal layer. The entire domain is composed by a fluid zone (porous medium), a steel vessel and an external insulation (rockwool). I'd like to study the heat exchange (transient, axisymmetric, non equilibrium model), so I wrote two UDFs: one for the temperature inlet and the second for the temperature outlet. I monitor temperature in different points along the baricentric line, but it doesn't change as I desrcibed in UDFs! In particular the temperature in the inlet is correct, but when simulating the outlet temperature is quite different (higher). Someone could see if my UDF is well written? Sorry for my bad english...

DEFINE_PROFILE(Toutlet, thread, position)

{

face_t f;

begin_f_loop(f, thread)

{

real t = RP_Get_Real("flow-time");

if (t < 24)

{F_PROFILE(f, thread, position) = 298.03;}

else if(t >= 24 && t < 67)

{F_PROFILE(f, thread, position) = -0.0000001*pow(t,3)+0.0019*pow(t,2)-0.2386*t+302.88;}

else if(t >= 67 && t < 122)

{F_PROFILE(f, thread, position) = 0.00002*pow(t,3)-0.0085*pow(t,2)+1.0896*t+253.69;}

else if(t >= 122 && t < 226)

{F_PROFILE(f, thread, position) = -0.0000003*pow(t,4)+0.0002*pow(t,3)-0.0519*pow(t,2)+6.3665*t+10.831;}

else if(t >= 226 && t < 1001)

{F_PROFILE(f, thread, position) = 0.00000002*pow(t,3)-0.00003*pow(t,2)+0.0248*t+299.27;}

else

{F_PROFILE(f, thread, position) = -0.00000000000000000000004*pow(t,6) - 0.00000000000000000005*pow(t,5) + 0.00000000000006*pow(t,4) - 0.000000001*pow(t,3) + 0.00001*pow(t,2) + 0.0011*t + 300.01;}
}

end_f_loop(f, thread)

}
Damiano93 is offline   Reply With Quote

Reply

Tags
fluent, temperature, 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
High temperature latent heat thermal energy storage using heat pipes Saleh1970 CFX 1 August 9, 2013 05:15
Re: Thermal Energy Storage modelling yashganatra FLUENT 0 June 25, 2013 07:02
thermal energy storage simulation Hear2020 FLUENT 0 March 6, 2011 16:21
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
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 20:51.