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

question about Species diffusivity

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2003, 20:15
Default question about Species diffusivity
  #1
zhou1
Guest
 
Posts: n/a
I defined a species diffusivity using "DEFINE_DIFFUSIVITY" and i try to use this species diffusivity value in my UDF. I have confused about how to use "C_DIFF_L(c,t,i,j)". Where, "i" denotes the species "i" that I want to use and "j" denotes what? How can I obtain the species "i" diffusivity by "C_DIFF_L(c,t,i,j)"? Thanks.
  Reply With Quote

Old   November 4, 2003, 06:10
Default Re: question about Species diffusivity
  #2
nounou
Guest
 
Posts: n/a
may be you can help naima

I like te difine the UDS Diffusivity with a UDF but i have some problems. so, I used the udf given by fluent :

# include "udf.h" DEFINE_DIFFUSIVITY(mean_age_diff, c, t, i) { return C_R(c,t) * 2.88e-05 + C_MU_EFF(c,t) / 0.7; }

also with this udf(fluent) Ihave the same error : Error: C:\work\tt.c: line 1: parse error. I'd appreciate your help, think you

  Reply With Quote

Old   November 4, 2003, 12:07
Default Re: question about Species diffusivity
  #3
zhou1
Guest
 
Posts: n/a
Hi,I think you should begin your "DEFINE_DIFFUSIVITY" at the first column. Don't leave blank in front of this UDF and then try it again.
  Reply With Quote

Old   November 5, 2003, 02:39
Default Re: question about Species diffusivity
  #4
nounou
Guest
 
Posts: n/a
Thank you a lot for your response, you know, the problem is I don't write this UDF, it is from the chapter 4 page 4-17 "define Macro" in the documentation of Fluent, I just copy and past the sentenses, like naima did. Sincerly Yours
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does the Kinematic Diffusivity work well in CFX 10 Michael Skoblin CFX 4 February 28, 2007 04:30
negative species concentration again Andrew Garrard FLUENT 0 March 22, 2005 11:36
positive feedback and negative species Andrew Garrard FLUENT 4 March 16, 2005 10:35
Species Transfport Model - Question Lior FLUENT 3 September 2, 2004 15:57
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07


All times are GMT -4. The time now is 21:46.