335 problem.
setName(
"MonodisperesedDrum");
342 double rotRateBasal = 1.0;
346 double muSWall = 0.61;
350 double muRWall = 0.06;
354 double muTWall = 0.0;
357 double dimDrumRad = 15.0;
358 double drumRad = dimDrumRad*0.0005;
360 double dimDrumLength = 4.0;
361 double drumLength = dimDrumLength*0.001;
366 double froudeNumber = 0.22;
367 double rotRate = pow(froudeNumber*9.81/drumRad,0.5);
381 problem.
setYMin(-0.5*drumLength);
385 problem.
setYMax(0.5*drumLength);
389 problem.
setCOR(0.831,0.831);
@ 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
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 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: MonodispersedDrum.cpp:38
void setDrumRadius(double radius)
Definition: MonodispersedDrum.cpp:231
void setSlidingFriction(double drum, double f1)
Definition: MonodispersedDrum.cpp:264
void setTorsionFriction(double drum, double f1)
Definition: MonodispersedDrum.cpp:276
void setRollingFriction(double drum, double f1)
Definition: MonodispersedDrum.cpp:270
void setCOR(double drumCOR, double COR1)
Definition: MonodispersedDrum.cpp:257
void setRevolutionSpeed(double rpm)
Definition: MonodispersedDrum.cpp:236
void setFractionalPolydispersity(double fpd)
Definition: MonodispersedDrum.cpp:241
void setDrumFillFraction(double dff)
Definition: MonodispersedDrum.cpp:246
double getDrumRadius()
Definition: MonodispersedDrum.cpp:282
void setFileType(FileType fileType)
Sets the type of file needed to write into or read from. File::fileType_.
Definition: File.cc:215