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

Query regarding macros defined in f_wall.h

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

Like Tree1Likes
  • 1 Post By Jack Martinez

Reply
 
LinkBack Thread Tools Display Modes
Old   July 10, 2007, 03: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

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


All times are GMT -4. The time now is 20:30.