matrix

How to write a CFD library: The sparse matrix class

In this article, we will first look at why sparse matrices, as found in CFD applications, really need to be stored with an adequate sparse matrix storage format, by looking at some back of the envelop calculations that show that we can save a significant amount of data by using an appropriate storage format. We …

How to write a CFD library: The sparse matrix class Read More »

How to write a CFD library: Basic library structure

In last week’s article, we developed the discretised equation for the 1D heat diffusion equation using the finite volume method. We looked at why we need an implicit time integration technique and why this requires a linear system of equations solver. In this week’s article, we’ll explore how to set up a basic project structure …

How to write a CFD library: Basic library structure Read More »