24小时热门版块排行榜    

查看: 636  |  回复: 0

lajiiwang

金虫 (小有名气)

[求助] R22制冷剂的质量分数和摩尔分数不是都应该等于1 吗?

R22的质量分数为1,调用Refprop的XMOLE(zkg,z,wm),为啥得到结果 ZKG,Z,WM        1.0000     0.0000    86.4680
为啥摩尔分数为0?
请高手们帮帮忙

c       Units are K, kPa, mol/dm^3, mole fraction, J/mol, J/mol-K, m/s
c       uPa-s, W/m-K, N/m

      program test50
      implicit double precision (a-h,o-z,l)
      implicit integer (i-k,m,n)
      parameter (ncmax=1)   !max number of components in mixture
      dimension zkg(ncmax)
      character hrf*3, herr*255
      character*255 hf(ncmax),hfmix

c...Call SETUP to initialize the program and set the pure fluid component name
c...For a mixture, use the following setup instead of the lines above.
      i=1
      hf(1)='..\fluids\R22.FLD'
      hfmix='..\fluids\HMX.BNC'
      hrf='DEF'
      call SETUP (i,hf,hfmix,hrf,ierr,herr)
      if (ierr.ne.0) write (*,*) herr

c    To input mass fraction of composition
      zkg=1.0d0   

c    Converts mass fraction to mole fraction
          call XMOLE(zkg,z,wm)
      write (*,100) 'ZKG,Z,WM   ',zkg,z,wm

100   format (1x,a22,5f11.4)

      end
回复此楼

» 猜你喜欢

制冷计算
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 lajiiwang 的主题更新
信息提示
请填处理意见