SingleSphere.cpp File Reference
#include "MercuryProb.h"

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)

RVE size

Setup the coupled problem

83  {
84 
86  double RVESize = 0.4 / units::lUnit;
87 
89  MercuryProblem TriangleWallsTest;
90  TriangleWallsTest.setupMercuryProblem("SingleSphere", 3, RVESize, 1, -9.81*100 / units::accUnit(), 20 / units::tUnit, 1000);
91 
92  TriangleWallsTest.solve();
93 
94 } //end of main
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Problem class for a single particle bouncing on a "beam" structure.
Definition: MercuryProb.h:55
void setupMercuryProblem(const char *name, const unsigned &dim, const double &rveSize, const unsigned &rve, const Mdouble &g, const Mdouble &tMax, const unsigned &nWrite)
Definition: MercuryProb.h:60
Mdouble accUnit()
Definition: MercuryProb.h:45
Mdouble lUnit
Definition: MercuryProb.h:25
Mdouble tUnit
Definition: MercuryProb.h:27

References units::accUnit(), units::lUnit, MercuryProblem::setupMercuryProblem(), DPMBase::solve(), and units::tUnit.