510 std::chrono::time_point<std::chrono::system_clock> startClock, endClock;
511 startClock = std::chrono::system_clock::now();
520 double rotRateBasal = 10.0;
528 double muSWall = 0.6;
533 double muRWall = 0.06;
538 double muTWall = 0.0;
543 double rhoRatio = 2500.0/2500.0;
548 double specFrac = 0.5;
550 double drumRad = 20*1.5*0.0015;
552 double rotRate = 10.0;
554 double froudeNumber = (rotRate * 2.0 * 3.1415926535 / 60.0) * (rotRate * 2.0 * 3.1415926535 / 60.0) * drumRad / 9.81;
557 double dimDrumLength = 240.0;
560 double drumLength = dimDrumLength*0.003*1.5;
568 std::stringstream nameStream;
572 std::string nameBase =
"binary";
575 nameStream << nameBase <<
"-length" << dimDrumLength;
589 std::string fullName = nameStream.str();
606 problem.
setCOR(0.97,0.97,0.97);
630 endClock = std::chrono::system_clock::now();
631 std::chrono::duration<double> elapsed_seconds = endClock - startClock;
632 logger(
INFO,
"Elapsed time for solving the PDE: % s", elapsed_seconds.count());
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
void setSaveCount(unsigned int saveCount)
Sets File::saveCount_ for all files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:408
void setYMin(Mdouble newYMin)
Sets the value of YMin, the lower bound of the problem domain in the y-direction.
Definition: DPMBase.cc:1034
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
void setNumberOfDomains(std::vector< unsigned > direction)
Sets the number of domains in x-,y- and z-direction. Required for parallel computations.
Definition: DPMBase.cc:5213
bool readArguments(int argc, char *argv[])
Can interpret main function input arguments that are passed by the driver codes.
Definition: DPMBase.cc:4391
void setYMax(Mdouble newYMax)
Sets the value of YMax, the upper bound of the problem domain in the y-direction.
Definition: DPMBase.cc:1191
void setZMin(Mdouble newZMin)
Sets the value of ZMin, the lower bound of the problem domain in the z-direction.
Definition: DPMBase.cc:1058
void setXBallsAdditionalArguments(std::string newXBArgs)
Set the additional arguments for xballs.
Definition: DPMBase.cc:1347
void setXMax(Mdouble newXMax)
Sets the value of XMax, the upper bound of the problem domain in the x-direction.
Definition: DPMBase.cc:1165
void setZMax(Mdouble newZMax)
Sets the value of ZMax, the upper bound of the problem domain in the z-direction.
Definition: DPMBase.cc:1217
void setTimeStep(Mdouble newDt)
Sets a new value for the simulation time step.
Definition: DPMBase.cc:1234
void setTimeMax(Mdouble newTMax)
Sets a new value for the maximum simulation duration.
Definition: DPMBase.cc:873
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
void setXMin(Mdouble newXMin)
Sets the value of XMin, the lower bound of the problem domain in the x-direction.
Definition: DPMBase.cc:1010
void setGravity(Vec3D newGravity)
Sets a new value for the gravitational acceleration.
Definition: DPMBase.cc:1383
Definition: testDrum.cpp:38
void setDrumRadius(double radius)
Definition: testDrum.cpp:411
void setVibrationFrequency(double f)
Definition: testDrum.cpp:484
double getDrumRadius()
Definition: testDrum.cpp:477
void setVibrationAmplitude(double A)
Definition: testDrum.cpp:487
void setFractionalPolydispersity(double fpd)
Definition: testDrum.cpp:427
void setTorsionFriction(double drum, double f1, double f2)
Definition: testDrum.cpp:470
void setRollingFriction(double drum, double f1, double f2)
Definition: testDrum.cpp:463
void setDrumFillFraction(double dff)
Definition: testDrum.cpp:432
void setSpeciesVolumeFraction(double vf)
Definition: testDrum.cpp:437
void setCOR(double drumCOR, double COR1, double COR2)
Definition: testDrum.cpp:448
void setSizeAndDensityRatio(double sr, double dr)
Definition: testDrum.cpp:421
void setRevolutionSpeed(double rpm)
Definition: testDrum.cpp:416
void setSlidingFriction(double drum, double f1, double f2)
Definition: testDrum.cpp:456