34 problem.
setName(
"CoupledBeamUnitTest");
37 problem.
setDomain({0,0,0},{0.16,0.04,0.01});
40 species->setDensity(1000);
41 species->setStiffness(5.2);
46 p.setVelocity({0,0,-0.05});
49 double tc = species->getCollisionTime(species->getMassFromRadius(p.getRadius()));
56 problem.
pinBoundaries({problem.Boundary::X_MIN, problem.Boundary::X_MAX});
Species< LinearViscoelasticNormalSpecies > LinearViscoelasticSpecies
Definition: LinearViscoelasticSpecies.h:33
void setName(std::string name)
Definition: BaseCoupling.h:59
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:379
SpeciesHandler speciesHandler
A handler to that stores the species type i.e. LinearViscoelasticSpecies, etc.
Definition: DPMBase.h:1427
void setDomain(const Vec3D &min, const Vec3D &max)
Sets the minimum coordinates of the problem domain.
Definition: DPMBase.cc:1098
Mdouble getTimeStep() const
Returns the simulation time step.
Definition: DPMBase.cc:1250
ParticleHandler particleHandler
An object of the class ParticleHandler, contains the pointers to all the particles created.
Definition: DPMBase.h:1437
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
Mdouble getXCenter() const
Definition: DPMBase.h:653
Mdouble getYCenter() const
Definition: DPMBase.h:656
Mdouble getZMax() const
If the length of the problem domain in z-direction is ZMax - ZMin, then getZMax() returns ZMax.
Definition: DPMBase.h:650
Definition: SCoupledSolidProblem.h:31
void solveSurfaceCoupling()
Definition: SCoupling.h:72
void coupleBoundary(unsigned b)
Definition: SCoupling.h:681
void setElasticModulus(double elasticModulus)
set function for elasticModulus_
Definition: SolidProblem.h:153
void prepareForSolve()
Definition: SolidProblem.h:322
void saveSolidMesh()
Definition: SolidProblem.h:557
void setSolidCubicMesh(const unsigned &nx, const unsigned &ny, const unsigned &nz, const double &xMin, const double &xMax, const double &yMin, const double &yMax, const double &zMin, const double &zMax)
Definition: SolidProblem.h:546
void setOomphTimeStep(double dt)
set function for time step
Definition: SolidProblem.h:269
void setDensity(double density)
set function for density_
Definition: SolidProblem.h:192
void setNewtonSolverTolerance(double Newton_solver_tolerance)
set function for Newton_solver_tolerance
Definition: SolidProblem.h:257
void pinBoundaries(std::vector< unsigned > b)
Definition: SolidProblem.h:235
A spherical particle is the most simple particle used in MercuryDPM.
Definition: SphericalParticle.h:37