CFD Online Logo CFD Online URL
Home > Forums > FLUENT

a question about udf, thank you!

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

LinkBack Thread Tools Display Modes
Old   September 30, 2009, 09:45
Default a question about udf, thank you!
New Member
Join Date: Apr 2009
Posts: 14
Rep Power: 10
hunter is on a distinguished road
I am simulating condensation. but lots of problem appeared. for example, I set the heat flux q=h*(tl-tw) using DEFINE_HEAT_FLUX. the c file is below:
#include "udf.h"
real h = 0.;


DEFINE_HEAT_FLUX(heat_flux, f, t, c0, t0, cid, cir)
cid[0] = 0.;
cid[1] = h;
cid[2] = h;
cid[3] = 0.;

first: static real h=0., then parse error appeared. but the user's guide has static. i do not know why.
second, the calculated results is not corrected. therefore, i have a question, the solid wall has thickness. where the heat flux is? isn't it between the flow and the solid. who can help me check the cas/dat? thank you!
Attached Images
File Type: jpg 未命名.JPG (12.3 KB, 9 views)
hunter is offline   Reply With Quote


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
A simple UDF question Pirooz Darabi FLUENT 0 October 31, 2007 16:22
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19:01
Question about UDF summer FLUENT 1 July 18, 2006 10:13
UDF question Ryan FLUENT 2 July 5, 2006 14:54
A question about the dynamic mesh UDF Tango FLUENT 1 November 27, 2003 03:56

All times are GMT -4. The time now is 17:14.