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

Temperature Profil Plate UDF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 16, 2010, 13:06
Default Temperature Profil Plate UDF
  #1
Member
 
Join Date: Feb 2010
Posts: 50
Rep Power: 7
mannobot is on a distinguished road
Hi There,

I try to implement a temperature profil at a wall boundary.

That is what I have:

#include "udf.h"

DEFINE_PROFILE(t_profile,t,i)
{
real y[ND_ND]; /* this will hold the position vector */
real x;
real z;
face_t f;

begin_f_loop(f,t)
{
F_CENTROID(y,f,t);

F_PROFILE(f,t,i) = 293-100*x*z;
}
end_f_loop(f,t)
}

It does not work. Is there someone who might see the problem. In the end the profil does not matter. Just not uniform. I would like to go for linear from one side to the other. Here the plane, the wall is part of, is the y-z plane.

Any help would be much appreciated.

Thank you in advance

Last edited by mannobot; June 16, 2010 at 14:08.
mannobot is offline   Reply With Quote

Reply

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
solving a conduction problem in FLUENT using UDF Avin2407 Fluent UDF and Scheme Programming 1 March 13, 2015 03:02
Problem with zeroGradient wall BC for temperature - Total temperature loss cboss OpenFOAM 10 March 5, 2015 07:57
UDF temperature variation Alex E-H FLUENT 2 November 5, 2008 10:18
how to write a 3D linear temperature of UDF venus FLUENT 1 October 28, 2008 03:46
Plate Motion,Sure write by UDF? Jimmy Chan FLUENT 2 December 1, 2005 04:23


All times are GMT -4. The time now is 23:20.