A quasi-2D inclined plane with inflow conditions on the left boundary, and deletion of particles when they exit the domain.
19 logger(
INFO,
"\nDescription: A quasi-2D inclined plane with inflow conditions on the left boundary, and deletion of"
20 " particles when they exit the domain.");
28 problem.setFixedParticleRadius(0.001);
29 problem.setInflowParticleRadius(0.001);
32 double mass = 0.5*species->getMassFromRadius(0.5*(
problem.getMinInflowParticleRadius() +
problem.getMaxInflowParticleRadius()));
33 species->setCollisionTimeAndRestitutionCoefficient(2.5e-3,0.8,mass);
34 species->setSlidingDissipation(0.0);
35 problem.setTimeStep(0.02 * 2.5e-3);
46 problem.setInflowVelocityVariance(0.02);
50 problem.dataFile.setSaveCount(100*
problem.restartFile.getSaveCount());
51 problem.eneFile.setSaveCount(100*
problem.restartFile.getSaveCount());
Species< LinearViscoelasticNormalSpecies, FrictionSpecies > LinearViscoelasticFrictionSpecies
Definition: LinearViscoelasticFrictionSpecies.h:12
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Creates chutes with different bottoms. Inherits from Mercury3D (-> MercuryBase -> DPMBase).
Definition: Chute.h:44
#define INFO(i)
Definition: mumps_solver.h:54
unsigned int getSaveCountFromNumberOfSavesAndTimeMaxAndTimeStep(unsigned int numberOfSaves, Mdouble timeMax, Mdouble timeStep)
Returns the correct saveCount if the total number of saves, the final time and the time step is known...
Definition: FormulaHelpers.cc:75
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213