Neovim as a general-purpose almost-IDE

For a long time I used VSCode as my go-to editor, with a vim keybindings plugin for better editing. However I was never quite happy with the solution: I missed some of the features of native vim, and occasionally VSCode would become very sluggish. This all came to a head when I was working on a Matlab project, and the syntax highlighting plugin would cause the editor to lag horribly on files with anything more than 100 or so lines of code.

Optimisation of a FLIP Fluids solver

In spring 2021 I joined forces with three classmates, and as part of the ETH lecture “Advanced Systems Lab” we revisited the FLIP Fluids Solver project from two years prior. The goal this time was to optimise the code using the skills acquired in this lecture and improve the time required to run a simulation.

xclip reference: copy-to-clipboard CLI

xclip is a nifty little utlity to make working in the terminal just a little more comfortable. It allows you to copy the contents of files or the output of other programs to the clipboard. Here are some use cases: xclip myfile.txt # Copy file to clipboard ls -l | xclip # Copy program output

Project EULER: supersonic sounding rocket

In the academic year 2019-2020 I joined ARIS Space, the student association for space in german Switzerland. There I joined team EULER, whose mission statement was to build a sounding rocket for the 2020 Spaceport America Cup competition which would reach the target apogee of 30,000 feet (9.144 km) with as much precision as possible.

BSc Thesis in Computational Fluid Dynamics

My Batchelor’s Thesis was titled “Comparative study of density-based versus pressure-based solvers for supersonic flow”. The idea of the thesis stemmed from my work at ARIS, where one of the natural questions that arose was which solver would be best for my use case: simulating the aerodynamics of a supersonic sounding rocket. Under the supervision

Meshing with OpenFOAM

Before running any CFD simulations we need to generate a mesh around our geometry to perform calculations on. This page is meant to document the standard process we use to generate this mesh for ARIS rockets. Inputs: Geometry exported from some CAD software in named STL format. The sample OpenFOAM case folder (ofcase_heidi_fullbody_meshing) Outputs: 3D

Automatic plotting with Python

Below is a sample Pyhton script to automatically plot a generic data file using matplotlib. It will automatically read an arbitrary number of datasets from a file and plot each as a separate line in a matplotlib plot. Usage python3 input_data_filename output_filename [plot_title [y_axis_label]] The first argument is the name of the file containing