@NilsBerglund
  @NilsBerglund
Nils Berglund | Martian weather #mars #terraformingmars @NilsBerglund | Uploaded June 2024 | Updated October 2024, 3 minutes ago.
In this simulation, we assume that Mars has been terraformed, creating an ocean that covers a large part of the northern hemisphere, as well as a sea in the Hellas basin.
The video shows a simulation of the compressible Euler equations on Mars, as a very simplified model for the weather. The main effect of the land masses is that they slow down the wind speed. The initial state consists in 16 different pressure systems spread over the plane. In addition, a ground state made of westerly winds at intermediate latitudes, and easterlies/trade winds near the equator and the poles has been added to the overall wind pattern.
I'm not claiming this simulation to be a realistic representation of the weather, because many important effects are neglected. However, it does include the Coriolis force, and the pressure systems do rotate in the correct way: High pressure systems rotate clockwise in the northern hemisphere and anticlockwise in the southern hemisphere, while the situation is reversed for low pressure systems. One major limitation is that the density field is too unstable. I suspect this is due to the fact that the speed of sound is way too large in my model equations, and I will try to improve that in future simulations.
The velocity field is materialized by 2000 tracer particles that are advected by the flow.The color hue depends on the air speed. The point of view of the observer is rotating around the polar axis of the sphere at constant latitude.
In a sense, the compressible Euler equations are easier to simulate than the incompressible ones, because one does not have to impose a zero divergence condition on the velocity field. However, they appear to be a bit more unstable numerically, and I had to add a smoothing mechanism to avoid blow-up. This mechanism is equivalent to adding a small viscosity, making the equations effectively a version of the Navier-Stokes equations. The equation is solved by finite differences, where the Laplacian and gradient are computed in spherical coordinates. Some smoothing has been used at the poles, where the Laplacian becomes singular in these coordinates.

Render time: 41 minutes 9 seconds
Compression: crf 23
Color scheme: Viridis, by Nathaniel J. Smith, Stefan van der Walt and Eric Firing
github.com/BIDS/colormap

Music: "On the Island" by Godmode@GODMODEMUSIC

The simulation solves the compressible Euler equation by discretization.
C code: github.com/nilsberglund-orleans/YouTube-simulations

#Euler_equation #fluid_mechanics #mars #weather
Martian weather #mars #terraformingmarsThe rock-paper-scissors-lizard-Spock equation on the sphere, with improved behavior at the polesSmaller interacting kites-and-darts-type moleculesEnergy flux of waves of two different frequencies crossing a diffraction gratingBloopers 18: Numerical blow-up in the shallow water equation on the sphereNon-coherent waves of higher frequency in a magnetron-shaped resonatorExciting resonant modes in a circle, with fewer sources than cavitiesA laminar flow over an immersed dodecahedronWaves of two different frequencies crossing a hexagonal latticeGrowth of a mono-quasicrystal from pentagonsWaves in shallow water with cube-like symmetry on the sphereVortex dynamics on the sphere with weaker Coriolis force

Martian weather #mars #terraformingmars @NilsBerglund

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER