Skip to content

Commit

Permalink
Merge pull request #3119 from CliMA/zs/subsidence
Browse files Browse the repository at this point in the history
change boundary condition of subsidence
  • Loading branch information
szy21 authored Jun 27, 2024
2 parents 03fa877 + 47c6042 commit 3b31125
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/abbreviations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ const ᶜadvdivᵥ = Operators.DivergenceF2C(
top = Operators.SetValue(CT3(0)),
)

# Subsidence has zero tendency at the top, and has no flux at the bottom.
# Subsidence has extrapolated tendency at the top, and has no flux at the bottom.
# TODO: This is not accurate and causes some issues at the domain top.
const ᶜsubdivᵥ = Operators.DivergenceF2C(
bottom = Operators.SetValue(CT3(0)),
top = Operators.SetDivergence(0),
top = Operators.Extrapolate(),
)

# Precipitation has no flux at the top, but it has free outflow at the bottom.
Expand Down

0 comments on commit 3b31125

Please sign in to comment.