221 const Mdouble domainRadius =
readFromFile(
"in",
"domainDiameterOverParticleDiameter",5.0) * radius;
222 const Mdouble domainHeight =
readFromFile(
"in",
"domainHeightOverParticleDiameter",5.0) * 2.0 * radius;
223 const unsigned dimensions =
static_cast<const unsigned int>(
readFromFile(
"in",
"dimensions", 2));
226 const unsigned long int random =
readFromFile(
"in",
"random",0);
227 ic.random.setRandomSeed(random);
232 ic.species->setPlasticParameters(kL, kMax, kL, 0.16);
233 const Mdouble mass = ic.species->getSmallestParticleMass();
234 ic.species->setStiffnessAndRestitutionCoefficient(ic.species->getLoadingStiffness(),0.5,mass);
236 ic.species->setSinterRate(0.0);
237 ic.species->setSinterAdhesion(1200e-9/radius);
238 ic.species->setSlidingDissipation(2./7.*ic.species->getDissipation());
239 ic.species->setSlidingStiffness(2./7.*ic.species->getLoadingStiffness());
240 ic.species->setRollingDissipation(2./7.*ic.species->getDissipation());
241 ic.species->setRollingStiffness(2./7.*ic.species->getLoadingStiffness());
242 ic.species->setTorsionDissipation(2./7.*ic.species->getDissipation());
243 ic.species->setTorsionStiffness(2./7.*ic.species->getLoadingStiffness());
One particle, sintering slowly to a wall.
Definition: SinterBed0SelfTest.cpp:37
T readFromFile(const std::string fileName, const std::string varName, const T defaultValue)
Definition: FileIOHelpers.h:121