![]() |
|
The directories Drivers/MercurySimpleDemos, Drivers/ChuteDemos, Drivers/SuperQuadricDemo as well as other directories contain many demo codes that illustrate the commonly used features of MercuryDPM:
MercurySimpleDemos:
ChuteDemos:
Description | File Name | Illustrated Features |
---|---|---|
Particles on an inclined chute | ChuteDemo.cpp | Chute |
RoughBottomDemo | roughBottomSelfTest.cpp | ChuteBottom |
Chute with hopper | HopperSelfTest.cpp | Chute with hopper |
Coarse-Grain Demos:
Description | File Name | Illustrated Features |
---|---|---|
Five Particles | FiveParticles.cpp | Coil |
Lees Edward | LeesEdwardsSelfTest.cpp | LeesEdwardsBoundary |
Sintering Demos:
Description | File Name | Illustrated Features |
---|---|---|
Simple sintering process | SinterPair.cpp | Sintering |
Deformations in a representative element volume (REV) Demos:
Parameter study Demos:
Parallelisation Demos:
Description | File Name | Illustrated Features |
---|---|---|
Parallel processing using OpenMP | FreeCooling2DinWallsDemo.cpp | OpenMP Parallelisation |
Parallel processing using MPI | testDrum.cpp | MPI Parallelisation |
Parallel processing for Input-Output, I/O files | HourGlass2DDemoMPI.cpp | MPI-IO Parallelisation |
Coupling Demos:
Description | File Name | Illustrated Features |
---|---|---|
Simulating an elastic solid | SolidBeamUnitTest.cpp | How to run oomph-lib codes in MercuryDPM |
Coupling between surface of elastic solid and particle simulation | CoupledBeamUnitTest.cpp | Surface coupling with oomph-lib |
Clump Demos:
Description | File Name | Illustrated Features |
---|---|---|
(Rigid_clumps) (code) | Gomboc.cpp | (Rigid_clumps) (code) |
Domino effect | Domino.cpp | (Rigid_clumps) (code) |
Tennisracket or Dzhanibekov theorem | TBar.cpp | (Rigid_clumps) (code) |
If you cannot find the one listed here you can find the directory using the unix command find. For example:
Then goto the Build directory instead of the listed Source directory and run it.