Parallelized finite-difference module for solving physics problem.
The installation time is typically within 5 minutes on a normal local machine.
Dependencies:
numpy
mpi4py
matplotlib
An example for the installation process:
To install FDSolverPy
, clone this repo:
git remote add origin [email protected]:bumpwy/FDSolverPy.git
and run:
pip install -e /path/to/the/repo
The -e
option allows you to edit the source code without having to re-install.
To uninstall:
pip uninstall FDSolverPy
Examples can be found in the ./test
directory.
For instance, under ./tests/local/2d/microstruct
contains examples for diffusion problem in a microstructure.
./run.py
and to plot the results do
./plot.py
where