Replies: 2 comments 10 replies
-
What is the file format your molecule of interest is described? Because there are a couple of them, the most elementary the .xyz, where atoms' positions are described in a Cartesian coordinate system with (an implicit) scale in Angstrom. See e.g., openbabel. If "calculate for a given molecule the cartesian atomic coordinates" refers to a conversion of the underlying file format, openbabel (with its optional gui) might suffice. Examples of conversion are compiled here. If you seek a GUI to set up a subsequent computation for instance with MOPAC, avogadro and its input generators is one example of a helpful assistant: |
Beta Was this translation helpful? Give feedback.
-
This is more of a discussion than an issue, so I've moved it over accordingly. Also, I received a reply from @a-jp by email that didn't appear in the thread, so either they deleted it or replied in a way that didn't show up online for some reason. In that reply, they asked about what to do when you want to study a molecule with a tool like MOPAC but don't have it represented in any standard input file format. To be clear, while MOPAC has some flexibility in input file formats (manual entry), you still need to provide an approximate geometry of a molecule as input for MOPAC to produce any useful output. With so much chemistry information online and powerful conversion tools like OpenBabel, there are many ways to generate a useable MOPAC input file. @nbehrnd's reply describes a very popular approach to generating an approximate geometry: you use molecular drawing software like Avogadro to draw a rough 3D sketch of the molecule you are interested in and then save it in a format directly compatible with MOPAC. However, that requires you to understand a particular molecule enough to draw it and be familiar enough with a drawing program to know how to draw it, so there is a learning curve and a knowledge check. There is a simpler alternative for well understood molecules that allows you to avoid having to draw it yourself. Online sources of information about molecules like Wikipedia or PubChem usually have some downloadable descriptions of a molecule that can be readily converted to a MOPAC input. Here is a 3-step process to get you started:
I hope this helps, and feel free to ask more clarifying questions. |
Beta Was this translation helpful? Give feedback.
-
All,
I would like to calculate for a given molecule the cartesian atomic coordinates in Angstroms. Would it be possible to have a working example to do this that would allow me to vary the input molecule and get as an output, ideally in a simple text file, the above?
I would very much appreciate any help here, I am new to the code. I appreciate I will need to understand eventually aspects relating to optimisation options and the model used PM3/PM7. But a working example with trusted defaults would be most welcome.
Many thanks,
Beta Was this translation helpful? Give feedback.
All reactions