CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Temperature Functions for walls

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

LinkBack Thread Tools Display Modes
Old   January 17, 2004, 17:37
Default Temperature Functions for walls
Posts: n/a
************************************************** *

I want to set for a wall a time-dependent temperature

1. 0-10 min temp is increasing linear from 300 to 400k 2. after 10 min to 60min temp is constant 400k

Sure that must be done with unsteady time steps lets say a time step has 0.5 sec

Sorry,im learning UDF atm and not familiar with it atm.

with my small programming knowledge

if t<= 1200

T=T+0,0833333 else

T=400 end if

10min=1200 timesteps and 0,08333= 100/1200

can someone help me..setting a profile or UDF for it?

would be happy about any help


  Reply With Quote

Old   January 18, 2004, 21:21
Default Re: Temperature Functions for walls
Posts: n/a
You don't need time step. And time scale is "second".

Please use the file as below; cut and paste, and name as "it.c", and read Define/User-Defined/Functions/Interpreted and write in "Source File Name" as "it.c"


Define/Boundary Conditions/

If you are Fluent User, after explanation will not be necessary.

/* -------increasing temperature file--------- */

#include "udf.h"

/* temperatu define */

DEFINE_PROFILE(temperature_profile,thread,position ) { face_t f;



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

if ( t < 600.0 )

F_PROFILE(f,thread,position) = 300.0+0.16666667 * t;

else if ( t < 3600.0 )

F_PROFILE(f,thread,position) = 400.0;


F_PROFILE(f,thread,position) = 400.0;

} end_f_loop(f,thread) }
  Reply With Quote

Old   January 19, 2004, 07:11
Default Re: Temperature Functions for walls
Posts: n/a


It works without any errors...many Thx TAMO2 Tested it on the surface intergal result-panel

Greetz Optixxx
  Reply With Quote


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
Problem with zeroGradient wall BC for temperature - Total temperature loss cboss OpenFOAM 10 March 5, 2015 07:57
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Bulk temperature Tf is obtained from total or static temperature? NPU_conanxie FLUENT 0 March 30, 2011 05:56
High temperature methane+air Peter FLUENT 5 January 26, 2009 19:04

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