TARANG is an object-oriented parallel C++ code that can simulate incompressible fluid, magnetohydrodynamics (MHD), scalars, and Rayleigh Benard convection. At present we can solve for periodic and free-slip boundary conditions. The code scales reasonably well up to a grid size of 20483, and we hope to be able to go to 40963 and higher grids.

We are in the process of extending our code to

  1. No-slip boundary conditions
  2. Cylindrical geometry
  3. Spherical geometry, etc.

We welcome collaborations in developing the code further, testing, and usage for various physics and engineering applications.


You can download the code from Download TARANG.

If you have any problems in downloading TARANG please  mail us at turbulencehub.iitk@gmail.com

Installing Tarang

Instructions to Install Tarang


This is a three year old manual. We are planning to update it soon.

Tarang Manual


We will greatly appreciate if you acknowledge the usage of TARANG by citing the paper

“M. K. Verma, A. Chaterjee, S. Paul, K. S. Reddy, R. Yadav, M. Chandra, and R. Samtaney, Benchmarking and scaling studies of a pseudospectral code Tarang for turbulence simulations, Pramana, 2013.”, PDF


Mahendra K. Verma, Supriyo Paul, Mani Chandra, Sandeep Reddy, Anando Chatterjee, Rakesh Yadav