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

Macro information (undefined in f_wall.h)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2007, 10:39
Default Macro information (undefined in f_wall.h)
  #1
Jack Martinez
Guest
 
Posts: n/a
Have someone tried these macros mentioned 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 didn't give the desired ouput ..

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
  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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 05:28
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34
Building OpenFoAm on SGI Altix 64bits anne OpenFOAM Installation 8 June 15, 2006 10:27


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