Giter Club home page Giter Club logo

shpsg's Introduction

Spherical Harmonics Particle Shape Generator - SHPSG

Why should I use SHPSG?

  • Particle shape influences the properties of granular materials, e.g., packing density, shear strength, permeability.

  • Existing methods generating irregular particle shapes are sometimes over-simplified, e.g., ellipsoids, rod-like particles, or particle 'clusters'.

  • SHPSG provides a systematic approach to randomly generate 3D particle morphologies with user-specified irregularity.

  • Shape irregularity is controlled at different scales, e.g., form, roundness and roughness.

How to use SHPSG?

  • Clone the repository and get started.

  • Run the example provided in main.ipynb.

  • We provide particle shape introduction, parameter examples, and randomly generated angular particles.

Particle shape introduction

  • Particle shape is a multi-scale feature and usually quantified at three scales, i.e. form, roundness and roughness.

  • Spherical Harmonics decompose particle shape features into different SH degrees, and higher SH degree reproduces smaller surface features.

  • Particle form is defined by three principal dimensions that perpendicular to each other: a$\geq$b$\geq$c. We control two aspect ratios: elongation index Ei = b/a, and flatness index Fi = c/b.

  • Particle roundness reflects curvatures at corners. We increase D2_8 to generate more angular particles.

  • Roughness characterizes surface features at corners and between corners. We increase D9_15 to produce a higher roughness.

  • More details about the theory behind SHPSG were described in two papers: rotational-invirant analysis Link and SHs coeffecients random generation method Link

Parameter examples

A sphere: Ei = 1; Fi = 1; D2_8 = 0; D9_15 = 0

Oblate spheroid: Ei = 1; Fi = 0.5; D2_8 = 0; D9_15 = 0

Probalate spheroid: Ei = 0.5; Fi =1; D2_8 = 0; D9_15 = 0

Low angularity: Ei = 1; Fi = 1; D2_8 = 0.1; D9_15 = 0

High angularity: Ei = 1; Fi = 1; D2_8 = 0.4; D9_15 = 0

Random generated angular particles

D2_8 = 0.1

D2_8 = 0.2

D2_8 = 0.3

Ei = 1; Fi = 1; D9_15 = 0 for these groups of particles

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

We were inspired by previous studies and libraries during methodology and code development. We would like to thank their authors for the great work and publishing the code. We welcome discussion and contribution to improving SHPSG.

shpsg's People

Contributors

budizhao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.