77 species->setDensity(2500.0);
78 double mass = species->getMassFromRadius(0.005);
79 double collisionTime = 0.005;
80 double restitution = 1.0;
81 species->setCollisionTimeAndRestitutionCoefficient(collisionTime,restitution,mass);
82 logger(
INFO,
"Stiffness %, dissipation %", species->getStiffness(), species->getDissipation());
92 problem.setParticlesWriteVTK(
true);
97 problem.setTimeStep(0.005 / 50.0);
@ ONE_FILE
all data will be written into/ read from a single file called name_
Species< LinearViscoelasticNormalSpecies > LinearViscoelasticSpecies
Definition: LinearViscoelasticSpecies.h:11
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
[T3:headers]
Definition: Tutorial3_BouncingBallElastic.cpp:26
Definition: Kernel/Math/Vector.h:30
#define INFO(i)
Definition: mumps_solver.h:54
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213