InLevel Up CodingbyPhilip MoczCreate Your Own Finite Difference Wave Equation Simulation (With Python)In today’s recreational coding exercise, we will simulate the Wave Equation with the Finite Difference method. We will consider a setup of…Aug 28, 2023Aug 28, 2023
InLevel Up CodingbyPhilip MoczCreate Your Own Riemann Solver (With Python)In today’s recreational coding exercise, we create an exact Riemann Solver for the Euler equations. The solver finds the solution for the…Aug 13, 20231Aug 13, 20231
InLevel Up CodingbyPhilip MoczCreate Your Own Navier-Stokes Spectral Method Fluid Simulation (With Python)For today’s recreational coding exercise, we solve the Navier-Stokes equations for an incompressible viscous fluid. To do so, we will…Aug 4, 20236Aug 4, 20236
InLevel Up CodingbyPhilip MoczCreate Your Own Constrained Transport Magnetohydrodynamics Simulation (With Python)In today’s recreational coding exercise, we will simulate the Orszag-Tang vortex — a demonstration of supersonic 2D magnetohydrodynamics…Apr 19, 2023Apr 19, 2023
Philip MoczCreate Your Own Finite Volume Fluid Simulation (With Python) Part 2: Boundary Conditions & Source…For today’s recreational coding exercise, we will expand on the Finite Volume method for simulating the compressible fluid equations. We…Dec 12, 20211Dec 12, 20211
Philip MoczCreate Your Own Direct Simulation Monte Carlo (With Python)For today’s recreational coding exercise, we learn how to simulate dilute gas with the Direct Simulation Monte Carlo (DSMC) method. This…Feb 5, 20212Feb 5, 20212
InThe StartupbyPhilip MoczCreate Your Own Lattice Boltzmann Simulation (With Python)For today’s recreational coding exercise, we simulate fluid flow past a cylinder using the Lattice Boltzmann method. This is a really cool…Dec 21, 20206Dec 21, 20206
InLevel Up CodingbyPhilip MoczCreate Your Own Finite Volume Fluid Simulation (With Python)For today’s recreational coding exercise, we will simulate the Kelvin-Helmholtz Instability with the Finite Volume method. We will…Oct 1, 20204Oct 1, 20204
Philip MoczCreate Your Own Smoothed-Particle Hydrodynamics Simulation (With Python)For today’s recreational coding exercise, we will simulate a star with smoothed-particle hydrodynamics (SPH). We will start with some…Sep 19, 20204Sep 19, 20204