Skip to content

Commit

Permalink
Zero diffusivity at boundary edges
Browse files Browse the repository at this point in the history
Explicitly sets diffusivity to zero at boundary edges, instead of just
waterFluxDiff
  • Loading branch information
alexolinhager authored and matthewhoffman committed Feb 12, 2024
1 parent ceadbf9 commit 4e72eaa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,7 @@ subroutine calc_edge_quantities(block, err)
endif
end do
where (waterFluxMask == 2)
diffusivity = 0.0_RKIND
waterFluxAdvec = 0.0_RKIND
waterFluxDiffu = 0.0_RKIND
waterVelocity = 0.0_RKIND
Expand Down

0 comments on commit 4e72eaa

Please sign in to comment.