Skip to content

Commit 75b6b04

Browse files
committed
introduce hard coded exner near surface pressure
1 parent 846353f commit 75b6b04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Thermodynamics/atmosphere_thermodynamics.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,11 @@ end
318318
Rᵐ = mixture_gas_constant(state.q, thermo)
319319
cᵖᵐ = mixture_heat_capacity(state.q, thermo)
320320
inv_ϰᵐ = Rᵐ / cᵖᵐ
321+
321322
pᵣ = reference_pressure(state.z, ref, thermo)
322323
FT = eltype(pᵣ)
323-
pₑ₀ = convert(FT, 1e5) # hard-coded for now
324+
pₑ₀ = convert(FT, 1e5) # "exner surface reference pressure" -- hard-coded for now
325+
324326
return (pᵣ / pₑ₀)^inv_ϰᵐ
325327
end
326328

0 commit comments

Comments
 (0)