Milestone 5 (optional): Parallelization
In the third milestone, you will run your third turbulence simulation. In this milestone, you will…
- …learn how to parallelize your code using the Message Passing Interface (MPI).
Make sure you have read and understood the notes on bwUniCluster. We recommend µFFT for parallel FFT transforms. The documentation has a section on parallelization.
Parallelization
Parallelize your code. µFFT (and µGrid) will take of most (all?) communication. Your code may therefore already run in parallel.
Parameters
Run simulations with the same parameters as your simulations of milestone 4, but for larger system sizes. You should be able to reach at least $256^3$ on bwUniCluster. Plot the energy and dissipation spectrum for different grid sizes.
Task summary
We ask you to provide the following results in your final report:
- Plot of the energy and the dissipation spectrum for 3 different grid sizes.