the documentation for the molecule command explains the required file
format IN DETAIL. follow it carefully.
if you get the error 'Unknown section in molecule file', then your
file does not have the correct format or syntax.
...and one more recommendation. i already mentioned that you should
not start with an empty system, but a system already containing one
molecule.
try to get that to work first (w/o gcmc and the molecule file). there
are some obvious (and thus educational) barriers to overcome there as
well.
i assume you have studied the literature on suitable potentials that
can reproduce the properties you are after with sufficient accuracy?
with a system including a molecule of N2
I obtain an error
'ERROR: Fix gcmc cannot exchange individual atoms belonging to a molecule'
and this seems a code bug reading any discussions on mailing list
first of all, you didn't follow my recommendation. i do not have time
to help people that do not care to pay attention to what i suggest.
second, if you are using the latest patch level of LAMMPS, all known
bugs/problems outside of those listed at the following URL are
addressed: Issues · lammps/lammps · GitHub
I'm sorry if I'm not so skilled, but I'm not e computational chemist.
I'm a experimental chemist.
how is that an excuse for not doing your due diligence and learning
the tools that you want to use?
what would you say, if a theoretical chemist with no wet lab training
at all came to you asking to use your equipment for an ambitious,
complex synthesis??
For these reason, I ask an input file, as example, so I can study the syntax
code.
as already mentioned, the documentation is quite detailed and there
are examples bundled with LAMMPS. however, what you are trying to do
is using a quite advanced technique and thus by no means suitable for
an unskilled, untrained beginner. MD simulations follow the GI-GO
principle (garbage in, garbage out) and nobody has yet found a way to
implement a G-t-G mode (i.e. garbage to gold).
in order to judge whether you are using suitable settings and
parameters, and are obtaining accurate results, you *will* have to
study a significant chunk of statistical thermodynamics and learn
basic and some advance MD simulation techniques. otherwise, you will
not be able to tell whether your results are garbage or gold. ... and
trust me, the chances to get things wrong are much larger than to get
it right by chance, input example or not.
my recommendation is to find a suitably trained collaborator to work
on solving your problem with you.