
Ramses Coded Documentation & Tutorial
This documentation is for the a purpose, to run the Ramses code in your system. If possible combining with HPC cluster.
This is a simple guide to generating a GIF like animation for 2D and 3D input file, and layout the exact procedure, I
followed because initially it might confuse anyone. I have performed only Sedov Input code. To just check how ramses
works and what we can extract from this tool. I am interested in combining astronomical calculation with HPC in future.
To showoff this interest and curiosity of mine. I tried running job on “Comet” HPC cluster provided by Newcastle
University. However, I could not get a satisfied output using the cluster. So far, I have just done 1D and 2D in my T430
device, while I tried 3D on cluster. Will look again to re-run the job.
The most major aim to document this is see the animation at the end of compiling the Ramses code. I personally feel,
without seeing an animation, it was little boring to me. Hence here its a simple guide on “how I got a animation of 2D
Sedov Cod for different time line. I have also attached the actual task pictures with step by step procedures to have a
better understanding and easier to guide.
1. What is Ramses Code: Ramses Code is a open-source project code, written in Fortran programming languages. Its
mainly used to study the some properties of evolving universe by modeling phenomena like some explosion, gravitation,
magnetization or any radiation caused and many more. Ramses models these astronomical simulation and complex
calculation to better understand.
Ramses uses AMP techniques, but What is Adaptive Mesh Refinement (AMR)? Its a simulations techniques that
focuses a specified area with more computing power and refined scale to capture more detailing a particular ares.
This makes simulations more efficient and accurate without wasting CPU and memory by using coarser grids in less
important regions. This is enough knowledge I feel to have, but if you want to learn more about RAMSES, you have
a look into this official page.
2. What is Sedov-Taylor-von Neumann: The “Sedov-Taylor-von Neumann” is a mathematical and physical model
used to describe how a strong explosion spreads out in a gas or fluid. As its modeling to understand a explosion is
theorized as blast wave. When an explosion occurs it releases a huge amounts of a shock wave outward. and This
shocks wave are actually studied using mathematical formula and using physics theory to understand universe thats
it. This model explains how the shock wave is behaving with time, like changes in position, density, velocity, pressure,
temperature etc. This model is fundamental in astrophysics and fluid dynamics because it helps us to understand
explosions caused by supernovae, nuclear blasts, or any sudden energy release in universe. This is named after three
scientists, Leonid Sedov, G. I. Taylor and John von Neumann.
Requirments:
Before starting of this, I highly suggest you to use Linux distribution, as its way much easier to figure out the problems.
We must have some packages installed in our system such as:
1. git: to install git code. I have git (2.52.0-2) installed in my system, you cant install it via below comand:
This command is to install
sudo pacman -S git
This command will let you search all the git package
sudo pacman -Ss git
2. gfortran: To compile and run Ramses Code, you usually need a Fortran compiler installed on your system. I have
gfortran (15.2.1) prebuilt in my distro. This Fortran will help us to get a executable file for ramses 1D, 2D, and
3D. However, if you can search using this command flag ’-Ss’. I get this following output, which means, I have it
preinstalled in my system.
[ go lu@ T430 ~] $ sudo pacma n -Ss gfo rtran
core /gcc - libs 1 5.2.1+ r447 + g6a64f6c3 ebb8 -1 [ ins tal led : 15.2.1 + r301 + g f24307422 d1d -1]
Runtime li braries shi pped by GCC
core / lib32 - gcc - libs 15.2 .1+ r447 + g6a 64f6c3ebb 8 -1 [ inst all ed : 15. 2.1+ r301 + gf24307422d 1d -1]
32 - bit runt ime li bra rie s s hipped by GCC
Note: Basicallly gfortran and python should be your system installation. One reason why Linux is great, it
usually comes with important tools, packages and libraries already set up for you.
1