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

How to get wall boundary temperature?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 15, 2012, 22:02
Default How to get wall boundary temperature?
  #1
New Member
 
Kim Donghee
Join Date: May 2009
Posts: 15
Rep Power: 8
ssamton is on a distinguished road
Hi all

I have a problem to get wall boundary temperature.

I used UDF.

If I use built-in function, it's fine.

That is, after calculation, if I want to know specific boundary temperature,

Report > Surface Integrals > Average area weighted(or others) > specific boundary check,

then, I know the boundary wall temperature.

But, when I use UDF, boundary wall temperature is differ from above result.

Of course, difference between two results is very small(approx. 1K), but this small difference occurs huge difference of results.

I would write my UDF Code.

Please tell me any idea.

Thanks

Bests



DEFINE_ADJUST(temp_surface_up, domain)
{
face_t face;
Thread *thread = Lookup_Thread(domain, Surface_up); /* set up domain frost thickness, 12 for frost surface ID from B.C panel */

double temp;

real x[ND_ND]; /* declaration the position variable */

begin_f_loop(face, thread)
{
F_CENTROID(x, face, thread);

temp += F_T(face, thread);
}
Temp_up = temp / 100; /* 100 is a number of cell along boundary */

end_f_loop(face, thread)
}
ssamton is offline   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
CFX does not continue Shafiul CFX 10 February 17, 2011 08:57
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
Free Stream Temperature wall boundary condition emanuele FLUENT 0 March 19, 2007 11:45
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 20:23


All times are GMT -4. The time now is 18:04.