460 problem.
setName(
"SquareDrumTest");
467 double rotRateBasal = 10.0;
475 double muSWall = 0.6;
480 double muRWall = 0.06;
485 double muTWall = 0.0;
490 double rhoRatio = 5000.0/2500.0;
496 double specFrac = 0.5;
498 double drumRad = 0.150/2;
499 double drumLength = 0.024;
503 double froudeNumber = 0.22;
511 problem.
setXMin(-(pow(2*pow(drumRad,2.0),0.5)));
512 problem.
setYMin(-drumLength/2);
513 problem.
setZMin(-(pow(2*pow(drumRad,2.0),0.5)));
515 problem.
setXMax((pow(2*pow(drumRad,2.0),0.5)));
517 problem.
setZMax((pow(2*pow(drumRad,2.0),0.5)));
520 problem.
setCOR(0.97,0.97,0.97);
@ ONE_FILE
all data will be written into/ read from a single file called name_
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
File eneFile
An instance of class File to handle in- and output into a .ene file.
Definition: DPMBase.h:1488
File fStatFile
An instance of class File to handle in- and output into a .fstat file.
Definition: DPMBase.h:1483
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
bool readArguments(int argc, char *argv[])
Can interpret main function input arguments that are passed by the driver codes.
Definition: DPMBase.cc:4391
File dataFile
An instance of class File to handle in- and output into a .data file.
Definition: DPMBase.h:1478
WallHandler wallHandler
An object of the class WallHandler. Contains pointers to all the walls created.
Definition: DPMBase.h:1447
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
File restartFile
An instance of class File to handle in- and output into a .restart file.
Definition: DPMBase.h:1493
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 setParticlesWriteVTK(bool writeParticlesVTK)
Sets whether particles are written in a VTK file.
Definition: DPMBase.cc:942
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
void setFileType(FileType fileType)
Sets the type of file needed to write into or read from. File::fileType_.
Definition: File.cc:215
Definition: testDrum.cpp:38
void setDrumRadius(double radius)
Definition: testDrum.cpp:411
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
void setWriteVTK(FileType)
Sets whether walls are written into a VTK file.
Definition: WallHandler.cc:467