|
[Sponsors] |
how to define diffusion coefficients for every species in the system? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 15, 2019, 11:45 |
how to define diffusion coefficients for every species in the system?
|
#1 |
Senior Member
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9 |
Hi all,
I wrote an UDF to define mass diffusion coefficients for all species in the system. For some reason, I need to hook my UDF in mixture material panel instead of single specie panel. My UDF can be compiled and loaded without error. I also checked the returned value of mass diffusion coefficient which is 4.6e^-5. However it is only for one specie. In specific, specie index "i" is always 0 in DEFINE_DIFFUSIVITY(c,t,i) macro. I wonder how can I define mass diffusion coefficients for every species in the system if I have to hook my UDF in mixture material panel? Best. Weiqiang. |
|
June 16, 2019, 17:05 |
|
#2 |
Senior Member
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9 |
it turns out fluent can loop all the species in the system even if I hook my UDF in mixture panel.
Though it returns wrong value which I can not understand. best Weiqiang |
|
September 26, 2019, 23:37 |
|
#3 |
New Member
david
Join Date: Sep 2019
Posts: 9
Rep Power: 7 |
||
September 28, 2019, 10:41 |
|
#4 |
Senior Member
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9 |
||
November 26, 2019, 06:55 |
Mass transfer source term in porous media
|
#5 |
New Member
Pallavee Dhekne
Join Date: Aug 2019
Posts: 5
Rep Power: 7 |
How to define mass transfer source term (mass diffusivity) in porous media? Which model should i use for mass diffusion through porous media? Thanks in anticipation
|
|
November 26, 2019, 10:43 |
|
#6 | |
New Member
david
Join Date: Sep 2019
Posts: 9
Rep Power: 7 |
Quote:
|
||
June 23, 2021, 11:01 |
|
#7 |
New Member
Beatriz
Join Date: Jun 2021
Posts: 11
Rep Power: 5 |
Hello Weiqiang Liu,
I have a similar problem. Could you provide your UDF to calculate diffusion coefficients for each species? Thanks in advance! Best regards, Beatriz |
|
June 23, 2021, 11:03 |
|
#8 | |
New Member
Beatriz
Join Date: Jun 2021
Posts: 11
Rep Power: 5 |
Quote:
I have a similar problem. Could you provide your UDF to calculate diffusion coefficients for each species? Thanks in advance! Best regards, Beatriz |
||
Tags |
mass diffusivity, mixture material, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP----Surface Reaction UDF | Ashi | Fluent UDF and Scheme Programming | 1 | May 19, 2020 22:13 |
Transport coefficients for chemical species | Larrein | Main CFD Forum | 0 | January 5, 2016 16:57 |
UDF carbon conversion | papteo | Fluent UDF and Scheme Programming | 1 | August 18, 2011 08:32 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Species diffusion coefficient | iceabc | FLUENT | 1 | June 10, 2004 11:04 |