CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Molar concentration (https://www.cfd-online.com/Forums/fluent-udf/98734-molar-concentration.html)

rubis March 17, 2012 12:16

Molar concentration
 
hi,
please can you tell me how i can write the molar concentaration (model species ) in udf ,

thank you

Best regards

gearboy March 18, 2012 19:24

Quote:

Originally Posted by rubis (Post 349996)
hi,
please can you tell me how i can write the molar concentaration (model species ) in udf ,

thank you

Best regards

search "partial pressure" in this forum.

byronsmith March 21, 2012 01:01

Hai,
Get the mass fractions of the species (Yi) using the macros[C_YI(c,t,i)] and then convert them into molar concentration using mass fraction * density/molar mass of species. density too can be accessed by the macros.

hope this helps.

with regards,
Byron Smith

rubis March 21, 2012 13:20

Thank you for your help

with regards,


All times are GMT -4. The time now is 05:23.