CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

impose temperature udf

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

LinkBack Thread Tools Display Modes
Old   September 24, 2013, 04:16
Default impose temperature udf
Join Date: Jun 2013
Posts: 65
Rep Power: 4
rayan24 is on a distinguished road

I want to impose a different temperature a different time, i want to impose 700K between t=0 and t=10s and T=400 K between t=10s and t=50s, can you see this udf and suggest me a correction, please?

#include "udf.h"

real x[ND_ND];
real r;
face_t f;

if ( dt <= 10)
F_PROFILE(f,t,i) =700;

if (10 < dt <= 50)

    F_PROFILE(f,t,i) =400;
rayan24 is offline   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
UDF Temperature boundaries Condition sylvix48 Fluent UDF and Scheme Programming 3 July 20, 2012 12:26
UDF for heat convection coefficient with fixed surface temperature Boo85 Fluent UDF and Scheme Programming 2 July 10, 2012 18:43
Please Help! Temperature profile UDF for 3D geometry subhankar_bhandari FLUENT 2 April 16, 2011 05:30
how to write a 3D linear temperature of UDF venus FLUENT 1 October 28, 2008 03:46
ho to input a computed temperature value in a UDF mcb FLUENT 0 March 7, 2007 07:06

All times are GMT -4. The time now is 18:06.