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

Temperature Profil Plate UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2010, 14:06
Default Temperature Profil Plate UDF
  #1
Member
 
Join Date: Feb 2010
Posts: 50
Rep Power: 16
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 15:08.
mannobot 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
Problem with zeroGradient wall BC for temperature - Total temperature loss cboss OpenFOAM 12 October 1, 2018 07:36
solving a conduction problem in FLUENT using UDF Avin2407 Fluent UDF and Scheme Programming 1 March 13, 2015 03:02
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 22:52.