We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

what is exactly the unit of molar mass in UDF?

    • Weiqiang Liu
      Subscriber

      Hi all,


      I want calculate my own mass diffusion coefficients with UDF. In the UDF, I need to calculate molecular diffusion coefficients of species according to the equations in ansys theory manual such as below:



      however, I do not know what is the right unit in this equation. For example, the unit for Mw,i is g/mol , kg/mol or kg/kmol. Or the unit of pressure is Pa or bar? 


      Best 


      Weiqiang.

    • Amine Ben Hadj Ali
      Ansys Employee
      Pressure is in Pascal. If you know now the unit of the diffusion coefficient you get the one of molar mass. Diffusion is generally provided in kg/ms check the references literature of Chapman.
    • Weiqiang Liu
      Subscriber

      Hi Amine,


      I checked the user guide for fluent. I found that in the equation of calculating binary diffusion coefficient, unit of molar mass is kg/kmol. However, in the equation of calculating kundsen diffusion coefficients, unit of molar mass is kg/mol.


      Best.


      Weiqiang

    • Amine Ben Hadj Ali
      Ansys Employee

      So this topic is solved? Which Knudsen are you talking about?

    • Weiqiang Liu
      Subscriber


      Hi Amine, above is the definition I got from wiki and the unit of molar mass is kg/mol. I read UDF manual of fluent and it tells me all unit is SI. However, somebody told me that the unit of molar mass fluent uses is kg/kmol. I am really confused.

    • Amine Ben Hadj Ali
      Ansys Employee

      But you are working with Fluent. I do not understand the Knudsen issue. Molar weight in kg/kmol.

    • Weiqiang Liu
      Subscriber

      yes, if I do some dimensional analysis, I can verify that the unit of molar mass is kg/mol. My confusion is what is the unit fluent solver passes to UDF. 


      Best regards


      Weiqiang

    • Amine Ben Hadj Ali
      Ansys Employee
      As you cannot believe what already mentioned make a simple test by just saving molecular weight into UDMI or print it for a particular species or all species.
    • Weiqiang Liu
      Subscriber

      I am trying this way. Thanks very much!

Viewing 8 reply threads
  • The topic ‘what is exactly the unit of molar mass in UDF?’ is closed to new replies.