You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on computing bulk properties of mixtures during an isobaric process in the two-phase region. The bulk properties typically "glide" between the bubble point and dew point due to non-isothermal phase change.
Currently, Clapeyron.jl computes the bulk property in a stable state (e.g., entropy) using the following function:
function entropy(model::EoSModel, p, T, z=SA[1.]; phase=:unknown, threaded=true, vol0=nothing)
V = volume(model, p, T, z; phase, threaded, vol0)
return VT_entropy(model, V, T, z)
end
My understanding is that it computes the Gibbs energy and returns the branch with the lowest Gibbs energy (hence returning the volume), but this does not account for the "glide" behavior.
I have been using linear interpolation between the bubble and dew points as a workaround, but I am looking for a more accurate solution.
Example:
I am unsure how to incorporate the glide behavior correctly.
My guess for now is finding the volume of gas and liquid phase and interpolating the property with it but it is not completely clear to me yet.
Is there a way to achieve this within Clapeyron.jl?
Thank you for your insights!
Thanking you
Sushrut
The text was updated successfully, but these errors were encountered:
Hello,
I am working on computing bulk properties of mixtures during an isobaric process in the two-phase region. The bulk properties typically "glide" between the bubble point and dew point due to non-isothermal phase change.
Currently, Clapeyron.jl computes the bulk property in a stable state (e.g., entropy) using the following function:
My understanding is that it computes the Gibbs energy and returns the branch with the lowest Gibbs energy (hence returning the volume), but this does not account for the "glide" behavior.
I have been using linear interpolation between the bubble and dew points as a workaround, but I am looking for a more accurate solution.
Example:
I am unsure how to incorporate the glide behavior correctly.
My guess for now is finding the volume of gas and liquid phase and interpolating the property with it but it is not completely clear to me yet.
Is there a way to achieve this within Clapeyron.jl?
Thank you for your insights!
Thanking you
Sushrut
The text was updated successfully, but these errors were encountered: