|
[Sponsors] |
how to obtain mass diffusion coefficient with UDF? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 28, 2019, 13:32 |
how to obtain mass diffusion coefficient with UDF?
|
#1 |
Senior Member
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9 |
Hi all,
I want to define different mass diffusive coefficient in different zones with UDF. For example, I need to assign effective diffusion coefficient to porous zone. To calculate effective diffusion coefficient, I need to know molecular diffusion coefficient of species which is mixture averaged or multi-component depending on models I use. I checked UDF manual and found that C_DIFF_L(c,t,i,j) is used to obtain binary diffusion coefficient and C_DIFF_EFF(c,t,i) is used to obtain effective coefficient. none of these two macros can be used to obtain molecular diffusion coefficient. my question is do I have to calculate molecular diffusion coefficient based on binary diffusion coefficient I derive and then assign this molecular diffusion coefficient with DEFINE_DIFFUSIVITY (name, c, t, i)? Or maybe some macros can be used to obtain molecular diffusion coefficient directly? Best. Weiqiang |
|
Tags |
binary diffusion, macros, molecular diffusion |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
diffusion coefficient not constant? | don6alfonso | Main CFD Forum | 0 | August 24, 2017 06:09 |
Interface mass diffusion term/flux questions | goicox | Main CFD Forum | 0 | November 28, 2012 10:12 |
Simulation with UDF for species mass fraction and velocity profile | virgy | Fluent UDF and Scheme Programming | 8 | February 7, 2012 05:30 |
I need UDF help. | S.Whitney | FLUENT | 0 | October 15, 2007 12:29 |
Species diffusion coefficient | iceabc | FLUENT | 1 | June 10, 2004 11:04 |