T0: Introduction:
connecting, compiling, running, reading data

Before the tutorials:

As discussed in the Lecture, it is important to know the length scale on which the basic constituents of a medium intact. Start with the figure

to think about and work out the following:

During the tutorials:

After we paired you into the groups and assigned the computational resources to you, try to get all set up!

To do each tutorial, you need to follow some basic steps:

Step 1: Connecting

Step 2: Setup

Step 3: Perform the numerical experiment

You should see an animation like this, with particles moving from left to right:

Programming goals for T0:

Goal of this tutorial is that you learn how to use commands in a unix shell,
how to compile and execute a program,
how to write a simple program (concept of “main”),
how to define variables and calculate values in a program,
how to perform output from a program,
how to start a simulation, and
how to plot the results.

Running on other platforms

If you want to do the tutorials on an other platform (like your own PC), you need to have at least a C++ compiler installed and an MPI environment. In addition you need to have the gsl library available, plus whatever you want to use for creating your plots.

The material you need can be obtained by doing:
wget https://www.usm.uni-muenchen.de/~ildar/hydro_course/ws2223/T00/sources.tar.gz

Further information

Description of the format of snapshot files.