|
[Sponsors] |
UDF for 3d boundary conditions problem in fluent |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 15, 2013, 11:14 |
UDF for 3d boundary conditions problem in fluent
|
#1 |
New Member
Pawan Hurnath
Join Date: Jun 2013
Posts: 5
Rep Power: 12 |
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 |
|
|
|
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 |