-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specific heat capacity of water #149
Comments
Hi! Thank you for the nice words! For heat capacities, the output is using extensive units. You can see this by changing the molar amount: julia> using Clapeyron, Unitful
julia> import Unitful: bar, °C, mol
julia> model = SAFTVRMie(["water"]);
julia> isobaric_heat_capacity(model,1bar,25°C,[1.0mol])
75.3275793331559 J K⁻¹
julia> isobaric_heat_capacity(model,1bar,25°C,[2.0mol])
150.65515866633206 J K⁻¹ Some functions which do provide intensive properties are julia> molar_density(model,1bar,25°C)
55344.55768394381 mol m⁻³
julia> mass_density(model,1bar,25°C)
997.047039017707 kg m⁻³ We certainly should try to support the intensive versions of a few of the properties provided in Clapeyron... |
Thanks for the quick reply! I was able to get it to work with
|
Almost forgot! In the case for non-empirical equations of state (I.e. SAFTs or cubics), the ideal contribution doesn't include vibrations and rotations, which leads to significant underestimates of the heat capacity. See below: julia> model = SAFTVRMie(["water"]);�������
julia> isobaric_heat_capacity(model,1e5,298.15)/model.params.Mw[1]
2.948638658240215
julia> model = SAFTVRMie(["water"];idealmodel=ReidIdeal);
julia> isobaric_heat_capacity(model,1e5,298.15)/model.params.Mw[1]
3.663218112417885 |
Hi. Thanks for the excellent and extremely useful package!
I am trying to get a better understanding of querying for properties using
Unitful
but I am uncertain about the units of the results (it says J/K-1 but I am unable to get the expected specific cp even converting from moles:The text was updated successfully, but these errors were encountered: