Skip to content

Commit

Permalink
Bug fix in zero-density limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schmitt committed Jan 11, 2024
1 parent 1a4a32c commit 3542a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# EntropyScaling

This is an implementation of the general entropy scaling framework introduced in
This is an implementation of the entropy scaling framework introduced in

[S. Schmitt, H. Hasse, S. Stephan, **Entropy Scaling Framework for Transport Properties using Molecular-based Equations of State**, *Journal of Molecular Liquids* 395 (2024) 123811.](https://doi.org/10.1016/j.molliq.2023.123811)

Expand Down
2 changes: 1 addition & 1 deletion src/zero_density_limit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function CE_scaled(T::Vector{Float64}, Tc::Float64, pc::Float64, prop::String, B
Ω(T) = prop == "vis" ? Ω_22(T) :
prop == "tcn" ? Ω_22(T) :
prop == "dif" ? Ω_11(T) : error("'prop' must be 'vis', 'tcn', or 'dif'!")
Y_CE⁺(T) = f / (σ_CE^2 * Ω(T/ε_CE*kB)) * ((T[1]*dBdT(T)+B(T))/NA)^(2/3)
Y_CE⁺(T) = f / ((π) * σ_CE^2 * Ω(T/ε_CE*kB)) * ((T[1]*dBdT(T)+B(T))/NA)^(2/3)

# Calculate minimum of Y_CE⁺
TB = nlsolve(x -> B(x[1]),[0.6*Tc]).zero[1] # Boyle temperature
Expand Down

0 comments on commit 3542a42

Please sign in to comment.