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

Query regarding macros defined in f_wall.h

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Jack Martinez

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2007, 02:56
Default Query regarding macros defined in f_wall.h
  #1
Jack Martinez
Guest
 
Posts: n/a
Have someone tried the macros written in f_wall.h like

1) TEMPERATURE_WALL(t) 2)HEAT_FLUX_WALL(t) 3)WALL_Q(T0,r0,T1,r1,rw)(((T1) - (T0))/((r0)+(rw)+(r1)))

I tried to use it in this sample UDF but it doen#t seem to be working at all ..

WALL_Q(T0,r0,T1,r1,rw)(((T1) - (T0))/((r0)+(rw)+(r1)))

#include "udf.h"

#include "f_wall.h"

#include "dll.h"

DEFINE_EXECUTE_AT_END(my_function)

{

face_t f;

Thread *t;

Domain *d;

real temp=0;

d=Get_Domain(1);

t=Lookup_Thread(d,6);

begin_f_loop(f,t)

{

temp=TEMPERATURE_WALL(t);

Message(" \nThe temperature at the face %d is %f",f, temp);

}

end_f_loop(f,t)

}

Please have a look at it..

Regards Jack Martinez
mm.abdollahzadeh likes this.
  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
[ICEM] How can I define different zones in ICEM? llrr ANSYS Meshing & Geometry 14 February 12, 2017 13:44
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
OpenFOAM13 for Mac OSX Darwin 104 hjasak OpenFOAM Installation 70 September 24, 2010 05:06
What are UDF macros C_T_S , C_T_AP,...???? Asghari FLUENT 0 January 28, 2007 10:54
User Defined Scalars - Returning Values Carlos V. FLUENT 0 April 19, 2006 18:18


All times are GMT -4. The time now is 12:33.