Layered ocean model implemented in Julia and compiled to WASM.

0 1020 1030

This simulation shows a vertical section of a layered ocean model where every layer has the density indicated by the density profile to the left (blue, kg/m³). The density must increase with depth. Mode 1 is the barotropic mode, mode 2, the first baroclinic mode and so on. By changing the initial perturbation, the model is restarted. The vertical structure of the normal mode is shown in orange.

Things to try:

More information and the code is available at: https://github.com/Alexander-Barth/FluidSimDemo-WebAssembly.