Skip to content

mspad/Lagrangian_dispersion_MPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple lagrangian solver that tracks the trajectories of particles moving in the Mediterranean Sea. The velocity field is obtained from Copernicus Marine data. Since each particle is independent from the others, the solver can easily run in parallel thanks to MPI for Python.

Open PowerShell, navigate to the project directory and run the following:

# Run the solver in parallel using N processes
mpiexec -n N python .\main.py

Particle distribution at final time (red). The green dot represents the particles' origin.

About

A simple lagrangian particle dispersion model that can run in parallel thanks to mpi4py

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages