CFD Online Logo CFD Online URL
Home > Forums > FLUENT

HELP!!!about species transfer

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

LinkBack Thread Tools Display Modes
Old   January 15, 2009, 07:54
Default HELP!!!about species transfer
Posts: n/a
now I am using species transfer. but there are a problem with it. the mass fraction is suppose to smaller than 0.5,but the running result is always bigger than 0.5. I try to write UDF to fix the value. but fluent always show me mistake. I hope anyone can give me a help for this problem.

Thanks very much.

#include "udf.h"

DEFINE_PROFILE(mass_fraction, thread, position) { real y; face_t f; Thread *t; cell_t c; int i;

y = C_YI(c,t,i); if (y < 0.5) y = y; if (y>0.5) y = 0.5;

begin_f_loop(f, thread)


F_PROFILE(f, thread, position) = y;

} end_f_loop(f, thread) }

  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
Species Mass Transfer houman CFX 2 January 4, 2006 06:44
Species Mass Transfer Abu-Khawlah FLUENT 0 December 9, 2005 11:35
transfer of species Muhammad Shakaib FLUENT 0 October 12, 2005 05:47
about the species transfer during solidification Bing Ma FLUENT 0 March 1, 2005 10:42
Species Transfer !!! Top Top Urgent!!! Mohammed Shamol FLUENT 2 April 27, 2004 03:20

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