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 visulaize the data, let us make Visulatization.x
.
make Visulatization.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.
./Visulatization.x
The output is saved in output/
.
If you need 2D snapshots.
make 2Dsnaps
The output is saved in vstdata/
. Using VisIt, you can make 3Dfigures.
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/
.
To obtain the spectrum
make spectrum
To do all in one command, you just type make
or make all
.
make all