Skip to content
/ PDpy Public
forked from johntfoster/PDpy

Simple parallel peridynamics code

Notifications You must be signed in to change notification settings

zcsssy/PDpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PD.py peridynamics example code

PD.Py is a 2D explicit-time integration code that serves as an example code of how one might write a peridynamics code in parallel with PyTrilinos. The code is heavily commented to provide as much insight as possible.

To clone the repo:

git clone https://github.com/johntfoster/PDpy.git

External dependencies

PyTrilinos

Python packages available via pip

NumPy, SciPy, matplotlib, progressbar, mpi4py (required by PyTrilinos)

These can be installed with the requirements.txt file

pip install -r requirements.txt

To run the code:

mpiexec -np 4 python PD.py

where 4 can be replaced with any arbitrary number of processsors.

The results can be viewed in parallel with Paraview

About

Simple parallel peridynamics code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%