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

HELP!!!about species transfer

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2009, 07:54
Default HELP!!!about species transfer
  #1
Bo
Guest
 
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

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
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 06: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 04:20


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