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

UDF for 3d boundary conditions problem in fluent

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By billwangard

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 15, 2013, 11:14
Default UDF for 3d boundary conditions problem in fluent
  #1
New Member
 
Pawan Hurnath
Join Date: Jun 2013
Posts: 5
Rep Power: 12
pawanh is on a distinguished road
Hi, I am trying to use a udf to model the temperature jump across a data center rack. I TRIED IN 2D successfully and now I am trying to extend the result to 3d but to no avail.

The udf which worked for the 2d is shown below. I trid using the same of 3d


/* udf for temperature jump across rack one*/
#include "udf.h"

DEFINE_PROFILE(temperature, thread, index)
{
Domain *domain= Get_Domain(1);
real x[ND_ND];
face_t f;
int Zone_ID=8;
Thread *t0=Lookup_Thread(domain,Zone_ID);

begin_f_loop(f,thread)
{
F_CENTROID(x,f,thread);
F_PROFILE(f,thread,index) =(F_T(f,t0)+3);
}
end_f_loop(f,thread)
}


I do not kno what changes do I need to bring to the udf to change in th 3d.
Initially I though that I should try looping over cells instead of looping over faces?

Any help ? what do you think?

quite urgent! please some one help me out
pawanh is offline   Reply With Quote

 


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Boundary Conditions problem o_mars_2010 Main CFD Forum 2 July 8, 2013 02:10
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Problem with periodic boundary conditions jm_ngs FLUENT 7 April 27, 2012 02:32
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56


All times are GMT -4. The time now is 10:47.