Comparative Solution Project

 View Only
  • 1.  From mol fraction to weight fraction

    Posted 09-08-2024 03:26 AM

    Dear Dr. Bernd,

    In the code "spe11b_calculate_convection.py" line 84, I think that the conversion from mol fraction to weight fraction is not correct. Instead, it shall be

    Xw_CO2 = (44 * Xm_CO2) / (44 Xm_CO2 + 18 (1-Xm_CO2))

    where Xw is the weight fraction and Xm is the mol fraction.

    Regards - AbdAllah



  • 2.  RE: From mol fraction to weight fraction

    Posted 09-09-2024 01:42 AM

    Hi AbdAllah,

    You're right, thanks for spotting this! I'll update the script as soon as possible.

    Kind regards

    Bernd