SpeedyWeather / SpeedyWeather.jl

Play atmospheric modelling like it's LEGO.
https://speedyweather.github.io/SpeedyWeather.jl/dev
MIT License
400 stars 24 forks source link

Surface fluxes calculated from previous time step #542

Closed milankl closed 1 month ago

milankl commented 1 month ago

Similar to #541 this calculates surface fluxes from previous and not current time step for numerical stability with leapfrog scheme. This also seems to make the flux limiters largely unnecessary, so I've just increased them somewhat and it seems to work well! Maybe we could get rid of them entirely, but leaving them in for now.