Modelling the sublimation of dry ice
Show older comments
UPDATE: I previously posted about modeling the sublimation of dry ice, and I am now working on automating the process by introducing water into the tank through a perforated pipe to enhance sublimation. However, I am encountering the following error:
"Nonlinear solver: failed to converge, residual norm too large."
I am unsure how to resolve this issue and would appreciate any guidance on how to correct it.
3 Comments
Yifeng Tang
on 4 Feb 2025
I couldn't run your model as it's missing the parameter definition. But by visual inspection, I believe you'll at least need a pipe or flow resistance between the two tanks. These ports from the tank will have the pressure inside the tank, and the model in its current form is forcing the pressure of the liquid to be the same. Tank (TL) is set up to be at atmosphere, and can be in conflict with the gas pressure in the Tank (G-TL).
Kyle
on 5 Feb 2025
Yifeng Tang
on 6 Feb 2025
Quick fix: add a reservoir to the B port of the check valve.
The model will still run out of water (level below inlet). This is because CO2 is being added to the Tank, so the air pressure increases. The higher pressure will push the water out, into the atmospheric tank. Unless the pump adds enough water to offset that, you'll run out of water no matter what.
I don't know how to fix this in the model, because I don't know what the actual system is like. Does the CO2/air pressure increase in the actual system? Does that pressure push water out? How in real life the water is kept at a certain level?
Accepted Answer
More Answers (0)
Categories
Find more on Gas Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!