-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forcing and drag for the ShallowWaterModel #376
Conversation
@ningliu-iga with this PR we can use the ShallowWaterModel for very long integrations, the forcing provides an energy input into the system, the drag removes it. Running it for O(years) seems like we're getting a stable climatology with turblence plus a bunch of Rossy waves that travel along the jet streams on both hemispheres. Shown is day 100 to day 200. out.mp4@maximilian-gelbrecht I think we talked about a climatology in the ShallowWaterModel before, this PR addresses this. |
Run with spectral_grid = SpectralGrid(trunc=85,nlev=1)
quadratic_drag = SpeedyWeather.QuadraticDrag(spectral_grid,c_D=1e-5)
jet_stream_forcing = SpeedyWeather.JetStreamForcing(spectral_grid)
model = ShallowWaterModel(;spectral_grid,drag=quadratic_drag,forcing=jet_stream_forcing,initial_conditions=StartFromRest())
simulation = initialize!(model)
run!(simulation,n_days=100,output=true) |
fixes #151
which only depends on latitude$\theta$ and mimics a jet stream in mid-latitudes that sits above the shallow water layer.
(6h after starting from rest, the perturbations are from orography)
with a drag coefficient$c_D$ and the shallow water layer thickness $H$ .