CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Bonduary condition- define_profile for temperature

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

LinkBack Thread Tools Display Modes
Old   January 11, 2006, 17:43
Default Bonduary condition- define_profile for temperature
Posts: n/a
Hi, I would like imposed on the boduary variation profil temperature. E.g. temperatue variation is to be specified as: T(y)=20*[1-(y/20)^2]. This is my Udf: #include "udf.h" DEFINE_PROFILE(temperature,t,i) { real x[ND_ND]; real y; face_t f; begin_f_loop(f,t) { F_CENTROID(x,f,t); y = x[1]; F_PROFILE(f,t,i) = 20.*(1.-(y*y/20.*20)); } end_f_loop(f,t) }

Where is mistake!? This bonduary condition I imposed to type: wall in overlap thermal, thermal condition: temperature.

Please help me!!!

Thanks lot.

  Reply With Quote

Old   January 12, 2006, 02:43
Default Re: Bonduary condition- define_profile for tempera
Posts: n/a
F_PROFILE(f,t,i) = 20.*(1.-(y*y/20./20.))

Also note that your udf will not return temperature values above 20 K, really cold in my opinion.

  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
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49
vorticity boundary condition bearcharge Main CFD Forum 0 May 14, 2010 11:32
Airfoil boundary condition Frank Main CFD Forum 1 April 21, 2008 18:36
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 06:45
CFL Condition Matt Umbel Main CFD Forum 14 January 12, 2001 15:34

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