Skip to content

Parallel (MPI) Row decomposed Diffusion Equation solver by explicit/implicit Finite Difference method

License

Notifications You must be signed in to change notification settings

dutta-alankar/parallel-finite_difference-diffusion-equation-solver

Repository files navigation

parallel-finite_difference-diffusion-equation-solver

Parallel (MPI) Row decomposed Diffusion Equation solver by explicit Finite Difference method

  █████▒▄▄▄      ▓█████▄ ▓█████ ▓█████▄ 
▓██   ▒▒████▄    ▒██▀ ██▌▓█   ▀ ▒██▀ ██▌
▒████ ░▒██  ▀█▄  ░██   █▌▒███   ░██   █▌
░▓█▒  ░░██▄▄▄▄██ ░▓█▄   ▌▒▓█  ▄ ░▓█▄   ▌
░▒█░    ▓█   ▓██▒░▒████▓ ░▒████▒░▒████▓ 
 ▒ ░    ▒▒   ▓▒█░ ▒▒▓  ▒ ░░ ▒░ ░ ▒▒▓  ▒ 
 ░       ▒   ▒▒ ░ ░ ▒  ▒  ░ ░  ░ ░ ▒  ▒ 
 ░ ░     ░   ▒    ░ ░  ░    ░    ░ ░  ░ 
             ░  ░   ░       ░  ░   ░    
                  ░              ░      

Diffusion Eqution:
equation

To compile: mpicc diff_expl_fd.c -o diffusion -lm

To run: mpiexec -n [processors to deploy] ./diffusion [grid points along rows] [grid points along columns]

Criteria for stability and convergence of Explicit method:
equation

About

Parallel (MPI) Row decomposed Diffusion Equation solver by explicit/implicit Finite Difference method

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published