88 logger(
INFO,
"Simple box for creating particles");
91 insertionBoundary_problem.
setMin(
Vec3D(-0.5, -0.5, -0.5));
92 insertionBoundary_problem.
setMax(
Vec3D(0.5, 0.5, 0.5));
102 species->setConstantRestitution(
true);
104 species->setCollisionTimeAndRestitutionCoefficient(collisionTimeIntra, 0.5, 1);
105 species->setUnloadingStiffnessMax(
106 species->getLoadingStiffness() * 5);
107 species->setCohesionStiffness(species->getUnloadingStiffnessMax() / 3);
108 species->setPenetrationDepthMax(0.1);
110 species->setSlidingFrictionCoefficient(0.1);
111 species->setSlidingStiffness(species->getLoadingStiffness() * 2.0/7.0);
112 species->setSlidingDissipation(species->getDissipation() * 2.0 / 7.0);
120 insertionBoundary_problem.
solve();
AnnoyingScalar sqrt(const AnnoyingScalar &x)
Definition: AnnoyingScalar.h:134
Species< LinearPlasticViscoelasticNormalSpecies, FrictionSpecies > LinearPlasticViscoelasticFrictionSpecies
Definition: LinearPlasticViscoelasticFrictionSpecies.h:12
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
std::enable_if<!std::is_pointer< U >::value, U * >::type copyAndAddObject(const U &object)
Creates a copy of a Object and adds it to the BaseHandler.
Definition: BaseHandler.h:360
SpeciesHandler speciesHandler
A handler to that stores the species type i.e. LinearViscoelasticSpecies, etc.
Definition: DPMBase.h:1433
void setNumberOfDomains(std::vector< unsigned > direction)
Sets the number of domains in x-,y- and z-direction. Required for parallel computations.
Definition: DPMBase.cc:5302
void setMin(const Vec3D &min)
Sets the minimum coordinates of the problem domain.
Definition: DPMBase.cc:1109
void solve()
The work horse of the code.
Definition: DPMBase.cc:4334
void setMax(const Vec3D &max)
Sets the maximum coordinates of the problem domain.
Definition: DPMBase.cc:1073
EIGEN_DEVICE_FUNC const GlobalUnaryPowReturnType< Derived, ScalarExponent > pow(const Eigen::ArrayBase< Derived > &x, const ScalarExponent &exponent)
Definition: GlobalFunctions.h:137
void setDensity(Mdouble density)
Definition: ParticleSpecies.cc:88
Definition: RandomClusterInsertionBoundaryDemo.cpp:23
Contains material and contact force properties.
Definition: Species.h:14
Definition: Kernel/Math/Vector.h:30
#define INFO(i)
Definition: mumps_solver.h:54
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 log(const bfloat16 &a)
Definition: BFloat16.h:618
const Mdouble pi
Definition: ExtendedMath.h:23