Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.3 KB

README.md

File metadata and controls

28 lines (16 loc) · 1.3 KB

rkpm-rk4

rkpm-rk4 is a hypoelastic solid dynamics simulation code that uses Reproducing Kernel Particle Method (RKPM) in Total Lagrangian weak form for spatial discretization and 4th order Runge-Kutta method (RK4) for time discretization. rkpm-rk4 is adapted from mroethli/mfree_iwf with the following major changes:

  • rkpm-rk4 runs in both 2D and 3D.
  • rkpm-rk4 supports Neumann boundary condition.
  • rkpm-rk4 is dedicated to RKPM and FEM.
  • rkpm-rk4 does not support contact modeling among multiple groups of particles.

To understand the theory of RKPM, please refer to Meshless Methods for Large Deformation Elastodynamics which can be retrieved from arxiv, and references listed in mfree_iwf.

To build and install rkpm-rk4:

  1. Download Eigen3. You don't have to install it because it is a header-only library.

  2. cmake <path-to-source-code> -DEIGEN3_INCLUDE_DIR=<path-to-eigen> [-DCMAKE_BUILD_TYPE=(Release|Debug)]

  3. make

  4. make install

To run benchmark cases:

ctest -R <name-of-benchmark> -V

The output files are in Legacy VTK formt which can be visualized with ParaView.

rkpm-rk4 is free software and licensed under GPLv3.