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

Bonduary condition- define_profile for temperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2006, 16:43
Default Bonduary condition- define_profile for temperature
  #1
Tomik
Guest
 
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.

Tomik
  Reply With Quote

Old   January 12, 2006, 01:43
Default Re: Bonduary condition- define_profile for tempera
  #2
RoM
Guest
 
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.

RoM
  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
CFL Condition Matt Umbel Main CFD Forum 19 June 30, 2020 08:20
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


All times are GMT -4. The time now is 07:46.