Coding Mathematics : Fluid Flow Simulation

Where am I going to use all the mathematics that I am studying? - is the most common question majority of students have. Some ask. Some don't. And then because of lack of purpose and direction, Mathematics becomes one fo their dreaded subjects. To demonstrate utility of all the engineering mathematics, software can be used very effectively. That too if we **teach them** - how to create software code for the mathematical concepts.

This booklet touches upon **differential equations**, especially for fluid flow. And then teaches step-by-step, how to create software code and visualize graphically all different kinds of fluid flows. It dives deep into mathematical model of fluid flow. We explore 3 case studies (a) Laminar flow, (b) Steady flow around cylinder, and (c) Vortex flow around cylinder. Every case starts with its respective theoretical model and mathematical discussion. Then how to translate those mathematical entities into software code. C++ has been chosen to be programming language for implementation. It is object oriented programming language, so design becomes elegant. Software architecture also becomes more polished as compared to procedural programming language.

## Table of Contents

- Mathematical Model of Fluid Flow
- Laminar Flow
- Flow Around Cylinder
- Vortex Flow
- Software Model of Fluid Flow
- Coordinate Systems and Mapping
- Translate Equations into Mathematics
- Design Pattern for Fluid Flow
- Writing Functions in C++
- Smooth Graphics Animation with Double Buffering
- Developing GUI
- Corollary : Line Source Fluid Flow
- Corollary : Fluid Flow in Sink
- 2000+ Lines of C++ Code
- Runnable Demonstrations of 6 Fluid Flows Covered in Booklet

**Pages :**32

Fluid Flow Simulation is a Great Book. I purchased it a few days ago and loved it.

5.0- Prof. Bhavna Joshi

Junior Research Fellow Computational Fluid Dynamics, Symbiosis University, Maharashtra, Pune

33