Philip MoczinLevel Up CodingCreate Your Own Automatically Differentiable Simulation (With Python/JAX)In today’s recreational coding exercise, we create an automatically differentiable simulation using JAX. Automatic differentiation…Jun 73Jun 73
Philip MoczinLevel Up CodingCreate 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
Philip MoczinLevel Up CodingCreate 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
Philip MoczinLevel Up CodingCreate Your Own Superconductor Simulation (With Python)In today’s recreational coding exercise, we will look at an equation for superconductors, in particular, the time-dependent complex…Aug 6, 20231Aug 6, 20231
Philip MoczinLevel Up CodingCreate 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
Philip MoczinLevel Up CodingCreate Your Own Artificial Neural Network for Multi-class Classification (With Python)In today’s recreational coding exercise, we will build an Artificial Neural Network from scratch and train it to classify galaxies. In…Jul 23, 20231Jul 23, 20231
Philip MoczinLevel Up CodingCreate Your Own Nested Sampling Algorithm for Bayesian Parameter Fitting and Model Selection (With…In today’s recreational coding exercise, we learn a more advanced and robust Monte Carlo approach for model parameter fitting, which also…Jun 8, 2023Jun 8, 2023
Philip MoczinLevel Up CodingCreate Your Own Metropolis-Hastings Markov Chain Monte Carlo Algorithm for Bayesian Inference (With…In today’s recreational coding exercise, we learn how to fit model parameters to data (with error bars) and obtain the most likely…May 15, 20233May 15, 20233
Philip MoczinLevel Up CodingCreate 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