mesh reading

Complete walkthrough: Adding CMake to an existing library

In this article, we will explore how we can take two libraries we have developed before on this website (namely the linear algebra solver library and the mesh reader library) and add CMake scripts to them to fully automate the compilation and deployment stages from configuring the project to compilation, testing, documentation generation, installation, and …

Complete walkthrough: Adding CMake to an existing library Read More »

How To Test A CGNS-based Mesh Reading Library Using gtest

In this article, we extend our knowledge on how to integrate gtest into our mesh reading library using the CGNS data format for structured and unstructured grids that we developed in a previous series. We will rewrite the unit tests that we have already written using our own primitive testing framework and highlight how gtest …

How To Test A CGNS-based Mesh Reading Library Using gtest Read More »

How to read a multi-block unstructured mesh from a CGNS file

In this article, we continue developing our CGNS mesh reader library and implement the unstructured mesh reading class to complement our structured mesh reading class developed in the previous article. There are a few similarities between reading a structured and unstructured grid, and where that is the case, I will go through the code a …

How to read a multi-block unstructured mesh from a CGNS file Read More »

How to read a multi-block structured mesh from a CGNS file

In this article, we extend the work we have done in the previous article, where we have set up the basic library structure of our mesh reading library and started to provide an initial implementation of the base class. Specifically, we add a class that can read a multi-block structured mesh from a CGNS file. …

How to read a multi-block structured mesh from a CGNS file Read More »