Collin
Wittenstein

TURNING MATH INTO FAST CODE

Visiting Student @ MIT | JGU Mainz

About Me

Hi, my name is Collin. In my research, I use clever mathematics and clever coding to make PDE simulations go brrrr.

More practically, I work across the computational pipeline for solving partial differential equations. This means for example deriving structure-preserving numerical methods, implementing them and making sure everything runs fast on both CPUs and GPUs.

Right now I'm a visiting student @ MIT (Fall 2025–Spring 2026) working with Robert Metcalfe and Alan Edelman on GPU-accelerated simulations of geothermal well arrays. Back home at Johannes Gutenberg University Mainz, Germany, I'm finishing up dual master's degrees in Physics and Computational Sciences, building on my bachelor's in Physics and Mathematics.

One thing I really enjoy about my work is how varied the problems are. In the past couple years I've worked on weather simulations, the counterintuitive rattleback dynamics, water wave modeling, and now geothermal energy systems. Keeps things interesting.

Contact

Fell free to reach out to me: cwittens@mit.edu.

Collin Wittenstein Easter Egg

Publications

Loading publications from Google Scholar...

Research &
Projects

Geothermal Well Simulations

Deep borehole heat exchangers extract geothermal energy by circulating fluid through closed-loop pipes that extend several kilometers into the Earth. This sounds nice, but simulating them is unfortunately not easy: you're dealing with multi-scale geometry where boreholes are centimeters wide but kilometers deep, and you need to simulate years to decades of operation to understand thermal performance. For arrays of multiple wells interacting thermally over these timescales, it was traditionally thought that a fully three-dimensional simulation of the arrays would be computationally unfeasible. Luckily for me I didn't know this before starting to work on the project.

So, I developed a GPU-accelerated three-dimensional model simulating geothermal well arrays. The key innovation is an operator splitting strategy tailored to the problem's physics. Vertical diffusion gets stabilized explicit Runge-Kutta-Chebyshev methods, horizontal diffusion gets ADI schemes, advection gets semi-Lagrangian treatment. Each operator handled by whatever works best for it - sounds obvious in hindsight, but figuring out this combination took a while.

I released this as the open-source Julia package GeothermalWells.jl, using vendor-agnostic GPU kernels that run on both NVIDIA and AMD hardware. Full three-dimensional simulations of multi-well arrays over decades can now run on a single GPU, enabling systematic design space exploration and optimization of geothermal well systems. Supervised by Prof. Dr. Alan Edelman, Prof. Dr. Robert Metcalfe, and Prof. Dr. Hendrik Ranocha.

GeothermalWells.jl

Water Wave Simulations

I worked on dispersive shallow water equations. The following visualization shows the evolution of a wave over Gaussian bathymetry, using the hyperbolic approximation of the Serre–Green–Naghdi equations in two dimensions. The simulation employs a new energy-conserving semi-discretization that maintains physical properties over long time integrations. I also worked quite a bit on DispersiveShallowWater.jl, a Julia package that implements structure-preserving numerical methods for one-dimensional dispersive shallow water models. Supervised by Prof. Dr. Hendrik Ranocha.

Rattleback Simulation

For my (maths) bachelor thesis, I simulated the movement of the rattleback (German: Wackelstein), a semi-ellipsoid with an inhomogeneous mass distribution that exhibits quite counterintuitive behavior: it can spontaneously reverse its spinning direction. This phenomenon defies intuition but follows directly from the solutions of its equations of motion. Supervised by Prof. Dr. Hendrik Ranocha and Univ.-Prof. Dr. Elmar Schömer.

Rattleback with turtle weights

Image: Ed Keath, CC BY-SA 3.0, via Wikimedia Commons

For this work, I received the best bachelor's thesis in mathematics of the year award.

Open Source
Contributions

I like to contribute to the Julia open-source community. Here are some of my contributions to other people's repos.

Loading contributions from GitHub...

Curriculum Vitae

For my full CV as PDF:

View PDF

Academic Background

Visiting Student, MIT (Sep 2025–May 2026)
Master Thesis Research with Prof. Alan Edelman and Prof. Robert Metcalfe

Johannes Gutenberg University Mainz (Oct 2019–May 2026)

  • M.Sc. Computational Sciences — Grade 1.0 (US GPA: 4.0)
  • M.Sc. Physics — Grade 1.1 (US GPA: 3.9)
  • B.Sc. Mathematics — Grade 1.2 (US GPA: 3.8)
  • B.Sc. Physics — Grade 1.3 (US GPA: 3.7)

Teaching

Teaching Assistant, Theoretical Physics (2021–2023)

  • Quantum Mechanics (Summer 2023)
  • Classical Mechanics (Summer 2022)
  • Special Relativity and Electrodynamics (Winter 2021)

Awards & Honors

Service & Leadership

  • Student Representative, Examination Board (2024–present) — Sole student rep for Computational Sciences, JGU Mainz
  • Co-founder & Vice Chair, Klimaliste Rhineland-Palatinate (2020–2021) — Led climate organization with 200+ members; featured in Teen Vogue and The Guardian
  • Organizer, Fridays for Future (2019–2021) — Organized climate protests with up to 12,000 participants

Reading

I enjoy reading. I feel like social media kills your attention span, whereas books do the opposite.
And, is there anything nicer than recommending a book and having someone not only read, but actually enjoy it??
Anyway, here are some of my book recs:

The Covenant of Water
Abraham Verghese
A family saga across three generations in Kerala, following a mysterious affliction that passes through the family line. Beautifully written.
Roses would be annoying weeds if the blooms never withered and died. Beauty resides in the knowledge that it doesn't last.
Use arrow keys or click arrows to turn pages • Press 'S' to shuffle