Skip to content

PeriHub/PeriLab.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PeriLab - Peridynamic Laboratory

Documentation Build Status Quality
Deployment License Socials

Welcome to PeriLab, a comprehensive platform for working with peridynamics, designed to support researchers and practitioners at all levels of expertise.

Overview

Features

  • ๐Ÿš€ 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.

  • ๐Ÿ‘Š Contact: Simulation of contact between objects is supported with a variety of contact conditions.

  • ๐Ÿ‘ฌ FEM/PD coupling: Coupling between Peridynamics and the Finite element method is supported.

  • ๐Ÿ”ฅ Additive Manufacturing: PeriLab supports additive manufacturing, allowing users to create custom additive models for their simulations.

  • ๐Ÿ”‘ Solver: Different solvers like Verlet or Static can be utilized, swiching between those is also supported.

  • ๐Ÿงฒ Multi physics: PeriLab supports multimodels simulations, combining different types of peridynamic physical and damage models to create a comprehensive simulation environment.

  • ๐Ÿ”Œ Subroutine Interfaces: Subroutines, such as UMAT, VUMAT and HETVAL are usable as material models

  • โšก MPI: PeriLab supports parallel computing using Message Passing Interface (MPI) technology to improve simulation performance on high-performance clusters.

  • ๐Ÿ” Multistep simulations: PeriLab supports the definition of multiple solver steps, allowing to combine different environmental conditions in a single run.

  • ๐Ÿ“ Surface Correction: PeriLab provides tools for surface correction, such as the Volume correction method.

  • ๐Ÿ’ป 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.

Documentation

Explore the comprehensive documentation for PeriLab and the seminar information for the first German Peridynamics course Lecture Non-local structural mechanics and peridynamics.

Examples

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.

Installation

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.

Getting Started with PeriLab

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.

Parallel Processing with PeriLab (MPI)

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")'

Note: For HPC configurations please refer to here.

Installing with Docker

To install PeriLab using the official Perihub/Perilab Docker image, follow these steps:

  1. 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.

  2. 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
  3. 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.

Web Framework PeriHub

PeriLab is also included as a ready to use application in the PeriHub web framework.

PeriLab on JuliaHub

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.

What's Next?

Here are some exciting tasks on our roadmap:

  • ๐Ÿ’ง Degradation: The simulation of degrative materials will be added to PeriLab

  • โž• 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.

  • โœ‚๏ธ 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.

Feel free to contribute and help us make PeriLab even better! ๐Ÿ™Œ

Here are the planned issues and milestones.

Contributing

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:

Development

  1. Clone the repository:
git clone https://github.com/PeriHub/PeriLab.jl
cd PeriLab.jl
  1. Activate the environment and install dependencies:
$ julia
julia> ]
pkg> activate .
pkg> up
  1. Run the script:
$ julia --project=. src/main.jl examples/DCB/DCBmodel.yaml

Questions

For any questions or inquiries about PeriLab.jl, feel free to reach out to the authors via E-mail or open a discussion.

How to cite

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}
}

Acknowledgments

Funding and acknowledgment infos can be found under acknowledgments

Partners

German Aerospace Center
Magdeburg-Stendal University of Applied Science
Otto von Guericke University Magdeburg
SWMS Systemtechnik Ingenieurgesellschaft mbH

Authors

Prof. Dr.-Ing. Christian Willberg

M.Sc. Jan-Timo Hesse

Project status

PeriLab is currently in development.

About

Peridynamic Laboratory (PeriLab) is a powerful software solution designed for tackling diverse problems in the field of peridynamics.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages