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

strange temperature rise

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2014, 10:03
Default strange temperature rise
  #1
New Member
 
amr mobarez
Join Date: Jan 2013
Posts: 9
Rep Power: 13
amr mobarez is on a distinguished road
in my case firstly i using constant velocity every thing is normal the cooling temperature isn't rising but when i use a udf for velocity the temperature of the cooling fluid rise to the temperature of the main fluid ( attaching pic) which isn't logic as the velocity used in the first time step is exactly equal to the constant one (i'm attaching the udf also)


the udf :
#include "udf.h"

DEFINE_PROFILE(unsteady_x_velocity12, thread, position)
{
face_t f;
real tm = CURRENT_TIME;
begin_f_loop (f,thread)
{
if(tm < 0.1)
{
F_PROFILE (f,thread,position)= 8.479;
}
if(tm > 0.1)
{
F_PROFILE (f,thread,position)= 1.357;
}
if(tm > 0.2)
{
F_PROFILE (f,thread,position)= 8.479;
}
if(tm > 0.3)
{
F_PROFILE (f,thread,position)= 1.357;
}
if(tm > 0.4)
{
F_PROFILE (f,thread,position)= 8.479;
}
if(tm > 0.5)
{
F_PROFILE (f,thread,position)= 1.357;
}
if(tm > 0.6)
{
F_PROFILE (f,thread,position)= 8.479;
}
if(tm > 0.7)
{
F_PROFILE (f,thread,position)= 1.357;
}
if(tm > 0.8)
{
F_PROFILE (f,thread,position)= 8.479;
}
if(tm > 0.9)
{
F_PROFILE (f,thread,position)= 1.357;
}
if(tm > 1.0)
{
F_PROFILE (f,thread,position)= 8.479;
}
if(tm > 1.1)
{
F_PROFILE (f,thread,position)= 1.357;
}
}
end_f_loop (f,thread)
}
Attached Images
File Type: jpg new18-2-0.080000.jpg (69.6 KB, 4 views)
amr mobarez is offline   Reply With Quote

Reply


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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
What does uniform temperature rise mean for thermal stress analysis? Sargam05 OpenFOAM 4 September 22, 2012 22:00
monitoring point of total temperature rogbrito FLUENT 0 June 21, 2009 18:31
temperature rise due to viscous dissipation Marek Main CFD Forum 6 December 30, 2004 17:24
Temperature in vessel during throttling process Astrid Main CFD Forum 2 January 31, 2001 03:34


All times are GMT -4. The time now is 16:45.