Chestermiller said:
Sure. Also, why don't you try a test where the mass transfer is totally shut off (say by setting the mass transfer coefficient equal to zero for each of the two species). This should result in just a temperature change advancing through the bed.
Ah ok interesting so I ran that model for the single tank and multi tank (3 tank) scripts. Here's the gas temperature output for both.
Single tank:
3 tank:
Notes:
1) The script will run for any time span. With the non zero mass transfer coefficients it 'broke' at about 600s
2) The temperature trends look generally as expected. The single tank script almost exactly matches the first tank in the multi tank script (not exactly but close)
The gas phase mole fractions for H2O and CO2:
Notes:
1) 0.1 and 0.01 are the inlet mole fractions of CO2 and h2o respectively, so this plot shape makes sense (with non constant heat transfer coefficients the CO2 fraction weirdly went up to 0.15)
2) The rise to the inlet conditions is almost immediate. I'm not sure if this is expected, or if this would take time. I guess an immediate jump seems reasonable though since we're effectively flushing the bed?
Do these plots seem reasonable to you?
This does narrow it down to the mass transfer coefficient related variables that are causing the script to break. And more specifically it might be the liquefaction/sublimation pressure equations as an initial guess
Also, do you know of another simplification I can make (besides mass transfer coefficient = 0) that would possibly uncover some useful information?
Edit: No, just thinking about the mole fraction graph some more, I don't think this graph makes sense. Hmm so upstream of the frozen plug we will see the inlet conditions in the gas phase (10% co2, 1% h2o), downstream of the plug we will see 0% co2/h2o. At the exit of the bed the trend will be that there will be 0% co2/h2o present in the gas phase, except for when the plugs reach the exit, there will be a temporary spike in the gas phase mole fractions (above 10% and 1%), then it will reduce to the inlet conditions again and remain here infinitely
Oh one other question - the summation term (the last term in the gas phase mole balances), is this term the sum of the molar desublimation/liquefaction rates of CO2 and H2O? Or say in the CO2 mole balance is it just the H2O liquefaction rate that goes in here i.e. we don't account for CO2 desublimating twice in the same equation?