Commit Graph

9 Commits

Author SHA1 Message Date
Simon Clark 6e197187fc Generalising height
Allowing for variable maximum height of the model, with initial conditions of density and temperature read from US standard atmosphere.
2020-08-10 13:55:54 +01:00
Simon Clark c29c0aa741 Added plotting functionality
Added 2D plots of temperature and velocity for each level and a zonal mean representation
2020-07-08 20:59:08 +01:00
Simon Clark 4a5aa8abbf 3D atmosphere!
Added multiple layers to the atmosphere. These have adjacent radiation exchange but not cross-level exchange, and no vertical momentum calculated. Also tweaked the absorption in different levels of the atmosphere. Differential sections of the code have been generalised for 3D fields
2020-07-01 21:18:16 +01:00
Simon Clark 72247c418d Update toy_model.py
Stream update from 24/6/2020
- Fixed advection
- Fixed coriolis
- Added spinup
- Add time functionality
2020-06-24 21:08:16 +01:00
Simon Clark dd1cd70ee6 Update toy_model.py
Increased spin-up time, decreased resolution
2020-06-17 18:08:38 +01:00
Simon Clark d6f83e4558 Update toy_model.py
Increased heat capacity of all components, resulting in more realistic physics (i.e. no immediate blowup). Also implemented toggle for velocity calculations (now largely redundant). Various other fiddles.
2020-06-17 17:17:11 +01:00
Simon Clark df23337825 Update toy_model.py
Corrected geometric mistake with Coriolis, tidied up optional oceans, changed the order of operation such that all thermal processes take place before updating the pressure
2020-06-15 22:10:59 +01:00
Simon Clark bb6c00a2e5 Update toy_model.py
Fixed geometry of radiative forcing, testing problems with derivatives
2020-06-15 18:24:09 +01:00
Simon Clark 59393eecbb
Add files via upload
First version of toy atmospheric model, currently without working advection!
2020-06-15 16:30:56 +01:00