C and Python examples from my book on using PETSc and Firedrake to solve PDEs
-
Updated
Sep 29, 2026 - C
C and Python examples from my book on using PETSc and Firedrake to solve PDEs
As the field of Computational Fluid Dynamics (CFD) progresses, the fluid flows are more and more analysed by using simulations with the help of high speed computers. In order to solve and analyse these fluid flows we require intensive simulation involving mathematical equations which governs the fluid flow, these are Navier Stokes (NS) equation.…
Example solvers for the heat equation
The Numerical Flow Iteration to numerically solve the Vlasov equation
Anisotropic diffusion (Perona–Malik diffusion) for reducing image noise without removing significant parts of the image content.
This repository contains C source codes for numerical simulation of Cahn-Hilliard equation incorporating composition-dependent variable mobility.
1D Wave Equation Discretized using Finite Differences and Solved via Parallelizing the Jacobi Method with MPI
Simplified Coupled Atmosphere-Wildfire Model
Julia package: exact solver for Riemann problems of ideal magnetohydrodynamics (MHD), following Torrilhon (2002)
Solution to Burger's Equation (inviscid), written in C, using Adams-Bashforth Methods. These methods include the one, two, and three step algorithms.
Stages CSMI 2021 site
Software and Data Associated with "Understanding Fast Adsorption in Single-Solute Breakthrough Curves"
Run a Neural Amp Modeler capture in real time on an RP2350 microcontroller using this codebase.
C-based solution of an elliptic PDE by finite difference method
just a simple example project showcasing the usage of Eigen for solving the Laplace equation on a 2d grid, and its usefulness.
2D Heat Equation for a Square Plate. Solution found by Iterating through the System Algebraic Equations via the OpenMP API
A side-project during the partial differential equations class in the fall of 2023. Allows to set initial conditions interactively via a simple mouse-driven interface, and observe how waves propagate in response.
1D linear advection solved with explicit finite differences in C, verified against the exact traveling wave, and analyzed in Python.
1D linear advection equation solved with a first-order upwind finite-difference scheme in C, with exact-solution error norms and fixed-CFL grid convergence.
To associate your repository with the partial-differential-equations topic, visit your repo's landing page and select "manage topics."