Skip to content

Commit

Permalink
Add clima parameters needed for TC.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Jul 27, 2021
1 parent 8daafc0 commit c36cfd5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Planet/Planet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export molmass_dryair,
e_int_i0,
press_triple,
surface_tension_coeff,
entropy_dry_air,
entropy_water_vapor,
standard_temperature,
ρ_ocean,
cp_ocean,
planet_radius,
Expand Down Expand Up @@ -114,6 +117,23 @@ function e_int_i0 end
function press_triple end
""" Surface tension coefficient of water (J/m2) """
function surface_tension_coeff end
""" Surface tension coefficient of water (J/m2) """
function surface_tension_coeff end

#=
The standard entropy value for dry air is computed based
on the reference data given in Lemmon et al. [2000], and
the standard entropy value for water vapor is based on the
reference data given in Chase [1998].
=#

""" Entropy of dry air J / (kg K)"""
function entropy_dry_air end
""" Entropy of water vapor J / (kg K)"""
function entropy_water_vapor end
""" Standard temperature (K)"""
function standard_temperature end


# Properties of sea water
""" Reference density sea water (kg/m``^3``) """
Expand Down
4 changes: 4 additions & 0 deletions src/Planet/planet_parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Planet.e_int_i0(ps::AbstractEarthParameterSet) = Planet.LH_f0(ps)
Planet.press_triple(ps::AbstractEarthParameterSet) = 611.657
Planet.surface_tension_coeff(ps::AbstractEarthParameterSet) = 0.072

Planet.entropy_dry_air(ps::AbstractEarthParameterSet) = 6864.8
Planet.entropy_water_vapor(ps::AbstractEarthParameterSet) = 10513.6
Planet.standard_temperature(ps::AbstractEarthParameterSet) = 298.15

# Properties of sea water
Planet.ρ_ocean(ps::AbstractEarthParameterSet) = 1.035e3
Planet.cp_ocean(ps::AbstractEarthParameterSet) = 3989.25
Expand Down

0 comments on commit c36cfd5

Please sign in to comment.