74 Mdouble indenterDiameter = 127e-6;
75 Mdouble indentationForce = 4e-3;
76 Mdouble indentationVelocity = readFromFile<Mdouble>(
"in",
"indentationVelocity",2e-6);
82 Indenter i(indenterDiameter, indentationVelocity, indentationForce);
83 if (
i.getSystemDimensions()==2) {
84 i.setIndentationForce(
i.getIndentationForce()/3.0);
86 Mdouble frictionCoefficient = readFromFile<Mdouble>(
"in",
"frictionCoefficient",10);
87 i.species->setSlidingFrictionCoefficient(frictionCoefficient);
88 i.species->setRollingFrictionCoefficient(.1*frictionCoefficient);
89 i.setTimeMax(timeMax);
92 "set xlabel 'displacement [um]'\n"
93 "set ylabel 'force [mN]'\n"
94 "p 'SinterBed2.ene' u (-$2*1e6):($3*1e3) w lp\n"
103 logger(
INFO,
"Execute 'gnuplot SinterBed2.gnu' to view output");
@ NO_FILE
file will not be created/read
@ ONE_FILE
all data will be written into/ read from a single file called name_
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
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:40
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51
bool writeToFile(std::string filename, std::string filecontent)
Writes a string to a file.
Definition: FileIOHelpers.cc:58