|
[Sponsors] |
November 1, 2003, 21:15 |
question about Species diffusivity
|
#1 |
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.
|
|
November 4, 2003, 07:10 |
Re: question about Species diffusivity
|
#2 |
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 |
|
November 4, 2003, 13:07 |
Re: question about Species diffusivity
|
#3 |
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.
|
|
November 5, 2003, 03:39 |
Re: question about Species diffusivity
|
#4 |
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
|
|
|
|
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 05:30 |
negative species concentration again | Andrew Garrard | FLUENT | 0 | March 22, 2005 12:36 |
positive feedback and negative species | Andrew Garrard | FLUENT | 4 | March 16, 2005 11:35 |
Species Transfport Model - Question | Lior | FLUENT | 3 | September 2, 2004 16:57 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 01:07 |