Documentation | Build Status | Quality |
---|---|---|
Deployment | License | Socials |
Welcome to PeriLab
, a powerful software solution designed for tackling Peridynamic problems.
Explore the comprehensive documentation for PeriLab
.
A few basic examples of PeriLab
can be found in the examples directory, or if you want to have a look at results go to our growing PeriLab-Results service.
-
🚀 Easy Installation: PeriLab's straightforward installation process makes it accessible for researchers and engineers without extensive computational expertise.
-
✒️ Modularization: The software is designed with a modular architecture that allows users to easily integrate their own material and damage models.
-
🎨 Formulations: Bond-based, bond-associated, as well as oridnary and non-ordinary state-based peridynamic formulations can be used with PeriLab.
-
🔩 Material models: PeriLab supports various material models, such as elastic, plastic, and more, enabling simulation of complex materials and structures.
-
🔨 Damage models: Damage models such as critical stretch or an energy based criterium are included to simulate different types of damage, such as crack propagation or delamination, in their peridynamic simulations.
-
🔥 Additive Manufacturing: PeriLab supports additive manufacturing, allowing users to create custom additive models for their simulations.
-
🧲 Multimodels: PeriLab supports multimodels simulations, combining different types of peridynamics and damage models to create a comprehensive simulation environment.
-
⚡ MPI: PeriLab supports parallel computing using Message Passing Interface (MPI) technology to improve simulation performance on high-performance clusters.
-
💻 HPC capabilities: PeriLab is designed for high-performance computing (HPC) environments, allowing users to run large-scale simulations efficiently.
-
📤📥 Exodus Input/Output: PeriLab uses the Exodus II data format for input and output, enabling easy transfer of data between simulation tools.
-
🧮 Abaqus Input: PeriLab supports Abaqus input files, allowing users to create custom Abaqus models for their simulations.
-
➗ Bond filter: The bond filter feature allows users to apply specific conditions to the bonds between particles in a simulation, influencing their behavior and interaction with other particles.
-
🔧 User specified Input/Output: PeriLab provides flexible options for users to specify custom input and output files, enabling easy data manipulation and analysis.
-
🧪 Test Pipeline: The PeriLab Source Code will be tested in a test pipeline to ensure its correctness and performance.
The PeriLab
package is available through the Julia package system and can be installed using the following commands:
using Pkg
Pkg.add("PeriLab")
Throughout the rest of this tutorial, we will assume that you have installed the
PeriLab package and have already typed using PeriLab
to bring all of the
relevant variables into your current namespace.
Jumpstart your exploration of the PeriLab simulation core with provided examples. Run the following commands in Julia:
using PeriLab
PeriLab.get_examples()
PeriLab.main("examples/DCB/DCBmodel.yaml")
Note: More details about the main functionalities in the yaml input deck here.
To handle large-scale problems efficiently, install MPI. Run PeriLab with two processors on a Linux system using the following commands:
$ julia
julia> using MPI
julia> MPI.install_mpiexecjl()
Note: If you work with Windows 10 or higher you can use the WSL environment.
Run PeriLab with two processors:
$ mpiexecjl -n 2 julia -e "using PeriLab; PeriLab.main()" examples/DCB/DCBmodel.yaml -v
Note: For HPC configurations please refer to here.
To install PeriLab using the official Perihub/Perilab Docker image, follow these steps:
-
Install Docker: Before you begin, ensure that you have Docker installed on your system. You can download and install Docker from the official website (https://www.docker.com/). Make sure your system meets the minimum requirements for running Docker.
-
Pull the Perihub/Perilab Docker image: Use the following command in a terminal or command prompt to pull the latest Perihub/Perilab Docker image from the Docker Hub repository:
docker pull perihub/perilab
-
Run the Docker container: Once the image has been downloaded, create a new directory for your PeriLab simulations and navigate to it in the terminal or command prompt. Run the following command to start the Docker container:
docker run -it --rm -v <path_to_local_simulations_directory>:/app/simulations perihub/perilab bash
Replace
<path_to_local_simulations_directory>
with the absolute path to a local directory where you want to store your PeriLab simulations. This command will open a new terminal session inside the Docker container.
Now, you've successfully installed PeriLab using the official Perihub/Perilab Docker image. You can start running your own peridynamic simulations within the container.
Experience the convenience of using PeriLab as a ready-to-use application on JuliaHub. Simply create an account, navigate to the applications page, and add the repository URL: https://github.com/PeriHub/PeriLab.jl.
Configure advanced options, such as filename, dryrun, verbosity, debug, and silence. Click Start and monitor the job progress. Results will be available in a zipped folder.
Hit the Start button and wait for the job to finish, the results will be available in a zipped folder.
Note: The free tier on
JuliaHub
offers 20 hours of computational time per month.
Here are some exciting tasks on our roadmap:
-
🔑 Quasi-static solver: A future development for PeriLab is extending its capabilities with a more robust quasi-static solver for larger systems and complex boundary conditions.
-
👊 Contact: An upcoming feature in PeriLab is enhancing contact modeling to support advanced features like friction, adhesion, and contact forces based on temperature or other variables.
-
➕ More material and damage models: PeriLab's future development plans include adding more sophisticated material models (e.g., viscoelastic-plastic) and damage models, expanding the software's applicability to a wider range of real-world phenomena.
-
👬 FEM/PD coupling: A future enhancement for PeriLab is improving its FEM/PD coupling functionality by implementing more advanced techniques, such as a seamless data exchange between FEM and PD domains.
-
✂️ Distribution logic: As part of its ongoing development, PeriLab will continue to incorporate new distribution logic for improved performance and reduced computational resources.
-
🏎️ Optimizations: As part of its ongoing development, PeriLab will continue to focus on optimizing the simulation process by incorporating new techniques like parallel optimization algorithms for improved efficiency and reduced computational resources.
-
🦿 CUDA support: We are planning to support GPU acceleration for improved performance and reduced computational resources.
Feel free to contribute and help us make PeriLab even better! 🙌
We welcome contributions in various forms, including bug reports, documentation improvements, feature suggestions, and more. To get started, follow these steps and have a look at the Contribution Guidelines:
- Clone the repository:
git clone https://github.com/PeriHub/PeriLab.jl
cd PeriLab.jl
- Activate the environment and install dependencies:
$ julia
julia> ]
pkg> activate .
pkg> up
- Run the script:
$ julia --project=. src/main.jl examples/DCB/DCBmodel.yaml
For any questions or inquiries about PeriLab.jl, feel free to reach out to the authors via email.
Prof. Dr.-Ing. Christian Willberg
PeriLab
is currently in development.
To cite PeriLab in your publications please use the following paper.
@Article{WillbergC2024,
author={Willberg, Christian
and Hesse, Jan-Timo
and Pernatii, Anna},
title={{PeriLab - Peridynamic Laboratory}},
journal={SoftwareX},
year={2024},
publisher={Elsevier},
volume={26},
issn={2352-7110},
doi={10.1016/j.softx.2024.101700},
url={https://doi.org/10.1016/j.softx.2024.101700}
}
![]() |
|
---|---|
German Aerospace Center | Magdeburg-Stendal University of Applied Science |
This project has benefited from funding by the Deutsche
Forschungsgemeinschaft (DFG, German Research Foundation)
through the following grant ''Gekoppelte Peridynamik-Finite-Elemente-Simulationen zur Schädigungsanalyse von Faserverbundstrukturen''.
Grant number: WI 4835/5-1
M-ERA.NET funded project ''Exploring Multi-Method Analysis of composite structures and joints under consideration of uncertainties engineering and processing (EMMA)''
This measure is co-financed with tax funds on the basis of the budget passed by the Saxon state parlament.
Grant number: 3028223.
Federal Ministry for Economic Affairs and Climate Action funded project
''Virtuelle Kennwertermittlung, Schadensprädiktion und Simulationsmethoden für geklebte Fügestellen eines LH2-Tanks in Faserverbundbauweise für die kommerzielle Luftfahrt (HYTANK)''.
Grant number: 20W2214G.