135 problem.
setName(
"granular_collapse_sqellipsoids");
136 logger(
INFO,
"Modified from 'MercurySimpleDemos/InsertionBoundarySelfTest.cpp'");
145 input1 = atof(argv[1]);
146 input2 = atof(argv[2]);
148 problem.
nMax = input1;
151 "Half-length scale = %", problem.
nMax, problem.
radScale);
158 problem.
species->setEffectiveElasticModulusAndRestitutionCoefficient(1.e7, 0.7);
183 logger(
INFO,
"tc = %%", tc, std::defaultfloat);
@ 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
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
WallHandler wallHandler
An object of the class WallHandler. Contains pointers to all the walls created.
Definition: DPMBase.h:1447
void setSuperquadricParticlesWriteVTK(bool writeSuperquadricParticlesVTK)
Definition: DPMBase.cc:956
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
Mdouble getTimeMax() const
Returns the maximum simulation duration.
Definition: DPMBase.cc:888
Definition: GranularCollapseDemo.cpp:36
double radScale
Definition: GranularCollapseDemo.cpp:127
double openGate
Definition: GranularCollapseDemo.cpp:127
double radMax
Definition: GranularCollapseDemo.cpp:127
HertzianViscoelasticMindlinSpecies * species
Definition: GranularCollapseDemo.cpp:125
int nMax
Definition: GranularCollapseDemo.cpp:126
double radMin
Definition: GranularCollapseDemo.cpp:127
void setHGridMaxLevels(unsigned int HGridMaxLevels)
Sets the maximum number of levels of the HGrid in this MercuryBase.
Definition: MercuryBase.cc:476
void setDensity(Mdouble density)
Definition: ParticleSpecies.cc:108
Mdouble getDensity() const
Allows density_ to be accessed.
Definition: ParticleSpecies.cc:118
void setWriteVTK(FileType)
Sets whether walls are written into a VTK file.
Definition: WallHandler.cc:467
const Mdouble pi
Definition: ExtendedMath.h:45
T cubic(const T val)
calculates the cube of a number
Definition: ExtendedMath.h:115