CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF, defining diffusivity (http://www.cfd-online.com/Forums/fluent/27556-udf-defining-diffusivity.html)

Szasz Robert March 10, 2000 06:46

UDF, defining diffusivity
 
Dear All,

I'm trying to write an UDF to modify the diffusivity of species. I have met the following difficulties:

1. I received an error mesage during the compiling: "macro 'C_DIFF_L' used with only 3 args". I have put one more argument, but I don't know what does it represent?

2. I managed to compile the source, but there still was an error message: "label 'M_spe_multicomponent-j' not found" and trying to iterate I received a 'SEGMENTATION VIOLATION' message. What could be the reason?

3. How can I obtain the molecular weight of species i?

Thank you in advance for any help, Robi


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