Skip to content

Commit 996eaee

Browse files
szy21navidcy
andauthored
Replace q_vap_saturation_from_density with q_vap_from_p_vap (#653)
* Replace q_vap_saturation_from_density with q_vap_from_p_vap * Update Thermodynamics package version to 0.15 --------- Co-authored-by: Navid C. Constantinou <[email protected]>
1 parent a8f8f66 commit 996eaee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Scratch = "1"
6767
SeawaterPolynomials = "0.3.5"
6868
StaticArrays = "1"
6969
Statistics = "1.9"
70-
Thermodynamics = "0.14"
70+
Thermodynamics = "0.15"
7171
ZipFile = "0.10"
7272
julia = "1.10"
7373

src/OceanSeaIceModels/InterfaceComputations/interface_states.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ end
7373
ρₛ = convert(CT, ρₛ)
7474
phase = formulation.phase
7575
p★ = Thermodynamics.saturation_vapor_pressure(ℂₐ, Tₛ, phase)
76-
q★ = Thermodynamics.q_vap_saturation_from_density(ℂₐ, Tₛ, ρₛ, p★)
76+
q★ = Thermodynamics.q_vap_from_p_vap(ℂₐ, Tₛ, ρₛ, p★)
7777

7878
# Compute saturation specific humidity according to Raoult's law
7979
χ_H₂O = compute_water_mole_fraction(formulation.water_mole_fraction, Sₛ)

0 commit comments

Comments
 (0)