|
[Sponsors] |
February 8, 2003, 01:58 |
Mass Diffusion via UDF
|
#1 |
Guest
Posts: n/a
|
I am trying to implement mass diffusion in a mixture of CH4 and H2 in my model. Because I'm trying to reproduce a model of the same process done by someone in homemade code I am trying to implement the same mass diffusion coefficient calcs they used, namely Chapman-Enskog (sp?). My thoughts for implementing are to use DEFINE_DIFFUSIVITY in a udf. My question is what to do about the argument 'i' or 'index' required by the DEFINE_DIFFUSIVITY function. I know 'i' refers to species, but will I need a case structure or if then statement to evaluate which species the solver contains or something? Thanks in advance for any clearer explanation. The Fluent documentation is surprisingly lacking in the explanation of this 'i' argument.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF to measure Mass Flow Rate | a.lynchy | Fluent UDF and Scheme Programming | 31 | October 4, 2018 14:10 |
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT | subhankar_bhandari | FLUENT | 0 | August 19, 2010 03:01 |
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT | subhankar_bhandari | Main CFD Forum | 0 | August 19, 2010 03:01 |
Diffusion UDF | visuja | FLUENT | 0 | June 21, 2009 18:16 |
Mass diffusion | Haritz | FLUENT | 0 | December 15, 2006 12:48 |