
In this lecture, we explore the fundamentals of the rhoCentralFoam solver in OpenFOAM, a density-based compressible flow solver well-suited for shock-dominated problems. We discuss the governing equations (continuity, momentum, and energy), conservative variables, and the role of the equation of state. The lecture also covers turbulence modeling options, shock-capturing numerical schemes (TVD), explicit time integration, and thermo/transport property settings. This session provides theoretical insights into how rhoCentralFoam works and when to use it, with practical simulations to be covered in the next lecture.
In this lecture, we will explore the importance of Docker and why it is a valuable tool for running simulations. You will learn how to install Docker step-by-step, and then test your installation by running an example OpenFOAM simulation within the Docker environment to ensure everything is set up correctly.
In this lecture, we provide hands-on instructions for installing all the software used in the course on the Windows operating system. The focus of this session is solely on the installation process; all other steps and workflows remain the same as demonstrated in previous lectures. This lecture ensures that Windows users can follow the course seamlessly without any interruptions.
In this video, we dive deep into the rhoCentralFoam solver in OpenFOAM and use it to simulate the classic shock tube problem. ? You’ll learn:
How rhoCentralFoam works as a density-based explicit solver
Step-by-step setup of the shock tube case (mesh, setFields, boundary conditions)
Visualization and analysis of shock, contact, and expansion waves
Why oscillations appear near the shock and how to mitigate them
A comparison of rhoCentralFoam (conservative variable approach) vs rhoPimpleFoam (PIMPLE algorithm) at the source code level
This session will help you understand not just how to run shock tube simulations in OpenFOAM, but also the differences in solver philosophy between explicit density-based solvers and pressure-based coupled solvers.
In this OpenFOAM tutorial, we compare rhoCentralFoam vs rhoPimpleFoam and show why solver choice matters when dealing with non-uniform meshes and flow past obstacles. ? Topics covered in this lecture:
Why rhoCentralFoam fails on non-uniform meshes
Step flow example: shock formation and reflections in compressible flow
Creating a mesh around an obstacle using snappyHexMesh
Setting up boundary conditions for rhoCentralFoam and rhoPimpleFoam
Stability issues with rhoCentralFoam in subsonic flows
Why rhoPimpleFoam is recommended for subsonic flow simulations
When to use rhoCentralFoam, rhoPimpleFoam, or sonicFoam
This video is ideal for CFD beginners and intermediate users learning solver selection in OpenFOAM, as well as those working with compressible flow simulations.
Compressible flows are fundamental to many engineering applications, including high-speed aerodynamics, propulsion systems, gas dynamics, and energy systems, where variations in density, pressure, and temperature strongly influence flow behavior. Accurately simulating these flows requires not only a solid understanding of compressible flow physics, but also the ability to select and apply appropriate numerical solvers. This course is designed to provide a focused and practical introduction to compressible flow simulations using OpenFOAM, with particular emphasis on the widely used solvers rhoCentralFoam and rhoPimpleFoam.
Throughout the course, you will develop a clear understanding of how compressible flow governing equations are formulated and implemented within OpenFOAM. Special attention is given to the fundamental differences between density-based and pressure-based solution approaches, and how these differences impact solver stability, accuracy, and performance across different flow regimes. By studying both rhoCentralFoam and rhoPimpleFoam side by side, you will learn how each solver is designed, what assumptions it makes, and when it should be preferred for low-speed, transonic, or high-speed compressible flows.
The course strongly emphasizes hands-on learning. In addition to concise theoretical explanations, you will work through guided simulations and practical examples that demonstrate real solver behavior. You will learn how to set up compressible cases, define appropriate thermophysical models, choose numerical schemes, control time-stepping, and monitor convergence. Supplied case files and examples allow you to directly explore how solver settings influence solution stability and physical accuracy, helping you build intuition that goes beyond textbook theory.
By the end of this course, you will be able to confidently set up, run, and analyze compressible flow simulations in OpenFOAM, and make informed decisions about solver selection for your own applications. Whether you are a student, researcher, or practicing engineer, this course will equip you with the practical knowledge needed to bridge the gap between compressible flow theory and real-world CFD simulations using OpenFOAM.