Atharva Nagarkar



Please refer to the 3rd link I shared above and the corresponding section.

Here, “mw” or in your case “mole_weight” is the pointer to array of species molecular weights. You can simply access the species by using the correct index of the species inside the array. This array is directly passed by Fluent solver to the UDF so all you need is the order in which the specie are defined in Fluent. Accordingly, you can specify the correct index for the species you want.