55 Mdouble indentationVelocity = readFromFile<Mdouble>(
"in",
"indentationVelocity",2
e-6);
61 Indenter i(indenterDiameter, indentationVelocity, indentationForce);
62 if (
i.getSystemDimensions()==2) {
63 i.setIndentationForce(
i.getIndentationForce()/3.0);
65 Mdouble frictionCoefficient = readFromFile<Mdouble>(
"in",
"frictionCoefficient",10);
66 i.species->setSlidingFrictionCoefficient(frictionCoefficient);
67 i.species->setRollingFrictionCoefficient(.1*frictionCoefficient);
68 i.setTimeMax(timeMax);
71 "set xlabel 'displacement [um]'\n"
72 "set ylabel 'force [mN]'\n"
73 "p 'SinterBed2.ene' u (-$2*1e6):($3*1e3) w lp\n"
82 logger(
INFO,
"Execute 'gnuplot SinterBed2.gnu' to view output");
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Array< double, 1, 3 > e(1./3., 0.5, 2.)
@ NO_FILE
file will not be created/read
@ ONE_FILE
all data will be written into/ read from a single file called name_
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Single particle, indented slowly by spherical indenter.
Definition: SinterBed2SelfTest.cpp:19
#define INFO(i)
Definition: mumps_solver.h:54
bool writeToFile(const std::string &filename, const std::string &filecontent)
Writes a string to a file.
Definition: FileIOHelpers.cc:29