To run the code, you need to compile 'Simulation.f90'.
make Simulation.x
Then Simulation.x
is made in this directory.
Let's run the code.
./Simulation.x
The simulation data is saved in bindata/
.
To analyze the data, let us make Analysis.x
.
make Analysis.x
Now you have many time-snapshots of data. To count it, use a script.
CountBindata.sh
See the file, cat control.dat
. You can know the number of files.
Then preparation is done. Run the analyis.
./Analyis.x
The output is saved in output/
.
If you need 2D snapshots.
make 2Dsnaps
Using output/vor*.dat
, image files are made and save as figures/vor*.png
.
To make movie from the files. Type as follows.
make movie
The movie files in saved in movie/anivor
.
To obtain the spectrum
make spectrum
To do all in one command, you just type make
or make all
.
make all