-
-
August 14, 2018 at 3:04 am
Carly
SubscriberHey
I want to convert from mass fraction of a species into PPM in a UDF or custom field function. I saw many define it as mass fraction x 10^6 while others define it as mass fraction x density of mixture x 10^6 / density of species. Would you please let me know which one is correct or if there is another way. Thanks -
August 14, 2018 at 7:51 am
DrAmine
Ansys EmployeeYou need to stick to one of the definitions from the literature: ppm mole or ppm weight or ppm volume or..... All definitions are correct you need to select one which fits your needs. You have to make that decision!
-
August 14, 2018 at 3:31 pm
Dino
SubscriberIf volume: PPM = mass fraction * density_mix * 10^6 / density_species
If weight: PPM = mass fraction * 10^6
If mole: PPM = mass fraction * 10^6 * MW_mix / MW_species
In UDF: you can access the mass fraction via C_YI(c, t, i) where i is the species index. C_R(c, t) for the density of the mixture. I did not need to call the molecular weight (MW) before so I am not sure how to access it through the UDF. Hope this helps.
-
December 21, 2020 at 9:58 am
jacklien
SubscriberI suggest to use ppm to percent calculatornn
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2524
-
2066
-
1279
-
1096
-
457
© 2023 Copyright ANSYS, Inc. All rights reserved.