Home
Robert 'Bob' Caddy
Cancel

Boundary Conditions & Testing Data

Boundary Conditions I finished up implementing MHD boundary conditions with some advice from Alwin. To test it I learned the basics of how to use cuda-gdb on the command line which was actually a ...

I/O and Boundary Conditions

Grid & I/O I finished up MHD I/O in Cholla so now cholla can read and write magnetic field variables, set initial conditions, etc. I also added new parameter files for Einfeldt Strong Rarefact...

Cholla I/O

Cholla Initial Conditions (ICs) I modified the Riemann, Constant, and Uniform initial condition functions to support MHD. They’re tested and appear to be working as expected. There was some tricky...

Starting on the Grid

Cholla’s Grid I stared modifying Cholla’s grid to accommodate magnetic fields. So far it’s been reasonably straightforward but I have a lot of questions I still need to figure out answers too. Sad...

Finish HLLD and Automated Testing

HLLD Finalizing I wrote some basic unit tests for the individual functions of the HLLD solver. I think I hit all the edge cases but we’ll find out if something fails later. After that I cleaned up...

HLLD Debugging 3

CUDA Debugger I spent most of a day playing with the cuda-gdb debugger for CUDA code and it’s integration with VS Code. Currently it’s got some pretty significant limitations, it can’t show the co...

HLLD Debugging 2 and Crusher

HLLD Debugging I found the last few bugs in the double star state and so now the HLLD solver passes all tests when operating in the primary (x) direction! The bugs were mostly typos but one test i...

HLLD Debugging

HLLD Debugging This week I was mostly working on debugging the HLLD solver I wrote for Cholla. I found a handful of bugs in the \( L/R \) and \( L^* / R^* \) states and both of those states appear...

HLLD Implementation 2

HLLD Implementation After finishign the HLLD solver through the L/R states last week I spent this week implementing the star and double star states. I used a similar pattern to the L/R states. Thi...

HLLD Implementation

HLLD Prep I found the issue with \( \gamma \) from last week. It turns out I had made a mistake when extracting Athena’s HLLD solver and had turned their \( \gamma - 1 \) variable into just \( \ga...