Giter Club home page Giter Club logo

sdem's Introduction

sDEM

sDEM (simple Discrete Element Method) is a simple parallel DEM code with following features:

  • MPI parallelization by means of 2D Domain Decomposition
  • Have the ability to handle particles with different diameters
  • Both linear and non-linear contact force models
  • NBS-Munjiza (Non Binary Search - Munjiza) contact search algorithm

Notice 📰

sDEM has been integrated into the CFD-DEM sovler CP3d as a sub-solver.

Installation 💼

 Present solver has the following two prerequisities:

  • MPI
  • GFortran/Intel Fortran (Supporting Fortran 2003 or higher version)

 You can compile the code as follows:

1. chmod a+x ./mymake.sh
2. ./mymake.sh
3. choose the correct compiler you use, just following guidances printed in the terminal

 If the compiling processes successfully, the executable file dem will be appeared in the current folder (e.g. sDEM-master).

Usage 📖

 After compiling the code successfully, you can run the executable file like that:

mpirun -n [np] ./dem [inputFile]

 Here:

  • np denotes the number of processors you use
  • inputFile is the name string for the input parameter file

 For instance, if you want to run the particles settling in a sand box, you can type the following words in your terminal:

mpirun -n 4 ./dem ./Input/SandBox_DEM.prm

Postprocessing 👾

Paraview is used as the postprocessing tool as follows:

1. cd DEM/Results
2. paraview &
3. use paraview to open the interface XDMF file (e.g. PartVisuForSandBox.xmf)

To do list 💪

  • Adding a non-spherical Particles module, using Super-ellipsoids and/or Multi-Sphere Method
  • Hybrid MPI/OpenMP parallelization and GPU acceleration

Acknowledgements 👏

 I would particularly thank Dr. Norouzi from University of Tehran, for his continuous help (from superficial Fortran language explanation to the underlying DEM details), and his book Coupled CFD‐DEM Modeling: Formulation, Implementation and Applimation to Multiphase Flows, besides the attached code cemfDEM.

 To some extent, the present DEM solver can be regarded as the MPI version of the original serial cemfDEM.

Contact and Feedback 📧

 If you have any question, or want to contribute to the code, please don't hesitate to contact me: Zheng Gong ([email protected])

Following picture shows the process of particles settling in a sand box.

Star History

Star History Chart

sdem's People

Contributors

gongzheng-justin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yx0824 nudtzk

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.