where a bond is formed between 2-3. In the meantime, I wish to create a new angle between 1-2-3.
I tried fix bond/create/angle, and it gives 2 angles of the same type for the above reaction (1-2-3 & 2-3-4).
Since there are multiple 1-2 side chains in the backbone, I assume it would be really complex to use fix bond/react.
Is there any simple way I can do this? Any suggestion would be appreciated!
This is the expected behavior. When you create a bond connecting a chain, there will be two angles added. This is what is consistent with all molecular force fields that I know. What you are asking for is rather unusual and inconsistent.
This is a question for @jrgissing. I don’t know the fix well enough.
I understand that 2 angles will form when 2 chains connect. I think my question can be easily solved if fix bond/create/angle can form different types of angles. However, this seems to fall to fix bond/react.
This fix was created for use with spring-bead polymers.
Creating complex bonded interactions is not a problem the fix tries to solve, and it is hellishly complicated to do so in parallel.
Yes, fix bond/react was devised to address such issues and looking at the source code for the fix confirms my assessment of the complexity of the task.
fix bond/react was designed to handle complex chemistries, including highly branched or cyclic structures, so the existence of side chains is not an issue
You can always upload files to a folder in some cloud service (Dropbox, Google Drive, MS One Drive, etc.) and provide a shareable link to that folder.
It would also be extremely helpful to create a minimum “reproducer” input that uses a very small system and has an input from which all unnecessary commands are removed. That will speed up debugging enormously. Actually, it is even a good idea for users that want to try out a new command or keyword.
The input deck you linked has multiple errors related to reading in the data file. Please correct these if you want anyone to look at your system.
But, here are a couple initial comments: 1) For systems that define an ‘angle style’ (but not a ‘dihedral style’), you need to include all atoms at least two bonds away from reacting atoms. 2) Fix bond/react is known to not be compatible with rigid bodies in many cases. Consider avoiding rigid bodies if you want to use fix bond/react.