Replies below.
From what I read from the manual, it mentions that the force is impose
during energy minimization and that its a bad idea for the indenter to
change position during a minimization.
Yes, it is not a good idea to impose external forces during
minimizations, but neither indentation example script do this.
However, if I want to set an initial velocity for the indenter and let it
move freely, can I still use the run command? If so, how would the force for
the indenter be imposed? Is it enough to just have a minimization at the end
of the run?
You can set a velocity to the indenter by defining its position as a
function of timestep using equal-style variables - like the example
in.indent does. In this case it is a fixed rate indentation, and you
have to use "run" instead of "minimize". You should not use minimize
at the end of the run for fixed rate indentation - unless you hold the
indenter fixed at its position to carry out a so-called holding stage.
On the other hand, is it possible to set an a load for the indenter without
giving it an initial velocity and lets it fall freely to measure the depth
of penetration by the indenter as well as the force (where I think the
measurement of the force on indenter can be done by fix ave/time command).
You are describing another type of indentation here - a fixed load
indentation. This type of indentation is not trivial to implement in
simulations. Because you would need the indenter to press the sample
at an undefined rate only to achieve to certain load measured at the
indenter, and it is essentially the same as a fixed rate indentation.
From the examples I have seen so far, it seems the indenter position is
changed manually with minimization in between. Is this the only way to
implement the fix indent for nanoindentation?
No, this is only one way, the way used by example in.indent.min. In
this case, the indenter is advanced one small depth in one timestep,
held fixed at its position, allow the sample to relax, and measure the
load from the indenter.
The other way is the fixed rate indentation as seen in example in.indent.
Cheers,
Ray