Choosing the right programming language for CFD development is crucial for performance. Understand the different types of programming languages in this article
Read articleDiscover why C++ stands out as the top choice for CFD programming. It's compiled, object-orientated, offers rich libraries and tools, and excels at speed.
Read articleLearn the key concepts of memory management in C++, including the stack, the heap, avoiding costly memory copying, and how to make the CPU caches work for you.
Read articleClasses form the basic building block of object-orientated programming. See how they can help us write modular and extendable C++ code when writing CFD solvers.
Read articleExplore why inheritance is the bread and butter of modern C++ design and how it is applied in CFD solvers. Learn about dynamic polymorphism and when to avoid it
Read articleLearn in this article when you should/shouldn't use templates in C++ for your CFD codes. We see how templates relate to inheritance and their use in OpenFOAM.
Read articleOperator overloading is optional but makes our C++ code much more readable. Explore how overloaded operators provide intention-revealing and clean code.
Read articleThe C++ standard template library provides access to efficient data structures and algorithms we frequently use in CFD solvers. Learn how to master it here.
Read articleLearn lambda expressions in C++: a powerful tool for writing optimised CFD solvers, avoiding code duplication, and mastering algorithms in C++'s STL
Read articleUnderstand smart pointers in C++, their benefit over raw pointers, and how to use them in CFD solvers. Use them with the factory pattern to write clean code.
Read article