usnistgov / REFPROP-issues

A repository solely used for reporting issues with NIST REFPROP
26 stars 13 forks source link

H2O: 6.35%, CO2: 3.38%, N2: 72.97%, O2: 17.29% Mixture Transport Properties #183

Closed jafarialireza closed 4 years ago

jafarialireza commented 5 years ago

I would like to calculate the transport properties of a mixture including H2O: 6.35%, CO2: 3.38%, N2: 72.97%, O2: 17.29%. But thermal conductivity and viscosity are not calculated. Could you please guide me on this regard? image

ianhbell commented 5 years ago

REFPROP does not support the calculation of transport properties for mixtures containing water at larger concentrations. An error is returned from the DLL in general:

from ctREFPROP.ctREFPROP import REFPROPFunctionLibrary
import numpy as np

RP = REFPROPFunctionLibrary('D:\Program Files (x86)\REFPROP')
MOLAR_BASE_SI = RP.GETENUMdll(0,'MOLAR BASE SI').iEnum
hFld = 'WATER*CO2*ARGON*N2'

y = [6.35, 3.38, 72.97, 17.29]
zmass = np.array(y)/np.sum(y)
RP.SETFLUIDSdll(hFld)
r = RP.REFPROPdll('', 'PT','VIS;TCX',MOLAR_BASE_SI, 0, 0, 103000, 630+273.15, zmass);
print(r.ierr, r.herr)
print(r.hUnits, r.Output[0:2])

yields

541 [TRNPRP error 541] Transport equations are not available for mixtures with water at molar concentrations greater than 5%.
VIS array('d', [-9999990.0, -9999990.0])
ssb2040 commented 1 year ago

@EricLemmon Has this problem been resolved or is there work around? I was trying to compute the thermal conductivity of a H2O, O2, and N2 gas mixture. The gaseous H2O was 8% mol. frac. and the software output the same error mentioned earlier. Please advise.

EricLemmon commented 1 year ago

We don't have an update for this yet. It requires experimental data in order to fit the parameters necessary to calculate properties. For some systems we can estimate the parameters when the two fluids are similar, but water + cryogens is about as non-ideal as it comes. If you know of experimental data, you could pass them on to Marcia Huber (marcia.huber@nist.gov) and she can evaluate if the data are sufficient to develop the necessary parameters.