|
#include "DPMBase.h"
#include "Helpers/FileIOHelpers.h"
#include "Logger.h"
#include "Particles/BaseParticle.h"
#include "Species/BaseSpecies.h"
#include "Walls/InfiniteWall.h"
Go to the source code of this file.
Functions | |
void | loadingTest (const ParticleSpecies *species, Mdouble displacement, Mdouble velocity, Mdouble radius, std::string name) |
void | normalAndTangentialLoadingTest (const ParticleSpecies *species, Mdouble displacement, Mdouble tangentialDisplacement, Mdouble velocity, Mdouble radius, std::string name) |
void | objectivenessTest (const ParticleSpecies *species, Mdouble displacement, Mdouble tangentialDisplacement, Mdouble velocity, Mdouble radius, std::string name) |
void loadingTest | ( | const ParticleSpecies * | species, |
Mdouble | displacement, | ||
Mdouble | velocity, | ||
Mdouble | radius, | ||
std::string | name | ||
) |
[in] | species | particle species specifying the contact law |
[in] | displacement | peak displacement before unloading |
[in] | velocity | loading/unloading velocity |
References DPMBase::actionsBeforeTimeStep(), DPMBase::getTime(), DPMBase::getTimeMax(), INFO, logger, units::name, NO_FILE, ONE_FILE, InfiniteWall::set(), BaseInteractable::setAngularVelocity(), DPMBase::setFileType(), DPMBase::setMax(), DPMBase::setMin(), DPMBase::setParticleDimensions(), BaseInteractable::setPosition(), BaseParticle::setRadius(), DPMBase::setSaveCount(), BaseParticle::setSpecies(), BaseWall::setSpecies(), DPMBase::setSystemDimensions(), DPMBase::setTimeMax(), DPMBase::setTimeStep(), DPMBase::setupInitialConditions(), BaseInteractable::setVelocity(), and helpers::writeToFile().
Referenced by main().
void normalAndTangentialLoadingTest | ( | const ParticleSpecies * | species, |
Mdouble | displacement, | ||
Mdouble | tangentialDisplacement, | ||
Mdouble | velocity, | ||
Mdouble | radius, | ||
std::string | name | ||
) |
Creates a DPMBase with a particles of unit size and a flat wall and loads/unloads/reloads the particle-wall contact in tangential direction
[in] | species | particle species specifying the contact law |
[in] | displacement | peak displacement before unloading |
[in] | velocity | loading/unloading velocity |
References DPMBase::actionsBeforeTimeStep(), DPMBase::getTime(), DPMBase::getTimeMax(), INFO, logger, units::name, NO_FILE, ONE_FILE, InfiniteWall::set(), BaseInteractable::setAngularVelocity(), DPMBase::setFileType(), DPMBase::setMax(), DPMBase::setMin(), DPMBase::setParticleDimensions(), BaseInteractable::setPosition(), BaseParticle::setRadius(), DPMBase::setSaveCount(), BaseParticle::setSpecies(), BaseWall::setSpecies(), DPMBase::setSystemDimensions(), DPMBase::setTimeMax(), DPMBase::setTimeStep(), DPMBase::setupInitialConditions(), BaseInteractable::setVelocity(), and helpers::writeToFile().
Referenced by main().
void objectivenessTest | ( | const ParticleSpecies * | species, |
Mdouble | displacement, | ||
Mdouble | tangentialDisplacement, | ||
Mdouble | velocity, | ||
Mdouble | radius, | ||
std::string | name | ||
) |
Creates a DPMBase with a particles of unit size and a flat wall, loads the particle-wall contact in normal and tangential direction, then rotates.
[in] | species | particle species specifying the contact law |
[in] | displacement | peak displacement before unloading |
[in] | velocity | loading/unloading velocity |
References DPMBase::actionsBeforeTimeStep(), mathsFunc::cos(), BaseInteractable::getAngularVelocity(), BaseInteractable::getOrientation(), BaseInteractable::getPosition(), DPMBase::getTime(), DPMBase::getTimeMax(), BaseInteractable::getVelocity(), INFO, logger, units::name, NO_FILE, ONE_FILE, constants::pi, BaseInteractable::setAngularVelocity(), DPMBase::setFileType(), DPMBase::setMax(), DPMBase::setMin(), BaseInteractable::setOrientation(), DPMBase::setParticleDimensions(), BaseInteractable::setPosition(), BaseParticle::setRadius(), DPMBase::setSaveCount(), BaseParticle::setSpecies(), DPMBase::setSystemDimensions(), DPMBase::setTimeMax(), DPMBase::setTimeStep(), DPMBase::setupInitialConditions(), BaseInteractable::setVelocity(), mathsFunc::sin(), and helpers::writeToFile().
Referenced by main().