-
-
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
Amine Ben Hadj Ali
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 -
June 14, 2023 at 10:55 am
AK AK
Subscriberi have a concentration 40,000 ppm of CO2 in cabin of volume 3.4 m^3 ,how to convert to mass or mole fracti
on??
-
June 14, 2023 at 12:53 pm
Rob
Forum ModeratorI find Google/Wiki/books to be very good for this sort of thing.Â
-
June 15, 2023 at 9:09 am
AK AK
Subscriberhow to define these initial conditions in ansys ??
shall i add source term in cell zone condition?
Â
-
June 15, 2023 at 11:02 am
Rob
Forum ModeratorInitial conditions are set in the Initialisation step. You may find you need to review which of Standard or Hybrid is best suited, but also check Patch. We may want to let the solver calculate some values from a boundary but then pre-set something else (species or phase) via patch.Â
A source term is the equivalent to a boundary condition and so will govern how the solution progresses/ends.Â
-
- The topic ‘Mass Fraction to PPM’ is closed to new replies.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- I am doing a corona simulation. But particles are not spreading.
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
3862
-
1414
-
1220
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.