|
[Sponsors] |
May 21, 2013, 02:56 |
Eagerly need your help, please
|
#1 | |
Member
刘峰
Join Date: Mar 2013
Posts: 31
Rep Power: 13 |
Hi, everyone.
I want to know who has experience in using macro DEFINE_HET_RXN_RATE( name,c,t,r,mw,yi,rr,rr_t)? I have such a problem: In the help document of FLUENT, the illustration of variables mw[][] and yi[][] confused me. HTML Code:
real mw[MAX_PHASES][MAX_SPE_EQNS] Matrix of species molecular weights. mw[i][j] will give molecular weight of species with ID j in phase with index i. For phase which has fluid material, the molecular weight can be accessed as mw[i][0]. real yi[MAX_PHASES][MAX_SPE_EQNS] Matrix of species mass fractions. yi[i][j] will give mass fraction of species with ID j in phase with index i. For phase which has fluid material, yi[i][0] will be 1. An example is shown in help which is about simulating evaporation or condensation on the surface of droplets and there are such two sentences Quote:
You all know, in mixture setting, we can arrange the order of species. Default id for the first specie is 0, but for phase setting, primary phase id obviously is not 0 but 2. So I am confused about. I hope someone can help me. |
||
February 27, 2019, 03:20 |
|
#2 |
Member
Join Date: Apr 2017
Location: india
Posts: 96
Rep Power: 9 |
can u kindly post your final code............this will be really useful for people who r working in this area...........KINDLY DO SO
|
|
Tags |
heterogeneous reaction, index of phase |
|
|