Tom-Robin Teschner

Advanced CMake features to power up your CFD development

In this article, we look at some more advanced concepts in CMake that will help you automate your build process from start to end. We first look at programming with variables, conditional statements, and loops, and then look at functions and macros, configure files, generator expressions, and finally policies. If you master these concepts, you …

Advanced CMake features to power up your CFD development Read More »

How to use Makefiles to automate CFD solver compilations

In this article, we take a look at automating the software build stage using build and systems. We look at what options are available to us and why CMake, in particular, stands out as the most suitable choice for build automation. It enjoys the largest user base among all build systems, and chances are that …

How to use Makefiles to automate CFD solver compilations Read More »

How to manage uncertainty in CFD: the grid convergence index

CFD simulations are riddled with errors and uncertainties that we have to manage as CFD practitioners. The most commonly used technique to establish trust in our simulations is a grid convergence study, where the so-called grid convergence index is calculated. This value provides us with a measure of the mesh-induced uncertainty and, in many cases, …

How to manage uncertainty in CFD: the grid convergence index Read More »

Can ChatGPT write fully functional CFD solvers?

In this article, we’ll explore ChatGPT’s capabilities to write CFD solvers from scratch. We’ll explore two types of applications: a simple model equation commonly used to study numerical schemes and a 2D CFD solver that hard-codes initial and boundary conditions but otherwise implements enough logic to be classified as a fully functioning CFD solver. We …

Can ChatGPT write fully functional CFD solvers? Read More »

How to annotate C++ code for automatic code documentation

In this article, we look at how we can annotate our code so it can be picked up by a documentation tool to provide automatic code documentation for us. There are good and bad ways to do this, and unfortunately, more often than not, code documentation is a dreaded task by programmers and is done …

How to annotate C++ code for automatic code documentation Read More »