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

Mass Diffusion via UDF

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Keil
  • 1 Post By Greg Perkins

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 8, 2003, 01:58
Default Mass Diffusion via UDF
  #1
Ryan
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.
  Reply With Quote

 


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
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


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