Urea (CH4N2O) Surface Tension (and other liquidProperties)
Has anyone had any success with the default implementation of urea (CH4N2O in the liquidProperties library). I am trying to inject a urea/water mix as a lagrangian spray and the ReitzDiwakar breakupmodel crashes with a floating point error when trying to update.
I have tracked it down with gdb to the calculation of the Weber number, and the passing 0 for the value of surface tension. If I turn the breakup model off, the simulation does not crash. I also saw the note where a lot of the properties are taken from water. Surface tension is assumed to be constant, so I'm not sure why that would give me zero when mixed with water. I am using the stock sprayFoam solver. You can have a look at the case, which I've hosted at Dropbox: https://www.dropbox.com/s/1jemfe4s00...up.tar.gz?dl=0 |
Some further discussion. I think the problems comes from the calculation of surface tension sigma from the liquidMixtureProperties object:
Code:
Foam::scalar Foam::liquidMixtureProperties::sigma Thanks! |
All times are GMT -4. The time now is 05:44. |